Daniel Vetter
2017-May-24 14:52 UTC
[Nouveau] [PATCH 27/37] drm/nouveau: Drop drm_vblank_cleanup
nouveau_display_vblank_fini is called in the load error path (where it doesn't matter) and module unload (where vblanks have been shut down correctly already through drm_vblank_off), we can drop it. Cc: Ben Skeggs <bskeggs at redhat.com> Cc: nouveau at lists.freedesktop.org Signed-off-by: Daniel Vetter <daniel.vetter at intel.com> --- drivers/gpu/drm/nouveau/nouveau_display.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 8d1df5678eaa..b9a109be989c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -159,8 +159,6 @@ nouveau_display_vblank_fini(struct drm_device *dev) { struct drm_crtc *crtc; - drm_vblank_cleanup(dev); - list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); nvif_notify_fini(&nv_crtc->vblank); -- 2.11.0
Reasonably Related Threads
- [PATCH 07/13] drm/nouveau: Drop drm_vblank_cleanup
- [RFC v5 10/10] drm/nouveau/kms/nvd9-: Add CRC support
- [PATCH 9/9] drm/nouveau/kms/nvd9-: Add CRC support
- [RFC v3 11/11] drm/nouveau/kms/nvd9-: Add CRC support
- [RFC v4 12/12] drm/nouveau/kms/nvd9-: Add CRC support