[PATCH 1/4] drm: add vblank hooks to struct drm_crtc_funcs

2017-01-10 Thread Laurent Pinchart
On Tuesday 10 Jan 2017 11:39:03 Daniel Vetter wrote: > On Mon, Jan 09, 2017 at 07:56:24PM +0800, Shawn Guo wrote: > > From: Shawn Guo > > > > The vblank is mostly CRTC specific and implemented as part of CRTC > > driver. So having vblank hooks in struct drm_crtc_funcs should > > generally help t

[PATCH 1/4] drm: add vblank hooks to struct drm_crtc_funcs

2017-01-10 Thread Daniel Vetter
On Mon, Jan 09, 2017 at 07:56:24PM +0800, Shawn Guo wrote: > From: Shawn Guo > > The vblank is mostly CRTC specific and implemented as part of CRTC > driver. So having vblank hooks in struct drm_crtc_funcs should > generally help to reduce code from client drivers in implementing > drm_driver's

[PATCH 1/4] drm: add vblank hooks to struct drm_crtc_funcs

2017-01-09 Thread Shawn Guo
From: Shawn Guo The vblank is mostly CRTC specific and implemented as part of CRTC driver. So having vblank hooks in struct drm_crtc_funcs should generally help to reduce code from client drivers in implementing drm_driver's vblank callbacks. Signed-off-by: Shawn Guo --- drivers/gpu/drm/drm_c