]> git.baikalelectronics.ru Git - kernel.git/commit
drm: omapdrm: Cancel pending page flips when closing device
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 18 Jan 2015 14:57:36 +0000 (16:57 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Jun 2015 19:52:45 +0000 (22:52 +0300)
commit03c359da3b4d6f6e8a75442cca5c874af3df15a4
tree316b7d55f847846b55cc6dd6db36cf87da001d7b
parent21cfa67ddfcfc09dc0cb089bf961bbd89c6e52dc
drm: omapdrm: Cancel pending page flips when closing device

Pending page flips must be cancelled when closing the device, otherwise
their completion at next vblank will result in nasty effects, including
possible oopses due to resources required to complete the page flip
being freed.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c
drivers/gpu/drm/omapdrm/omap_drv.c
drivers/gpu/drm/omapdrm/omap_drv.h