lkml.org 
[lkml]   [2021]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] hibernation:stop resume screen during hibernation
From
Date


>> The display will be woken up during hibernation.
>
> That actually depends on its driver.
>
>> 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


\
 
 \ /
  Last update: 2021-06-24 04:15    [W:0.078 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site