modesetting: remove fallback DRM_CAP_* defines
All the macros are available in the libdrm that we depend on. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
d2568c0587
commit
21e8a4a1b9
|
@ -798,14 +798,6 @@ msShouldDoubleShadow(ScrnInfoPtr pScrn, modesettingPtr ms)
|
|||
return ret;
|
||||
}
|
||||
|
||||
#ifndef DRM_CAP_CURSOR_WIDTH
|
||||
#define DRM_CAP_CURSOR_WIDTH 0x8
|
||||
#endif
|
||||
|
||||
#ifndef DRM_CAP_CURSOR_HEIGHT
|
||||
#define DRM_CAP_CURSOR_HEIGHT 0x9
|
||||
#endif
|
||||
|
||||
static Bool
|
||||
ms_get_drm_master_fd(ScrnInfoPtr pScrn)
|
||||
{
|
||||
|
|
|
@ -285,11 +285,4 @@ void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
|
|||
int drmmode_crtc_set_fb(xf86CrtcPtr crtc, DisplayModePtr mode, uint32_t fb_id,
|
||||
int x, int y, uint32_t flags, void *data);
|
||||
|
||||
#ifndef DRM_CAP_DUMB_PREFERRED_DEPTH
|
||||
#define DRM_CAP_DUMB_PREFERRED_DEPTH 3
|
||||
#endif
|
||||
#ifndef DRM_CAP_DUMB_PREFER_SHADOW
|
||||
#define DRM_CAP_DUMB_PREFER_SHADOW 4
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user