[PATCH v3 20/23] drm: tegra: use vblank hooks in struct drm_crtc_funcs

Thierry Reding thierry.reding at gmail.com
Tue Feb 7 11:02:34 UTC 2017


On Tue, Feb 07, 2017 at 05:16:32PM +0800, Shawn Guo wrote:
> From: Shawn Guo <shawn.guo at linaro.org>
> 
> The vblank hooks in struct drm_driver are deprecated and only meant for
> legacy drivers.  For modern drivers with DRIVER_MODESET flag, the hooks
> in struct drm_crtc_funcs should be used instead.
> 
> As the result, the wrapper functions tegra_drm_xxx get killed
> completely, and tegra_dc_xxx are filled into struct drm_crtc_funcs as
> vblank hooks directly.
> 
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> ---
>  drivers/gpu/drm/tegra/dc.c  | 15 ++++++++++++---
>  drivers/gpu/drm/tegra/drm.c | 38 --------------------------------------
>  drivers/gpu/drm/tegra/drm.h |  3 ---
>  3 files changed, 12 insertions(+), 44 deletions(-)

Acked-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170207/b5e8312f/attachment.sig>


More information about the dri-devel mailing list