Port modesetting fix for 1FPS when laptop lid is closed on secondary displays.
Compare changes
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
gitlab.freedesktop.org will be unavailable for up to a week starting March 16th, due to our ongoing infrastructure move. You can follow our planning tracker at https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/2076
This is fix for #37 (closed)
This MR takes modesetting implementation of function randr_crtc_covering_drawable
returning correct RRCrtcPtr covering drawable including crtc from secondary screens.
This MR includes also some code cleanup and removal of duplicated code.
V2: Fixed review comments from Alex and Shashank.
Signed-off-by: Łukasz Spintzyk lukasz.spintzyk@synaptics.com Reviewed-by: Alex Deucher alexander.deucher@amd.com