From 1649eb38d55cf3cd9deab8d117fc10688c194beb Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 27 Jan 2026 17:48:57 +0100 Subject: [PATCH] xfree86: ddc: move STD_COLOR_SPACE() and GFT_SUPPORTED() macros These are only used in print_edid.c, so no need to keep them in a global header. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/ddc/edid.h | 2 -- hw/xfree86/ddc/print_edid.c | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h index 1e53b56a5a..48edd6ac3f 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -314,9 +314,7 @@ #define DPMS_OFF(x) (x & 0x01) /* Msc stuff EDID Ver > 1.1 */ -#define STD_COLOR_SPACE(x) (x & 0x4) #define PREFERRED_TIMING_MODE(x) (x & 0x2) -#define GFT_SUPPORTED(x) (x & 0x1) #define GTF_SUPPORTED(x) (x & 0x1) #define CVT_SUPPORTED(x) (x & 0x1) diff --git a/hw/xfree86/ddc/print_edid.c b/hw/xfree86/ddc/print_edid.c index 20806558b9..ffaf3af9f6 100644 --- a/hw/xfree86/ddc/print_edid.c +++ b/hw/xfree86/ddc/print_edid.c @@ -46,6 +46,9 @@ #define DISP_YCRCB444 0x01 #define DISP_YCRCB422 0x02 +#define STD_COLOR_SPACE(x) (x & 0x4) +#define GFT_SUPPORTED(x) (x & 0x1) + #define EDID_WIDTH 16 static void