]> git.hungrycats.org Git - linux/commit
drm/amd/display: Avoid DPMS-on for phantom stream
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Tue, 19 May 2026 20:20:39 +0000 (16:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:34:31 +0000 (13:34 -0400)
commit10f5f9c0ef32d08b228bfee3684b62f36f395852
tree9a54b9a63fdb3210b9e4bed260e8463313231703
parent5a7f0ef90195940c54b0f5bb85b87da55f038c69
drm/amd/display: Avoid DPMS-on for phantom stream

[Why & How]
Calling dc_update_planes_and_stream separately for stream and its
phantom stream causes a NULL pointer dereference, since the phantom is
destroyed on the first call.

Skip the call for phantom streams.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c