Check compatible CRTCs before disabling planes

Simon Ser requested to merge candidates-crtc-mask into master

Only disable planes we can make use of.

Disabling other planes causes same noise and failures if the plane is still being used on another CRTC.

One motivation for disabling all planes may be to potentially get more bandwidth to work with. However, we can only increase the avilable bandwidth by disabling previously enabled planes. KMS will refuse to switch a plane's CRTC without completely disabling it first.

Merge request reports