public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/amd: fix VRR race condition during IRQ handling
@ 2024-09-02  9:40 tjakobi
  2024-09-02  9:40 ` [PATCH 1/2] drm/amd/display: Avoid race between dcn10_set_drr() and dc_state_destruct() tjakobi
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: tjakobi @ 2024-09-02  9:40 UTC (permalink / raw)
  To: amd-gfx, dri-devel, linux-kernel; +Cc: Tobias Jakobi

From: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>

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(-)

-- 
2.44.2


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-09-09 19:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02  9:40 [PATCH 0/2] drm/amd: fix VRR race condition during IRQ handling tjakobi
2024-09-02  9:40 ` [PATCH 1/2] drm/amd/display: Avoid race between dcn10_set_drr() and dc_state_destruct() tjakobi
2024-09-02 11:03   ` Sefa Eyeoglu
2024-09-02 14:43   ` raoul.van.rueschen
2024-09-03  5:13   ` Christopher Snowhill
2024-09-03 21:27   ` Harry Wentland
2024-09-02  9:40 ` [PATCH 2/2] drm/amd/display: Avoid race between dcn35_set_drr() " tjakobi
2024-09-03 21:28   ` Harry Wentland
2024-09-08  7:35 ` [PATCH 0/2] drm/amd: fix VRR race condition during IRQ handling Christopher Snowhill
2024-09-08 11:23   ` Tobias Jakobi
2024-09-09  8:26     ` Christopher Snowhill
2024-09-09 17:11     ` Alex Deucher
2024-09-09 17:18       ` Harry Wentland
2024-09-09 19:36         ` Tobias Jakobi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox