[PATCH xf86-video-amdgpu 2/3] Remove w/h parameters from amdgpu_scanout_extents_intersect
Michel Dänzer
michel at daenzer.net
Mon Jun 27 03:53:58 UTC 2016
On 24.06.2016 23:13, Deucher, Alexander wrote:
>> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
>> Of Michel Dänzer
>> [...]
>> We can use the dimensions of the CRTC's mode instead.
>
> Will this break panning mode?
No, panning still works fine with this change. These dimensions are just
used for clamping the extents of damage after it was transformed into
the CRTC coordinate space. When panning, drmmode_set_mode_major damages
the whole virtual screen, which in this code results in the transformed
and clamped extents still covering the whole CRTC, so the scanout pixmap
gets updated with the contents of the CRTC viewport at the new position.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the amd-gfx
mailing list