Re: [Intel-gfx] [PATCH 2/4] drm/i915: Drop pipe_enable checks in vblank funcs

2015-02-12 Thread Daniel Vetter
On Fri, Feb 13, 2015 at 12:37:27AM +0200, Imre Deak wrote: > On Tue, 2015-02-03 at 11:30 +0100, Daniel Vetter wrote: > > With Ville's rework to use drm_crtc_vblank_on/off the core will take > > care of rejecting drm_vblank_get calls when the pipe is off. Also the > > core won't call the get_vblank_

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Drop pipe_enable checks in vblank funcs

2015-02-12 Thread Imre Deak
On Tue, 2015-02-03 at 11:30 +0100, Daniel Vetter wrote: > With Ville's rework to use drm_crtc_vblank_on/off the core will take > care of rejecting drm_vblank_get calls when the pipe is off. Also the > core won't call the get_vblank_counter hooks in that case either. And > since we've dropped ums su

[Intel-gfx] [PATCH 2/4] drm/i915: Drop pipe_enable checks in vblank funcs

2015-02-03 Thread Daniel Vetter
With Ville's rework to use drm_crtc_vblank_on/off the core will take care of rejecting drm_vblank_get calls when the pipe is off. Also the core won't call the get_vblank_counter hooks in that case either. And since we've dropped ums support recently we can now remove these hacks, yay! Noticed whil