Re: [PATCH v6.1] drm/amd/display: Check dce_hwseq before dereferencing it

From: Greg KH

Date: Thu Jan 15 2026 - 06:44:06 EST


On Thu, Jan 15, 2026 at 12:19:19PM +0800, Rahul Sharma wrote:
> From: Alex Hung <alex.hung@xxxxxxx>
>
> [ Upstream b669507b637eb6b1aaecf347f193efccc65d756e commit ]
>
> [WHAT]
>
> hws was checked for null earlier in dce110_blank_stream, indicating hws
> can be null, and should be checked whenever it is used.
>
> Cc: Mario Limonciello <mario.limonciello@xxxxxxx>
> Cc: Alex Deucher <alexander.deucher@xxxxxxx>
> Reviewed-by: Aurabindo Pillai <aurabindo.pillai@xxxxxxx>
> Signed-off-by: Alex Hung <alex.hung@xxxxxxx>
> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@xxxxxxx>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> (cherry picked from commit 79db43611ff61280b6de58ce1305e0b2ecf675ad)
> Cc: stable@xxxxxxxxxxxxxxx
> [ The context change is due to the commit 8e7b3f5435b3
> ("drm/amd/display: Add control flag to dc_stream_state to skip eDP BL off/link off")
> and the commit a8728dbb4ba2 ("drm/amd/display: Refactor edp power
> control") and the proper adoption is done. ]
> Signed-off-by: Rahul Sharma <black.hawk@xxxxxxx>
> ---
> drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

We need 6.6.y backport first, before we can take this one, for obvious
reasons (i.e. you do not want to have a regression). Can you submit
that one first and then this again?

thanks,

greg k-h