diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-21 20:32:35 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-21 22:07:56 +0200 |
commit | 71e51ca8dcc1155c914f285e4a71a5586f31a597 (patch) | |
tree | 0c266002a59f97d78318ce9d341f47a13e8793b9 /drivers/gpu/drm/i915/gem | |
parent | drm/i915/gt: Introduce barrier pulses along engines (diff) | |
download | linux-71e51ca8dcc1155c914f285e4a71a5586f31a597.tar.xz linux-71e51ca8dcc1155c914f285e4a71a5586f31a597.zip |
drm/i915: Lift i915_vma_parked() onto the gt
Currently even though i915_vma_parked() operates on a per-gt struct, it
is called from a global pm notify. This oddity was only because the long
term plan is to decouple the vma cache from the pm notification, but
right now the oddity stands out like a sore thumb!
Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
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/20191021183236.21790-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gem')
-rw-r--r-- | drivers/gpu/drm/i915/gem/i915_gem_pm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_pm.c b/drivers/gpu/drm/i915/gem/i915_gem_pm.c index 7987b54fb1f5..2aa7e9be088f 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_pm.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_pm.c @@ -23,7 +23,6 @@ static int pm_notifier(struct notifier_block *nb, break; case INTEL_GT_PARK: - i915_vma_parked(i915); break; } |