Skip to content

Commit cffa8e8

Browse files
rodrigoviviLucas De Marchi
authored andcommitted
drm/xe: Restore pci state upon resume
The pci state was saved, but not restored. Restore right after the power state transition request like every other driver. v2: Use right fixes tag, since this was there initialy, but accidentally removed. Fixes: f6761c6 ("drm/xe/display: Improve s2idle handling.") Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240912214507.456897-1-rodrigo.vivi@intel.com Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> (cherry picked from commit ec2d153) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
1 parent 9852d85 commit cffa8e8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/xe/xe_pci.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,8 @@ static int xe_pci_resume(struct device *dev)
924924
if (err)
925925
return err;
926926

927+
pci_restore_state(pdev);
928+
927929
err = pci_enable_device(pdev);
928930
if (err)
929931
return err;

0 commit comments

Comments
 (0)