Skip to content

DC: Fix page flip timeouts on DCE 6 (v2)

Timur Kristóf amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/amd/display: Keep PLL0 running on DCE 6.0 and 6.4 (v2)drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c+10 -10 replies
2/4drm/amd/display: Disable fastboot on DCE 6 toodrivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c+2 -40 replies
3/4drm/amd/display: Disable VRR on DCE 6drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/dc/dc_helper.c drivers/gpu/drm/amd/display/dc/dm_services.h+10 -10 replies
4/4drm/amd/display: Don't use non-registered VUPDATE on DCE 6 (v2)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c+24 -140 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRodrigo SiqueiraAlex HungAlex Deucher
SeriesR-b R-b
1/4
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] DC: Fix page flip timeouts on DCE 6 (v2)

Compared to the previous version of this series, v2 fixes the rebase conflicts on amd-staging-drm-next and includes an additional patch to address page flip timeouts when the displays are blanked.

Currently when using DC on DCE 6, it produces pageflip timeouts:

1. When displays are blanked
This is caused by (mistakenly) turning off the display engine clock on DCE 6.0 and 6.4 which is also the DP clock.

2. After suspend/resume
The root cause is that DC assumes that the VUPDATE interrupt is always present, when in fact it isn't supported by DCE 6, which also doesn't support VRR.

Finally, there is also a patch to disable fast boot mode on DCE 6. The rationale is that this already didn't work on DCE 8, and even if it did I have no means to test it.

Timur Kristóf (4):
drm/amd/display: Keep PLL0 running on DCE 6.0 and 6.4 (v2) drm/amd/display: Disable fastboot on DCE 6 too drm/amd/display: Disable VRR on DCE 6 drm/amd/display: Don't use non-registered VUPDATE on DCE 6 (v2)

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 26 ++++++++++++-------
 .../amd/display/amdgpu_dm/amdgpu_dm_crtc.c    | 16 +++++++-----
 drivers/gpu/drm/amd/display/dc/dc_helper.c    |  5 ++++
 drivers/gpu/drm/amd/display/dc/dm_services.h  |  2 ++
 .../amd/display/dc/hwss/dce110/dce110_hwseq.c |  6 ++---
 .../dc/resource/dce60/dce60_resource.c        | 11 +++++++-
 6 files changed, 46 insertions(+), 20 deletions(-)
Signature · 1 line
2.50.1