]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Implement VBLANK support
authorThierry Reding <thierry.reding@avionic-design.de>
Wed, 28 Nov 2012 10:45:47 +0000 (11:45 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 22 Feb 2013 07:21:23 +0000 (08:21 +0100)
commite6a137d8303aea5f48d48fbf89dd6cd0abf1b8cf
treee816da159f67fe32c93e824b2efd6f77c0a0aa47
parent45f9d2f92393cf59bd0c2ae50c469fd5df38b46a
drm/tegra: Implement VBLANK support

Implement support for the VBLANK IOCTL. Note that Tegra is somewhat
special in this case because it doesn't use the generic IRQ support
provided by the DRM core (DRIVER_HAVE_IRQ) but rather registers one
interrupt handler for each display controller.

While at it, clean up the way that interrupts are enabled to ensure
that the VBLANK interrupt only gets enabled when required.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/drm.h