backends/drm: ensure correct format+modifiers pairs for surfaces
When the crtcs get switched around between outputs, their primary planes and thus the supported formats also get switched around. In order to make sure that doesn't cause any problems, always check whether or not the format+modifiers used are supported. (cherry picked from commit fe9a3f45)
Please register or sign in to comment