drop disabled ENABLE_YPBPR code path

It seems to be disabled for very long time, so probably no need for it anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-xgi/-/merge_requests/6>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-05-24 17:16:45 +02:00
parent 2628472522
commit 58bd89aebd
2 changed files with 0 additions and 10 deletions

View File

@@ -189,10 +189,6 @@ extern Bool g_bRunTimeDebug;
#define XGI_XINERAMA_MAJOR_VERSION 1
#define XGI_XINERAMA_MINOR_VERSION 1
#if 0 /* Include YPbPr support on VB */
#define ENABLE_YPBPR
#endif
#define EXTENSION_PROC_ARGS void *
#include "extnsionst.h" /* required */
#include <X11/extensions/panoramiXproto.h> /* required */

View File

@@ -3206,12 +3206,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags)
pXGI->XGI_SD_Flags |= XGI_SD_SUPPORTTV;
}
#ifdef ENABLE_YPBPR
if (pXGI->XGI_Pr->VBType & (VB_XGI301 | VB_XGI301B | VB_XGI302B)) {
pXGI->XGI_SD_Flags |= XGI_SD_SUPPORTHIVISION;
}
#endif
#ifdef TWDEBUG /* @@@ TEST @@@ */
pXGI->XGI_SD_Flags |= XGI_SD_SUPPORTYPBPRAR;
xf86DrvMsg(0, X_INFO, "TEST: Support Aspect Ratio\n");