Patch "drm/ast: Fix black screen after resume" has been added to the 6.6-stable tree
Subsystems (3)
[email protected]
AppliedThis is a note to let you know that I've just added the patch titled
drm/ast: Fix black screen after resume
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-ast-fix-black-screen-after-resume.patch
and it can be found in the queue-6.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
From 12c35c5582acb0fd8f7713ffa75f450766022ff1 Mon Sep 17 00:00:00 2001
From: Jammy Huang <[email protected]>
Date: Thu, 18 Jul 2024 11:03:52 +0800
Subject: drm/ast: Fix black screen after resume
From: Jammy Huang <[email protected]>
commit 12c35c5582acb0fd8f7713ffa75f450766022ff1 upstream.
Suspend will disable pcie device. Thus, resume should do full hw initialization again.
Add some APIs to ast_drm_thaw() before ast_post_gpu() to fix the issue.
v2:
- fix function-call arguments
--- drivers/gpu/drm/ast/ast_drv.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/gpu/drm/ast/ast_drv.c +5 -0
@@ -138,6 +138,11 @@ static int ast_drm_freeze(struct drm_devstatic int ast_drm_thaw (struct drm_device *dev) { +struct ast_device *ast =to_ast_device (dev); + +ast_enable_vga (ast->ioregs); +ast_open_key (ast->ioregs); +ast_enable_mmio (dev->dev, ast->ioregs);ast_post_gpu (dev);return drm_mode_config_helper_resume (dev);
Patches currently in stable-queue which might be from [email protected] are
queue-6.6/drm-ast-fix-black-screen-after-resume.patch