Re: [PATCH 1/1] drm/amd/display: handle nulled pipe context in DCE110's set_drr()

2024-09-16 Thread Alex Deucher
Acked-by: Alex Deucher And applied. Thanks! On Mon, Sep 16, 2024 at 9:03 AM wrote: > > From: Tobias Jakobi > > As set_drr() is called from IRQ context, it can happen that the > pipe context has been nulled by dc_state_destruct(). > > Apply the same protection here that is already present for

[PATCH 1/1] drm/amd/display: handle nulled pipe context in DCE110's set_drr()

2024-09-16 Thread tjakobi
From: Tobias Jakobi As set_drr() is called from IRQ context, it can happen that the pipe context has been nulled by dc_state_destruct(). Apply the same protection here that is already present for dcn35_set_drr() and dcn10_set_drr(). I.e. fetch the tg pointer first (to avoid a race with dc_state_