drm/i915: Drop i915_request.lock requirement for intel_rps_boost()
Since we use a flag within i915_request.flags to indicate when we have boosted the request (so that we only apply the boost) once, this can be used as the serialisation with i915_request_retire() to avoid having to explicitly take the i915_request.lock which is more heavily contended. Signed-off-by:Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by:
Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201231093149.19086-1-chris@chris-wilson.co.uk
Showing
- drivers/gpu/drm/i915/gt/debugfs_gt_pm.c 1 addition, 1 deletiondrivers/gpu/drm/i915/gt/debugfs_gt_pm.c
- drivers/gpu/drm/i915/gt/intel_rps.c 13 additions, 12 deletionsdrivers/gpu/drm/i915/gt/intel_rps.c
- drivers/gpu/drm/i915/gt/intel_rps_types.h 1 addition, 1 deletiondrivers/gpu/drm/i915/gt/intel_rps_types.h
- drivers/gpu/drm/i915/i915_debugfs.c 1 addition, 1 deletiondrivers/gpu/drm/i915/i915_debugfs.c
- drivers/gpu/drm/i915/i915_request.c 1 addition, 3 deletionsdrivers/gpu/drm/i915/i915_request.c
Please register or sign in to comment