mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
drop obsolete checks for dri3.h
It's always present, no matter whether DRI3 is actually enabled. No need to care about ancient - pre-DRI3 - Xserver versions. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Joseph Crowell
parent
52a0b9c04e
commit
7a4c54cd99
@@ -147,10 +147,6 @@ AC_CHECK_DECL(GBM_BO_USE_FRONT_RENDERING,
|
||||
[#include <stdlib.h>
|
||||
#include <gbm.h>])
|
||||
|
||||
AC_CHECK_HEADERS([dri3.h], [], [],
|
||||
[#include <X11/Xmd.h>
|
||||
#include <xorg-server.h>])
|
||||
|
||||
CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
|
||||
# Checks for headers/macros for byte swapping
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
|
||||
#include "amdgpu_drv.h"
|
||||
|
||||
#ifdef HAVE_DRI3_H
|
||||
|
||||
#include "amdgpu_glamor.h"
|
||||
#include "amdgpu_pixmap.h"
|
||||
#include "dri3.h"
|
||||
@@ -241,17 +239,3 @@ amdgpu_dri3_screen_init(ScreenPtr screen)
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#else /* !HAVE_DRI3_H */
|
||||
|
||||
Bool
|
||||
amdgpu_dri3_screen_init(ScreenPtr screen)
|
||||
{
|
||||
xf86DrvMsg(xf86ScreenToScrn(screen)->scrnIndex, X_INFO,
|
||||
"Can't initialize DRI3 because dri3.h not available at "
|
||||
"build time\n");
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user