]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Split color_commit() into noarm+arm pair
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Feb 2022 16:51:02 +0000 (18:51 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 29 Mar 2022 13:35:33 +0000 (16:35 +0300)
commit562b4af2b0523182929b02bd8f826ba5a630e1c1
treea29f03adb407495fd3e753908830e738ba957c8c
parentba68625581b8f08354a4428b7b1287a1acfed2cb
drm/i915: Split color_commit() into noarm+arm pair

To reduce the amount of registers written during the vblank evade
critical section let's also split the .color_commit() hook to
noarm+arm pair. The noarm hook runs before the vblank evasion
with the arm hook staying inside the critical section.

Just the framework here, actually moving stuff out into the noarm
hook will follow.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220224165103.15682-4-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/display/intel_color.c
drivers/gpu/drm/i915/display/intel_color.h
drivers/gpu/drm/i915/display/intel_display.c