Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-12-06 15:37:57 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2019-12-06 15:46:47 +0100
commit8cd0a752a4cff1d41478d0da9a7c4ea6b5227f9f (patch)
tree066c3286129471f912bc14a64b68b1bb8b4dbe02
parentf728e9cb7d218bfe099db790f11e278333ac03b2 (diff)
drm/i915: Reacquire priolist cache after dropping the engine lock (bsc#1129770)
Fixes a const function argument in the patch. suse-commit: 4c18f2b994bace213e64a2f71a58a75322d331ce
-rw-r--r--drivers/gpu/drm/i915/intel_lrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
index 1df5ec34611e..ef0680b422d5 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -1153,7 +1153,7 @@ struct sched_cache {
};
static struct intel_engine_cs *
-sched_lock_engine(const struct i915_sched_node *node,
+sched_lock_engine(struct i915_sched_node *node,
struct intel_engine_cs *locked,
struct sched_cache *cache)
{