[PATCH xf86-video-amdgpu 2/3] Remove w/h parameters from amdgpu_scanout_extents_intersect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux