We are seeing root ports on some desktop boards support D3cold for
discrete graphics card. So when efifb is in use while graphics device
isn't bound to a driver, PCI and ACPI will put the graphics to D3cold
when runtime suspend kicks in, makes efifb stop working.
So ensure the graphics device won't be runtime suspended, to keep efifb
work all the time.
Signed-off-by: Kai-Heng Feng <redacted>
---
drivers/video/fbdev/efifb.c | 3 +++
1 file changed, 3 insertions(+)
From: Alex Deucher <hidden> Date: 2021-02-01 15:22:55
On Sat, Jan 30, 2021 at 6:27 AM Kai-Heng Feng
[off-list ref] wrote:
We are seeing root ports on some desktop boards support D3cold for
discrete graphics card. So when efifb is in use while graphics device
isn't bound to a driver, PCI and ACPI will put the graphics to D3cold
when runtime suspend kicks in, makes efifb stop working.
So ensure the graphics device won't be runtime suspended, to keep efifb
work all the time.
Signed-off-by: Kai-Heng Feng <redacted>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
On Mon, Feb 1, 2021 at 11:21 PM Alex Deucher [off-list ref] wrote:
On Sat, Jan 30, 2021 at 6:27 AM Kai-Heng Feng
[off-list ref] wrote:
quoted
We are seeing root ports on some desktop boards support D3cold for
discrete graphics card. So when efifb is in use while graphics device
isn't bound to a driver, PCI and ACPI will put the graphics to D3cold
when runtime suspend kicks in, makes efifb stop working.
So ensure the graphics device won't be runtime suspended, to keep efifb
work all the time.
Signed-off-by: Kai-Heng Feng <redacted>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
From: Thomas Zimmermann <tzimmermann@suse.de> Date: 2021-02-22 08:09:24
Hi
Am 22.02.21 um 08:08 schrieb Kai-Heng Feng:
On Mon, Feb 1, 2021 at 11:21 PM Alex Deucher [off-list ref] wrote:
quoted
On Sat, Jan 30, 2021 at 6:27 AM Kai-Heng Feng
[off-list ref] wrote:
quoted
We are seeing root ports on some desktop boards support D3cold for
discrete graphics card. So when efifb is in use while graphics device
isn't bound to a driver, PCI and ACPI will put the graphics to D3cold
when runtime suspend kicks in, makes efifb stop working.
So ensure the graphics device won't be runtime suspended, to keep efifb
work all the time.
Signed-off-by: Kai-Heng Feng <redacted>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
A gentle ping...
Thanks for your patch. I've added it to drm-misc-next.
Best regards
Thomas