summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShenghao Yang <me@shenghaoyang.info>2025-12-31 13:50:26 +0800
committerRuben Wauters <rubenru09@aol.com>2026-01-13 13:58:24 +0000
commitdc2d5ddb193e363187bae2ad358245642d2721fb (patch)
tree8164ccf86651e90c515fa813c9116958664a3953 /include/linux
parent9380dc33cd6ae4a6857818fcefce31cf716f3fae (diff)
drm/gud: fix NULL fb and crtc dereferences on USB disconnect
On disconnect drm_atomic_helper_disable_all() is called which sets both the fb and crtc for a plane to NULL before invoking a commit. This causes a kernel oops on every display disconnect. Add guards for those dereferences. Cc: <stable@vger.kernel.org> # 6.18.x Fixes: 73cfd166e045 ("drm/gud: Replace simple display pipe with DRM atomic helpers") Signed-off-by: Shenghao Yang <me@shenghaoyang.info> Reviewed-by: Ruben Wauters <rubenru09@aol.com> Signed-off-by: Ruben Wauters <rubenru09@aol.com> Link: https://patch.msgid.link/20251231055039.44266-1-me@shenghaoyang.info
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions