Skip to content

drm/amd: fix VRR race condition during IRQ handling

[email protected] amd-gfx dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/amd/display: Avoid race between dcn10_set_drr() and dc_state_destruct()drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c+12 -84 replies
2/2drm/amd/display: Avoid race between dcn35_set_drr() and dc_state_destruct()drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c+12 -81 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSefa EyeogluRaoul van RüschenChristopher SnowhillHarry Wentland
1/2T-b T-b T-b R-b
2/2R-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 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] drm/amd: fix VRR race condition during IRQ handling

From: Tobias Jakobi <[email protected]>

Hello,

this fixes a nasty race condition in the set_drr() callbacks for DCN10 and DCN35 that has existed now since quite some time, see this GitLab issue for reference.

https://gitlab.freedesktop.org/drm/amd/-/issues/3142

The report just focuses von DCN10, but the same problem also exists in the DCN35 code.

With best wishes,
Tobias

Tobias Jakobi (2):
drm/amd/display: Avoid race between dcn10_set_drr() and
dc_state_destruct()
drm/amd/display: Avoid race between dcn35_set_drr() and
dc_state_destruct()

 .../amd/display/dc/hwss/dcn10/dcn10_hwseq.c   | 20 +++++++++++--------
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c   | 20 +++++++++++--------
 2 files changed, 24 insertions(+), 16 deletions(-)
Signature · 1 line
2.44.2