]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: Don't pass crtc_state to foo_plane_ctl() & co.
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 Jul 2025 17:13:52 +0000 (20:13 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Sat, 19 Jul 2025 17:55:38 +0000 (20:55 +0300)
commit01e1575609f100e5a47640491591108e0198e273
tree78754d5f9bc8b97b9198fdc4b9e5abd85e597211
parenta9298b3bfebc6cacca3363a884dde14bf05f14d2
drm/i915: Don't pass crtc_state to foo_plane_ctl() & co.

The *_plane_ctl() functions only consider the state of the
plane (the state of the crtc is handled by the corresponding
*_plane_ctl_crtc()), and thus they don't need the crtc_state
at all. Don't pass it in.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250717171353.23090-7-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/i9xx_plane.c
drivers/gpu/drm/i915/display/intel_cursor.c
drivers/gpu/drm/i915/display/intel_sprite.c
drivers/gpu/drm/i915/display/skl_universal_plane.c