Thread (5 messages) 5 messages, 4 authors, 2021-06-24

Re: [PATCH] hibernation:stop resume screen during hibernation

From: pingshuo <hidden>
Date: 2021-06-24 02:14:06
Also in: lkml

quoted
The display will be woken up during hibernation.
That actually depends on its driver.
quoted
if the computer equipment is poor, it will cause the screen to flicker.
Skip to resume the display devices in "thaw".
But this patch looks like a proof of concept rather than a proper solution.
This needs to be done more carefully.
When entering hibernation, the display screen will be off first, then 
will be on (the image data is written to the disk at this time), and 
finally the display screen will be off again.
If you want to deal with PCI devices, that needs to happen at the PCI
bus type level in the first place

what is the "PCI bus type level" mean ? Do you mean to modify it in 
dev->bus or dev-> bus -> pm?


  We tested different graphics cards,like amdgpu, radeon,i915,nvidia, 
this issue occurs during entering hibernation.
Based on the above test, several graphics cards will be resumed and the 
screen is on, so we add code here.
Did you have any idea  if these code is added in here ?




Please answer a question for me.

Resuming device is to write the image to the disk. Is it necessary to 
wake up all devices? Why not just wake up the devices related to writing 
image?

Anticipate your response.

thanks,
                                                               pingshuo

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help