]> git.baikalelectronics.ru Git - kernel.git/commit
imx-drm: imx-drm-core: use the crtc drm device for vblank
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 17 Dec 2013 19:10:27 +0000 (19:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2014 19:59:50 +0000 (11:59 -0800)
commitddad35d4b0e9c88fba8bd45d3019e45d14908e70
treeadf92282bbfdf96ed431e6f8d8a4074f259426a7
parent6333ef0a6d756a72c48035feae2450b64f0372e4
imx-drm: imx-drm-core: use the crtc drm device for vblank

There are a couple of ways to get at the drm_device for the vblank
operations.  One of them is via the private imxdrm structure, the
other is via the DRM crtc structure, which also stores a pointer.
Use the DRM method instead of our own method.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-drm-core.c