linux/drivers/gpu/drm/amd/display/dc/hwss/dce110
Ray Wu 2686a0c0aa drm/amd/display: Check for tg ops in dce110_set_avmute
Some older DCE timing generators do not implement is_tg_enabled in
their ops table. Calling it unconditionally when waiting for AV mute
frames causes a NULL pointer dereference on Southern Islands dGPUs
when turning the display off over HDMI.

Check that tg and the required ops exist before waiting for frames.

Fixes: 414da24137 ("drm/amd/display: Add AV mute wait frames to dce110_set_avmute")
Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5557
Tested-by: Viktor Jägersküpper <viktor_jaegerskuepper@freenet.de>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-08-06 13:43:27 -04:00
..
dce110_hwseq.c drm/amd/display: Check for tg ops in dce110_set_avmute 2026-08-06 13:43:27 -04:00
dce110_hwseq.h drm/amd/display: Allow for sharing of some link and audio link functions 2025-07-28 16:40:31 -04:00