xfree86: ddc: move DISP_* defines into print_edid.c

Only used in one source file, so no need to keep them in global header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-27 17:35:39 +01:00
committed by Enrico Weigelt
parent 769616256f
commit 7c59856e8b
2 changed files with 9 additions and 9 deletions

View File

@@ -313,15 +313,6 @@
#define DPMS_SUSPEND(x) (x & 0x02) #define DPMS_SUSPEND(x) (x & 0x02)
#define DPMS_OFF(x) (x & 0x01) #define DPMS_OFF(x) (x & 0x01)
/* display type, analog */
#define DISP_MONO 0
#define DISP_RGB 1
#define DISP_MULTCOLOR 2
/* display color encodings, digital */
#define DISP_YCRCB444 0x01
#define DISP_YCRCB422 0x02
/* Msc stuff EDID Ver > 1.1 */ /* Msc stuff EDID Ver > 1.1 */
#define STD_COLOR_SPACE(x) (x & 0x4) #define STD_COLOR_SPACE(x) (x & 0x4)
#define PREFERRED_TIMING_MODE(x) (x & 0x2) #define PREFERRED_TIMING_MODE(x) (x & 0x2)

View File

@@ -37,6 +37,15 @@
#include "xf86DDC_priv.h" #include "xf86DDC_priv.h"
#include "edid.h" #include "edid.h"
/* display type, analog */
#define DISP_MONO 0
#define DISP_RGB 1
#define DISP_MULTCOLOR 2
/* display color encodings, digital */
#define DISP_YCRCB444 0x01
#define DISP_YCRCB422 0x02
#define EDID_WIDTH 16 #define EDID_WIDTH 16
static void static void