aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDon Hiatt <[email protected]>2019-11-15 15:15:38 -0800
committerChris Wilson <[email protected]>2019-11-16 10:06:14 +0000
commit82e0c5bbd6eb1d274b5a3e519ff0ab91f1f8e537 (patch)
treeb6cd481a68c0b6b6520ad8598bf8dcba737e1bf4 /tools/perf/scripts/python/exported-sql-viewer.py
parentb291ce0a168b3403ac48228432abd9a58929da66 (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]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions