mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
Enable HW cursor support with PRIME slave output & Xorg > 1.18.99.901
Supported since Xorg 1.18.99.2, but buggy until 1.18.99.901. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
d42773eb45
commit
7cc04035c5
@@ -611,8 +611,9 @@ drmmode_can_use_hw_cursor(xf86CrtcPtr crtc)
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
#ifdef AMDGPU_PIXMAP_SHARING
|
||||
/* HW cursor not supported yet with RandR 1.4 multihead */
|
||||
#if defined(AMDGPU_PIXMAP_SHARING) && \
|
||||
XORG_VERSION_CURRENT <= XORG_VERSION_NUMERIC(1,18,99,901,0)
|
||||
/* HW cursor not supported with RandR 1.4 multihead */
|
||||
if (!xorg_list_is_empty(&crtc->scrn->pScreen->pixmap_dirty_list))
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user