diff options
| author | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2026-06-04 15:27:43 +0300 |
|---|---|---|
| committer | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2026-06-09 12:30:26 +0300 |
| commit | f329e8325e054bd6d84d10904f8dd51137281b92 (patch) | |
| tree | 26f1984d7cefe18cca1ceff3482ae380abf99b18 /arch/nds32/kernel/git@git.tavy.me:linux.git | |
| parent | d9faef564438d1e4579c692c046603e7ada7bdf4 (diff) | |
drm/virtio: Fix driver removal with disabled KMS
DRM atomic and modesetting aren't initialized if virtio-gpu driver built
with disabled KMS, leading to access of uninitialized data on driver
removal/unbinding and crashing kernel. Fix it by skipping shutting down
atomic core with unavailable KMS.
Fixes: 72122c69d717 ("drm/virtio: Add option to disable KMS support")
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Tested-by: Ryosuke Yasuoka <ryasuoka@redhat.com>
Reviewed-by: Ryosuke Yasuoka <ryasuoka@redhat.com>
Link: https://patch.msgid.link/20260604122743.13383-1-dmitry.osipenko@collabora.com
Diffstat (limited to 'arch/nds32/kernel/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
