drm/i915: Eliminate PIPECONF RMWs from .color_commit()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Apr 2022 19:26:07 +0000 (22:26 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 27 Jun 2022 15:31:51 +0000 (18:31 +0300)
commit3cdcdc34f35eb4616f7e5954cbdcd3390da8eae4
treee15ed90c7decb958be452aad3e8a70f072d06a9f
parent138c2fca6f408f397ea8fbbbf33203f244d96e01
drm/i915: Eliminate PIPECONF RMWs from .color_commit()

Eliminate the PIPECONF RMWs from .comit_commit() so
that we can finally declare the whole vblank evade part
(and the noarm() part) of the pipe commit free of register
reads. Or at least I hope that's the last read...

Only the i9xx/ilk codepaths need this for now, but let's
add the same thing for hsw+ just in case we want to start
calling that during fastsets at some point (eg. to change
dithering settings/etc.).

Should open up the way to start experimenting with
different DSB usage approaches for pipe commits.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220413192607.27533-1-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_color.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h