]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: fix drm panic null pointer when driver not support atomic
authorLu Yao <yaolu@kylinos.cn>
Tue, 6 Jan 2026 02:37:12 +0000 (10:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Jan 2026 19:51:36 +0000 (14:51 -0500)
commit9cb6278b44c38899961b36d303d7b18b38be2a6e
treecaf9b594c2c3250a6183ffe3f75bf1bc897d6e69
parent292e5757b2229c0c6f1d059123a85f8a28f4464d
drm/amdgpu: fix drm panic null pointer when driver not support atomic

When driver not support atomic, fb using plane->fb rather than
plane->state->fb.

Fixes: fe151ed7af54 ("drm/amdgpu: add generic display panic helper code")
Signed-off-by: Lu Yao <yaolu@kylinos.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2f2a72de673513247cd6fae14e53f6c40c5841ef)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c