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
@ -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…
Reference in New Issue
Block a user