From 9ce67b04186e06c8716dac347b6c70c42428af20 Mon Sep 17 00:00:00 2001 From: IanSB Date: Sun, 28 Apr 2019 17:56:51 +0100 Subject: [PATCH] Only use USE_PROPERTY_INTERFACE_FOR_FB on Pi3 --- src/defs.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/defs.h b/src/defs.h index 4979bae0..5c2694d7 100644 --- a/src/defs.h +++ b/src/defs.h @@ -8,15 +8,6 @@ #define MAX_PIXEL_CLOCK 165.0 // 165MHz #define MAX_PIXEL_CLOCK_260 260.0 // 260MHz -// Define how the Pi Framebuffer is initialized -// - if defined, use the property interface (Channel 8) -// - if not defined, use to the the framebuffer interface (Channel 1) -// -// Note: there seem to be some weird caching issues with the property interface -// so using the dedicated framebuffer interface is preferred. - -#define USE_PROPERTY_INTERFACE_FOR_FB - // Enable multiple buffering and vsync based page flipping #define MULTI_BUFFER @@ -107,6 +98,15 @@ // Indicate the platform has multiple cores #define HAS_MULTICORE +// Define how the Pi Framebuffer is initialized +// - if defined, use the property interface (Channel 8) +// - if not defined, use to the the framebuffer interface (Channel 1) +// +// Note: there seem to be some weird caching issues with the property interface +// so using the dedicated framebuffer interface is preferred. +// but that doesn't work on the Pi3 +#define USE_PROPERTY_INTERFACE_FOR_FB + #endif #ifdef __ASSEMBLER__