]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: add DC drm_panic support
authorJocelyn Falempe <jfalempe@redhat.com>
Thu, 31 Oct 2024 17:27:03 +0000 (13:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2024 17:15:56 +0000 (12:15 -0500)
commit736692c3b7c072eb25d64ee5aca29bb525f3818f
treedafbf9e0b78802cb64b84aeae4727de400e81e01
parent1ad5bdc28bafa66db0f041cc6cdd278a80426aae
drm/amd/display: add DC drm_panic support

Add support for the drm_panic module, which displays a pretty user
friendly message on the screen when a Linux kernel panic occurs.

It doesn't work yet on laptop panels, maybe due to PSR.

Adapted from Jocelyn's original patch to add DC drm_panic
support.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Lu Yao <yaolu@kylinos.cn>
Cc: Jocelyn Falempe <jfalempe@redhat.com>
Cc: Harry Wentland <harry.wentland@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c