mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 08:01:23 +00:00
modesetting/dri2: Remove always true ifdef
GLAMOR_HAS_GBM is ifdefed through the whole file, so checking for it
again is redundant.
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1554>
(cherry picked from commit c5d152c176)
This commit is contained in:
committed by
Alan Coopersmith
parent
1365d82f13
commit
cd9b6fb053
@@ -548,10 +548,8 @@ can_exchange(ScrnInfoPtr scrn, DrawablePtr draw,
|
||||
drmmode_crtc_private_ptr drmmode_crtc = config->crtc[i]->driver_private;
|
||||
|
||||
/* Don't do pageflipping if CRTCs are rotated. */
|
||||
#ifdef GLAMOR_HAS_GBM
|
||||
if (drmmode_crtc->rotate_bo.gbm)
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
if (xf86_crtc_on(config->crtc[i]))
|
||||
num_crtcs_on++;
|
||||
|
||||
Reference in New Issue
Block a user