summaryrefslogtreecommitdiff
path: root/src/amdgpu_present.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-05-29 18:53:32 +0900
committerMichel Dänzer <michel@daenzer.net>2015-06-15 17:18:43 +0900
commit21834953ee64920438dee1c94f3a1e53dc58b82d (patch)
tree0478f5ab14eeff2ac5c3f13def2e781e9137160d /src/amdgpu_present.c
parente4e4f7b83e7d7e43993fa0793d666d6dec2980f8 (diff)
Split out struct drmmode_scanout for rotation shadow buffer information
Will be used for other kinds of dedicated scanout buffers as well. (cherry picked from radeon commit 9be7dd382e86d2b804de81d4e2af7431b2e16843) Signed-off-by: Darren Powell <darren.powell@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_present.c')
-rw-r--r--src/amdgpu_present.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amdgpu_present.c b/src/amdgpu_present.c
index c0a5a32..75a4ba3 100644
--- a/src/amdgpu_present.c
+++ b/src/amdgpu_present.c
@@ -227,7 +227,7 @@ amdgpu_present_check_flip(RRCrtcPtr crtc, WindowPtr window, PixmapPtr pixmap,
drmmode_crtc_private_ptr drmmode_crtc = xf86_crtc->driver_private;
if (!drmmode_crtc ||
- drmmode_crtc->rotate_buffer != NULL ||
+ drmmode_crtc->rotate.bo != NULL ||
drmmode_crtc->dpms_mode != DPMSModeOn)
return FALSE;
}