]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915/dsb: Use non-locked register access
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 6 Jun 2023 19:14:47 +0000 (22:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Sep 2023 15:35:29 +0000 (18:35 +0300)
commitfa1b97f85d3bee4e9a6d6626817ab5f83a7b1b85
treecbd6c6d33dabbd929e7d0c19f46d5b33f59a8bc0
parentf067976e4939133e656ce4532995ba96bfe68366
drm/i915/dsb: Use non-locked register access

Avoid the locking overhead for DSB registers. We don't need the locks
and intel_dsb_commit() in particular needs to be called from the
vblank evade critical section and thus needs to be fast.

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