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:
5f52172
)
drm/i915/guc: Update GuC power domain states
author
Michal Wajdeczko
<
[email protected]
>
Mon, 10 Sep 2018 10:41:49 +0000
(10:41 +0000)
committer
Chris Wilson
<
[email protected]
>
Mon, 10 Sep 2018 19:31:55 +0000
(20:31 +0100)
We should update GuC power domain states also when GuC submission
is disabled, otherwise GuC might complain or ignore our requests.
This seems to be required for all currently released GuC firmwares.
v2: it is only needed by pre-Gen11 firmwares
Signed-off-by: Michal Wajdeczko <
[email protected]
>
Cc: John Spotswood <
[email protected]
>
Cc: Anusha Srivatsa <
[email protected]
>
Cc: Tomasz Lis <
[email protected]
>
Cc: Daniele Ceraolo Spurio <
[email protected]
>
Reviewed-by: Anusha Srivatsa <
[email protected]
>
Signed-off-by: Chris Wilson <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_uc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_uc.c
b/drivers/gpu/drm/i915/intel_uc.c
index 7c95697e1a358d90a56509fa7d5e66ca2e6cb747..b1b3e81b6e241568e4d54986062fb8a2ea7a5b7d 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_uc.c
+++ b/
drivers/gpu/drm/i915/intel_uc.c
@@
-401,6
+401,10
@@
int intel_uc_init_hw(struct drm_i915_private *i915)
ret = intel_guc_submission_enable(guc);
if (ret)
goto err_communication;
+ } else if (INTEL_GEN(i915) < 11) {
+ ret = intel_guc_sample_forcewake(guc);
+ if (ret)
+ goto err_communication;
}
dev_info(i915->drm.dev, "GuC firmware version %u.%u\n",