OSDN Git Service

drm/i915: Lift sideband locking for vlv_punit_(read|write)
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Apr 2019 08:17:20 +0000 (09:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Apr 2019 09:20:32 +0000 (10:20 +0100)
commit337fa6e04d40216e9f462b23b86d9e62f93c3d48
treec4533f9a4e2ce12b452635ee9f3b4d4fe9f749fb
parent221c78623ea5a1b94e1d53443ccf78fae0bc5982
drm/i915: Lift sideband locking for vlv_punit_(read|write)

Lift the sideband acquisition for vlv_punit_read and vlv_punit_write
into their callers, so that we can lock the sideband once for a sequence
of operations, rather than perform the heavyweight acquisition on each
request.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190426081725.31217-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_sysfs.c
drivers/gpu/drm/i915/intel_cdclk.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_runtime_pm.c
drivers/gpu/drm/i915/intel_sideband.c