xf86: Disable unused crtc functions when a lease is revoked

Merged Andres Rodriguez requested to merge lostgoat/xserver:fix-hmd-power into master

This fixes 'non-desktop' displays staying powered on after their lease has been revoked.

Cc: Keith Packard keithp@keithp.com Signed-off-by: Andres Rodriguez andresx7@gmail.com

This is my first X change, so let me know if I did anything silly.

I'm also no expert on the lease/modeset architecture, so this might not be the right approach. But it seems to me like X is the one responsible for fixing the modes/powering down the displays at lease revokation time.

Merge request reports