aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-05-17 16:49:13 +0800
committerGerd Hoffmann <kraxel@redhat.com>2021-05-18 10:55:31 +0200
commit058acb33d100c5cceab10d2dd388cf9bc0918908 (patch)
tree47a061bf79eb0cc204d8d8262a3b6580c8a39dbe /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentcec7f1774605a5ef47c134af62afe7c75c30b0ee (diff)
drm/virtio: free virtqueues on probe failure
We should call virtio_gpu_deinit() to free virtqueues when drm_dev_register() failed. Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Link: http://patchwork.freedesktop.org/patch/msgid/20210517084913.403-3-xieyongji@bytedance.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions