diff options
author | Don Hiatt <[email protected]> | 2019-11-15 15:15:38 -0800 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2019-11-18 16:36:44 +0200 |
commit | e367925e80b5a0a7d8db5b629c767f288f0aed4b (patch) | |
tree | ac8363a38e369a60b37bbcd5928393143118395c /fs/ubifs/commit.c | |
parent | a46bfdc83fee0a83aae54390729df12abce57f45 (diff) |
drm/i915/guc: Skip suspend/resume GuC action on platforms w/o GuC submission
On some platforms (e.g. KBL) that do not support GuC submission, but
the user enabled the GuC communication (e.g for HuC authentication)
calling the GuC EXIT_S_STATE action results in lose of ability to
enter RC6. We can remove the GuC suspend/resume entirely as we do
not need to save the GuC submission status.
Add intel_guc_submission_is_enabled() function to determine if
GuC submission is active.
v2: Do not suspend/resume the GuC on platforms that do not support
Guc Submission.
v3: Fix typo, move suspend logic to remove goto.
v4: Use intel_guc_submission_is_enabled() to check GuC submission
status.
v5: No need to look at engine to determine if submission is enabled.
Squash fix + intel_guc_submission_is_enabled() patch into one.
v6: Move resume check into intel_guc_resume() for symmetry.
Fix commit Fixes tag.
Reported-by: KiteStramuort <[email protected]>
Reported-by: S. Zharkoff <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111594
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111623
Fixes: ffd5ce22faa4 ("drm/i915/guc: Updates for GuC 32.0.3 firmware")
Cc: Michal Wajdeczko <[email protected]>
Cc: Daniele Ceralo Spurio <[email protected]>
Cc: Stuart Summers <[email protected]>
Cc: Chris Wilson <[email protected]>
Tested-by: Tomas Janousek <[email protected]>
Signed-off-by: Don Hiatt <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 82e0c5bbd6eb1d274b5a3e519ff0ab91f1f8e537)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions