mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-27 14:00:14 +01:00
backend-drm: fix deinit unexpected connector
The `drm_output_deinit` should use the drm device passed by the function, should not use the `b->drm` device. Signed-off-by: Zhou Liang <174381115@qq.com>
This commit is contained in:
parent
66aaa41074
commit
b288e662d6
1 changed files with 1 additions and 1 deletions
|
|
@ -2293,7 +2293,7 @@ drm_output_deinit(struct weston_output *base)
|
|||
{
|
||||
struct drm_output *output = to_drm_output(base);
|
||||
struct drm_backend *b = output->backend;
|
||||
struct drm_device *device = b->drm;
|
||||
struct drm_device *device = output->device;
|
||||
struct drm_pending_state *pending;
|
||||
|
||||
if (!b->compositor->shutting_down) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue