]> 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>
Thu, 8 Jan 2026 16:41:46 +0000 (11:41 -0500)
commit2f2a72de673513247cd6fae14e53f6c40c5841ef
treea22eae825891e3d33baa15363c4ed8fc3992f5b8
parentc7fc0f372374cf463be2ba4b5b21c20c3c051bb6
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c