mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 03:40:10 +01:00
drm: set crtc->fb to NULL
This commit is contained in:
parent
74a49aea61
commit
19abd5c1ac
1 changed files with 1 additions and 0 deletions
|
|
@ -763,6 +763,7 @@ int intelfb_remove(struct drm_device *dev, struct drm_crtc *crtc)
|
|||
drm_framebuffer_destroy(fb);
|
||||
framebuffer_release(info);
|
||||
}
|
||||
crtc->fb = NULL;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(intelfb_remove);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue