drm/i915: Convert RPS tracking to a intel_rps_client struct
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2015 12:41:22 +0000 (13:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 May 2015 13:11:44 +0000 (15:11 +0200)
commit2e1b873072dfe3bbcc158a9c21acde1ab0d36c55
tree543c77fb2c4f34ca5134223a00d6feccbb430770
parentbcafc4e38b6ad03f48989b7ecaff03845b5b7acf
drm/i915: Convert RPS tracking to a intel_rps_client struct

Now that we have internal clients, rather than faking a whole
drm_i915_file_private just for tracking RPS boosts, create a new struct
intel_rps_client and pass it along when waiting.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: s/rq/req/]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c