Port modesetting fix for 1FPS when laptop lid is closed on secondary displays.

Merged Shashank Sharma requested to merge push-62 into master

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

Merge request reports