]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: add non-DC drm_panic support
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Oct 2024 17:51:35 +0000 (13:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2024 17:16:01 +0000 (12:16 -0500)
commit7e50642d41050c2182368171d5afb0543b38f379
tree1683a37fe71c72df1ed1b1cc5343a2c36a65eed2
parent736692c3b7c072eb25d64ee5aca29bb525f3818f
drm/amd/display: add non-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.

Adapt Lu Yao's code to use common helpers derived from
Jocelyn's patch.  This extends the non-DC code to enable
access to non-CPU accessible VRAM and adds support for
other DCE versions.

Reviewed-by: Harry Wentland <harry.wentland@amd.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/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c