projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b11b28e
)
drm/i915/gt: runtime-pm is no longer required for ce->ops->pin()
author
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 9 Jan 2020 08:57:17 +0000
(08:57 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 9 Jan 2020 13:48:13 +0000
(13:48 +0000)
Now that we have moved the runtime-pm management out of
intel_context_acctive_acquire, and that itself out of ce->ops->pin(), no
explicit runtime pm wakeref is required in intel_context_pin().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200109085717.873326-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_context.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gt/intel_context.c
b/drivers/gpu/drm/i915/gt/intel_context.c
index cac80d87b2bb470970b07a19de3b04a4daca3d84..9796a54b4f476a12f9cd92b27ad046e36ac5f5da 100644
(file)
--- a/
drivers/gpu/drm/i915/gt/intel_context.c
+++ b/
drivers/gpu/drm/i915/gt/intel_context.c
@@
-105,14
+105,11
@@
int __intel_context_do_pin(struct intel_context *ce)
return -EINTR;
if (likely(!atomic_read(&ce->pin_count))) {
- intel_wakeref_t wakeref;
-
err = intel_context_active_acquire(ce);
if (unlikely(err))
goto err;
- with_intel_runtime_pm(ce->engine->uncore->rpm, wakeref)
- err = ce->ops->pin(ce);
+ err = ce->ops->pin(ce);
if (unlikely(err))
goto err_active;