mbox series

[SRU,N,00/11] Fix AST DP output after resume

Message ID 20240927122304.91471-1-aaron.ma@canonical.com
Headers show
Series Fix AST DP output after resume | expand

Message

Aaron Ma Sept. 27, 2024, 12:22 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2083022

[Impact]
After resume from suspend, the mini-DP output from ASPEED BMC card
is either blank or mess up.

[Fix]
From upstream 6.11 kernel,

1, a fix of the blank screen after resume:
12c35c5582acb drm/ast: Fix black screen after resume

2, DP detection fix:
0ce91928ec62d drm/ast: astdp: Wake up during connector status detection

3, the patchset refactors the CRTC's mode-setting code:
https://lore.kernel.org/all/20240627153638.8765-1-tzimmermann@suse.de/

[Test]
Tested on hardware by vendor for 10 times of suspend and resume.
The screen is OK.

[Where problems could occur]
It may break ASPEED drm support.

Jammy Huang (1):
  drm/ast: Fix black screen after resume

Thomas Zimmermann (10):
  drm/ast: Inline drm_simple_encoder_init()
  drm/ast: Implement atomic enable/disable for encoders
  drm/ast: Program mode for AST DP in atomic_mode_set
  drm/ast: Move mode-setting code into mode_set_nofb CRTC helper
  drm/ast: Handle primary-plane format setup in atomic_update
  drm/ast: Remove gamma LUT updates from DPMS code
  drm/ast: Only set VGA SCREEN_DISABLE bit in CRTC code
  drm/ast: Inline ast_crtc_dpms() into callers
  drm/ast: Use drm_atomic_helper_commit_tail() helper
  drm/ast: astdp: Wake up during connector status detection

 drivers/gpu/drm/ast/ast_dp.c   |   7 +
 drivers/gpu/drm/ast/ast_drv.c  |   5 +
 drivers/gpu/drm/ast/ast_drv.h  |   1 +
 drivers/gpu/drm/ast/ast_mode.c | 278 +++++++++++++++++++++------------
 drivers/gpu/drm/ast/ast_reg.h  |  10 +-
 5 files changed, 192 insertions(+), 109 deletions(-)