Enable HW cursor support with PRIME slave output & Xorg > 1.18.99.901
PATCH 1/1 Enable HW cursor support with PRIME slave output & Xorg > 1.18.99.901
From: Michel Dänzer <[email protected]>
Supported since Xorg 1.18.99.2, but buggy until 1.18.99.901.
(Ported from amdgpu commit 7cc04035c55788261cda89a915c433c2add6cad9)
--- src/drmmode_display.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
src/drmmode_display.c +3 -2
@@ -671,8 +671,9 @@ drmmode_can_use_hw_cursor(xf86CrtcPtr crtc)return FALSE;#endif -#ifdef RADEON_PIXMAP_SHARING -/* HW cursor not supported yet with RandR 1.4 multihead */ +#if defined(RADEON_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
Signature · 6 lines
2.9.3 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20161017094028.18488-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 8 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Michel Dänzer
Sent: Monday, October 17, 2016 5:40 AM
To: [email protected]
Subject: [PATCH xf86-video-ati] Enable HW cursor support with PRIME slave output & Xorg > 1.18.99.901
Quoted 7 lines
From: Michel Dänzer <[email protected]>
Supported since Xorg 1.18.99.2, but buggy until 1.18.99.901.
(Ported from amdgpu commit
7cc04035c55788261cda89a915c433c2add6cad9)Signed-off-by Michel Dänzer <[email protected]>
Quoted 24 lines
--- src/drmmode_display.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)src/drmmode_display.c +3
-2@@ -671,8 +671,9 @@ drmmode_can_use_hw_cursor(xf86CrtcPtr crtc)return FALSE;#endif -#ifdef RADEON_PIXMAP_SHARING -/* HW cursor not supported yet with RandR 1.4 multihead */ +#if defined(RADEON_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
--
2.9.3
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx