]> 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)
commit650fe5ef50a6ad2b78882b1a2dd7c3f4d98b4495
treea6bb4cf9e5f3cc8004bc4bba817094960d6769c6
parented1ee3c81ab6711006919b829390e8474064545b
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