]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tilcdc: crtc: Use drm_atomic_helper_check_crtc_primary_plane()
authorMaxime Ripard <mripard@kernel.org>
Tue, 30 Sep 2025 10:59:22 +0000 (12:59 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 6 Oct 2025 11:59:07 +0000 (13:59 +0200)
commitc92e072dfaaa54116cbe1bcf1ef8c61a7e461e5a
treea4c2ae9815372525a17a6759fb21db9bf3bc2906
parent28af3ca1de3563cca54a83c25b48431fee049d2f
drm/tilcdc: crtc: Use drm_atomic_helper_check_crtc_primary_plane()

In the tilcdc_crtc_atomic_check(), the tilcdc driver hand-crafts its own
implementation of drm_atomic_helper_check_crtc_primary_plane(). And it
does so by accessing the state pointer in drm_atomic_state->planes which
is deprecated.

Let's use the right helper here.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Jyri Sarha <jyri.sarha@iki.fi>
Link: https://lore.kernel.org/r/20250930-drm-no-more-existing-state-v5-7-eeb9e1287907@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c