]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Add logging resource checks
authorCharlene Liu <charlene.liu@amd.com>
Thu, 28 Dec 2023 18:19:33 +0000 (13:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2024 21:30:40 +0000 (16:30 -0500)
commit8a51cc097dd590a86e8eec5398934ef389ff9a7b
treefbe450b3f6510a7dd7ce63074d6e9e3492e14284
parentaa36d8971fccb55ef3241cbfff9d1799e31d8628
drm/amd/display: Add logging resource checks

[Why]
When mapping resources, resources could be unavailable.

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