]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add null check to dml21_find_dc_pipes_for_plane
authorDillon Varone <dillon.varone@amd.com>
Tue, 4 Jun 2024 19:34:36 +0000 (15:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:18:55 +0000 (16:18 -0400)
commita157dcc521dcb8eb0acb50d66d1b0fc5efcea789
tree0e6e5edeca0edd942de36aa6a40d143660a71ef2
parent37256027b45fe48d1cd23954db90d1c53401e29a
drm/amd/display: Add null check to dml21_find_dc_pipes_for_plane

When a phantom stream is in the process of being deconstructed, there
could be pipes with no associated planes.  In that case, ignore the
phantom stream entirely when searching for associated pipes.

Cc: stable@vger.kernel.org
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_utils.c