From 55d317dd50b52112815d3f53e24bf360f35fc5eb Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 29 Jan 2026 16:25:36 +0100 Subject: [PATCH] xfree86: ddc: move some defines into private header Those aren't used by any external driver, so no need to keep them public. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/ddc/edid.h | 10 ---------- hw/xfree86/ddc/interpret_edid.c | 4 ++++ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h index b417b43fb7..e0d1539e2e 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -204,14 +204,4 @@ typedef struct { extern _X_EXPORT xf86MonPtr ConfiguredMonitor; -#define IEEE_ID_HDMI 0x000C03 -#define CEA_AUDIO_BLK 1 -#define CEA_VIDEO_BLK 2 -#define CEA_VENDOR_BLK 3 -#define CEA_SPEAKER_ALLOC_BLK 4 -#define CEA_VESA_DTC_BLK 5 -#define VENDOR_LATENCY_PRESENT(x) ( (x) >> 7) -#define VENDOR_LATENCY_PRESENT_I(x) ( ( (x) >> 6) & 0x01) -#define HDMI_MAX_TMDS_UNIT (5000) - #endif /* _EDID_H_ */ diff --git a/hw/xfree86/ddc/interpret_edid.c b/hw/xfree86/ddc/interpret_edid.c index a07a37f121..d5c4eac0ea 100644 --- a/hw/xfree86/ddc/interpret_edid.c +++ b/hw/xfree86/ddc/interpret_edid.c @@ -50,6 +50,10 @@ #define CEA_EXT_MAX_DATA_OFFSET 127 #define CEA_EXT_DET_TIMING_NUM 6 +#define IEEE_ID_HDMI 0x000C03 +#define CEA_VIDEO_BLK 2 +#define CEA_VENDOR_BLK 3 + struct cea_ext_body { uint8_t tag; uint8_t rev;