]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce intel_crtc_planes_update_arm()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 16 Feb 2022 23:28:04 +0000 (01:28 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 Feb 2022 06:42:28 +0000 (08:42 +0200)
commitdb0744cbf1ee740759ddea85e6bde138c9bfd980
treea6bb4cf9e5f3cc8004bc4bba817094960d6769c6
parentf77c6611eb95bacda5b1f524f32b4b036d7cfa28
drm/i915: Introduce intel_crtc_planes_update_arm()

No reason the high level intel_update_crtc() needs to know
that there is something magical about the commit order of
planes between different platforms. So let's hide that
detail even better.

In order to keep to somewhat consistent naming between
things we shall call this intel_crtc_planes_update_arm()
to match the plane->update_arm() vfunc naming convention.
And let's rename the noarm counterpart to
intel_crtc_planes_update_noarm() to more clearly associate
it with the plane->update_noarm() vfunc.

v2: Change the naming convention a bit

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/20220216232806.6194-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_atomic_plane.c
drivers/gpu/drm/i915/display/intel_atomic_plane.h
drivers/gpu/drm/i915/display/intel_display.c