Only define transform_region function for XF86_CRTC_VERSION >= 4
PATCH 1/1 Only define transform_region function for XF86_CRTC_VERSION >= 4
From: Michel Dänzer <[email protected]>
We're not using it with older xserver.
--- src/radeon_kms.c | 4 ++++ 1 file changed, 4 insertions(+)
src/radeon_kms.c +4 -0
@@ -402,6 +402,8 @@ radeon_scanout_extents_intersect(xf86CrtcPtr xf86_crtc, BoxPtr extents, int w,return (extents->x1 < extents->x2 && extents->y1 < extents->y2); } +#if XF86_CRTC_VERSION >=4 +static RegionPtr transform_region (RegionPtr region,struct pict_f_transform *transform,int w,int h)
@@ -440,6 +442,8 @@ transform_region(RegionPtr region, struct pict_f_transform *transform, return transformed; } +#endif +static void radeon_sync_scanout_pixmaps (xf86CrtcPtr xf86_crtc,RegionPtr new_region,int scanout_id)
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): 20160920090248.11533-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: Tuesday, September 20, 2016 5:03 AM
To: [email protected]
Subject: [PATCH xf86-video-ati] Only definetransform_regionfunction forXF86_CRTC_VERSION>= 4
Quoted 5 lines
From: Michel Dänzer <[email protected]>
We're not using it with older xserver.
Signed-off-by Michel Dänzer <[email protected]>
Quoted 32 lines
--- src/radeon_kms.c | 4 ++++ 1 file changed, 4 insertions(+)src/radeon_kms.c +2
-0@@ -402,6 +402,8 @@ radeon_scanout_extents_intersect(xf86CrtcPtr xf86_crtc, BoxPtr extents, int w, return (extents->x1 < extents->x2 && extents->y1 < extents->y2); } +#if XF86_CRTC_VERSION >=4 + static RegionPtr transform_region(RegionPtr region, struct pict_f_transform *transform,src/radeon_kms.c +2
-0int w, int h)@@ -440,6 +442,8 @@ transform_region(RegionPtr region, structpict_f_transform *transform, return transformed; } +#endif +static void radeon_sync_scanout_pixmaps(xf86CrtcPtr xf86_crtc, RegionPtr
new_region,
intscanout_id)
--
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