drm/amd/display: Add null checks for 8K60 lightup
authorMuhammad Ahmed <ahmed.ahmed@amd.com>
Tue, 31 Oct 2023 20:03:21 +0000 (16:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Nov 2023 05:49:58 +0000 (00:49 -0500)
commit9725a4f9eb495bfa6c7f5ccdb49440ff06dba0a1
treebb2e0e3fc1e8ff740ecfdc265d970125adde130f
parente4d0be18243ca006258b5c7c148796c0b43505c4
drm/amd/display: Add null checks for 8K60 lightup

[WHY & HOW]
Add some null checks to fix an issue where 8k60
tiled display fails to light up.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Muhammad Ahmed <ahmed.ahmed@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/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c