projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20af04f
)
drm/i915/selftests: Assign the mock_engine->uncore shortcut
author
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 8 Oct 2019 07:11:21 +0000
(08:11 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 8 Oct 2019 09:14:46 +0000
(10:14 +0100)
Set up the engine->uncore shortcut on mock_engine creation.
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/20191008071121.25088-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/mock_engine.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gt/mock_engine.c
b/drivers/gpu/drm/i915/gt/mock_engine.c
index 5d43cbc3f345fb345e0c9c983ddef0c2b553786c..3d88397c0dbbccf70b8851b1e0b3dd0408dcf174 100644
(file)
--- a/
drivers/gpu/drm/i915/gt/mock_engine.c
+++ b/
drivers/gpu/drm/i915/gt/mock_engine.c
@@
-248,6
+248,7
@@
struct intel_engine_cs *mock_engine(struct drm_i915_private *i915,
/* minimal engine setup for requests */
engine->base.i915 = i915;
engine->base.gt = &i915->gt;
+ engine->base.uncore = i915->gt.uncore;
snprintf(engine->base.name, sizeof(engine->base.name), "%s", name);
engine->base.id = id;
engine->base.mask = BIT(id);