Commit e667a9a2 authored by Adam Jackson's avatar Adam Jackson 🥃

configure: Drop PanelID test

vbe grew PanelID support in xserver 1.4; since we now require 1.6 we can
remove the test.  Which is good, because it appears to have been broken
by the scrnIndex->pScrn conversion, as vbe.h doesn't include xf86str.h
so ScrnInfoPtr was never defined and the test failed.
Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent e36a0a8b
......@@ -73,14 +73,6 @@ AC_CHECK_DECL(xf86ConfigIsaEntity,
[#include "xf86.h"])
CFLAGS="$save_CFLAGS"
save_CFLAGS="$CFLAGS"
CFLAGS="$XORG_CFLAGS"
AC_CHECK_DECL(VBEReadPanelID,
[AC_DEFINE(HAVE_PANELID, 1, [Have VBE PanelID call])],
[],
[#include "vbe.h"])
CFLAGS="$save_CFLAGS"
save_CFLAGS="$CFLAGS"
CFLAGS="$XORG_CFLAGS"
AC_CHECK_DECL(XSERVER_LIBPCIACCESS,
......
......@@ -733,13 +733,11 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags)
if ((pScrn->monitor->DDC = pVesa->monitor) != NULL)
xf86SetDDCproperties(pScrn, pVesa->monitor);
#ifdef HAVE_PANELID
else {
void *panelid = VBEReadPanelID(pVesa->pVbe);
VBEInterpretPanelID(SCRN_OR_INDEX_ARG(pScrn), panelid);
free(panelid);
}
#endif
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, DEBUG_VERB,
"Searching for matching VESA mode(s):\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment