diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-04-24 21:07:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-04-24 22:25:28 +0100 |
commit | 23c3c3d04fa7fcc60c91f1368cc5652a6774626b (patch) | |
tree | ca635b7ded7f79a7dd40460c6b4505dc4610445f /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | d91e657876a96af4f00cc374e26a7a9e8c40d6de (diff) | |
download | linux-stable-23c3c3d04fa7fcc60c91f1368cc5652a6774626b.tar.gz linux-stable-23c3c3d04fa7fcc60c91f1368cc5652a6774626b.tar.bz2 linux-stable-23c3c3d04fa7fcc60c91f1368cc5652a6774626b.zip |
drm/i915: Pull the GEM powermangement coupling into its own file
Split out the powermanagement portion (GT wakeref, suspend/resume) of
GEM from i915_gem.c into its own file.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190424200717.1686-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index b3fbd9e361ae..f77263d42253 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -3942,8 +3942,8 @@ i915_drop_caches_set(void *data, u64 val) if (val & DROP_IDLE) { do { if (READ_ONCE(i915->gt.active_requests)) - flush_delayed_work(&i915->gt.retire_work); - drain_delayed_work(&i915->gt.idle_work); + flush_delayed_work(&i915->gem.retire_work); + drain_delayed_work(&i915->gem.idle_work); } while (READ_ONCE(i915->gt.awake)); } |