mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 16:40:59 +07:00
drm/i915/selftests: Add intel_gt_suspend_prepare
Call suspend_prepare first so that we don't leave GuC so confused. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Andi Shyti <andi.shyti@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191101174405.7389-1-chris@chris-wilson.co.uk
This commit is contained in:
parent
c601cb2135
commit
833e979db3
@ -15,6 +15,7 @@ static int live_gt_resume(void *arg)
|
||||
|
||||
/* Do several suspend/resume cycles to check we don't explode! */
|
||||
do {
|
||||
intel_gt_suspend_prepare(gt);
|
||||
intel_gt_suspend_late(gt);
|
||||
|
||||
if (gt->rc6.enabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user