summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gem/i915_gem_context.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-10-04 15:40:07 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2019-10-04 16:39:30 +0200
commita2b4dead98ef1241498ff8769c85154995938087 (patch)
treeca7ffdfb8f2b0d7e27e3c41729b8f8ec041009cc /drivers/gpu/drm/i915/gem/i915_gem_context.c
parentdrm/i915: Move request runtime management onto gt (diff)
downloadlinux-a2b4dead98ef1241498ff8769c85154995938087.tar.xz
linux-a2b4dead98ef1241498ff8769c85154995938087.zip
drm/i915: Move global activity tracking from GEM to GT
As our global unpark/park keep track of the number of active users, we can simply move the accounting from the GEM layer to the base GT layer. It was placed originally inside GEM to benefit from the 100ms extra delay on idleness, but that has been eliminated and now there is no substantive difference between the layers. In moving it, we move another piece of the puzzle out from underneath struct_mutex. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191004134015.13204-13-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_context.c')
0 files changed, 0 insertions, 0 deletions