Re: [PATCH] drm: mali-dp: Call drm_crtc_vblank_reset on device init

2018-07-16 Thread Liviu Dudau
On Mon, Jul 16, 2018 at 11:07:07AM +0100, Alexandru Gheorghe wrote: > Currently, if userspace calls drm_wait_vblank before the crtc is > activated the crtc vblank_enable hook is called, which in case of > malidp driver triggers some warninngs. This happens because on > device init we don't inform

[PATCH] drm: mali-dp: Call drm_crtc_vblank_reset on device init

2018-07-16 Thread Alexandru Gheorghe
Currently, if userspace calls drm_wait_vblank before the crtc is activated the crtc vblank_enable hook is called, which in case of malidp driver triggers some warninngs. This happens because on device init we don't inform the drm core about the vblank state by calling drm_crtc_vblank_on/off/reset