aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-11-04 16:45:08 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-11-11 15:18:11 +0200
commit6874f95816da4af4eb6a395ae434b823c4d7d356 (patch)
treeed3a03bb101566ee0e0258022c672dbf1d914d01 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915/fbc: Introduce intel_fbc_is_compressing() (diff)
downloadlinux-dev-6874f95816da4af4eb6a395ae434b823c4d7d356.tar.xz
linux-dev-6874f95816da4af4eb6a395ae434b823c4d7d356.zip
drm/i915/fbc: Extract helpers to compute FBC control register values
Declutter the *_fbc_activate() functions by pulling all the control register value computations into helpers. I left the enable bit in *_fbc_activate() in the hopes of maybe using the helpers in the *_fbc_deactivate() paths as well instead of the current rmw approach. That won't be possible at least quite yet since we clobber the fbc->params before deactivating FBC so we could end up changing some of the values live, which given FBC's lack of/poor double buffering would likely not go so well. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211104144520.22605-6-ville.syrjala@linux.intel.com Acked-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions