(was: drm/atomic-helper: Don't allocated plane state in CRTC check) Fix the test for a CRTC's primary plane and clean up the test function to only do the test. Up to v3, this patchset was a single patch, but the cleanup turns it into a series. v4: * clean up the helper function (Ville) Thomas Zimmermann (2): drm/atomic-helper: Don't allocated plane state in CRTC check drm/atomic-helper: Replace drm_atomic_helper_check_crtc_state() drivers/gpu/drm/ast/ast_mode.c | 8 ++-- drivers/gpu/drm/drm_atomic_helper.c | 60 ++++++++----------------- drivers/gpu/drm/drm_simple_kms_helper.c | 6 ++- drivers/gpu/drm/mgag200/mgag200_mode.c | 8 ++-- drivers/gpu/drm/solomon/ssd130x.c | 6 ++- drivers/gpu/drm/tiny/simpledrm.c | 6 ++- include/drm/drm_atomic_helper.h | 3 +- 7 files changed, 42 insertions(+), 55 deletions(-) -- 2.37.3