Quoting [email protected] (2019-11-15 23:15:38) > From: Don Hiatt <[email protected]> > > 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]>
This fixes a rather nasty bug; looks simple enough to be backport friendly and any further bikesheds can be applied along with guc refactoring. Reviewed-by: Chris Wilson <[email protected]> -Chris _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
