Fix the test for the CRTC's primary plane and clean up the test function to only do the test. v5: * fix commit message of patch 1 (Javier) * rebase onto latest drm-tip v4: * clean up the helper function (Ville) Thomas Zimmermann (2): drm/atomic-helper: Don't allocate new 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 ++- drivers/gpu/drm/udl/udl_modeset.c | 5 ++- include/drm/drm_atomic_helper.h | 3 +- 8 files changed, 46 insertions(+), 56 deletions(-) -- 2.37.3