donotturnoff / display

0 stars 0 forks source link

Use DRM_MODE_ATOMIC_TEST_ONLY to check configurations #16

Open donotturnoff opened 6 months ago

donotturnoff commented 6 months ago

We currently test configurations by testing compatibility between planes and CRTCs, and encoders and CRTCs. However, encoder-CRTC restrictions are deprecated, and the recommended way to test a configuration now is to use DRM_MODE_ATOMIC_TEST_ONLY (also here, atomic_check here, here).

We could rewrite the whole configuration system to use DRM_MODE_ATOMIC_TEST_ONLY, including for DRMPlanes. Do we want to use the current compatibility tests as well? Or only for planes?