[PATCH 4/6] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on() (v2)

2016-02-12 Thread Mario Kleiner
drm_vblank_offdelay can have three different types of values: < 0 is to be always treated the same as dev->vblank_disable_immediate = 0 is to be treated as "never disable vblanks" > 0 is to be treated as disable immediate if kms driver wants it that way via dev->vblank_disable_immediate. Other

[PATCH 4/6] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on()

2016-02-09 Thread Ville Syrjälä
On Tue, Feb 09, 2016 at 02:29:49PM +0100, Mario Kleiner wrote: > On 02/09/2016 12:10 PM, Ville Syrjälä wrote: > > On Tue, Feb 09, 2016 at 11:06:18AM +0100, Daniel Vetter wrote: > >> On Mon, Feb 08, 2016 at 02:13:27AM +0100, Mario Kleiner wrote: > >>> drm_vblank_offdelay can have three different t

[PATCH 4/6] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on()

2016-02-09 Thread Daniel Vetter
On Tue, Feb 09, 2016 at 03:41:28PM +0200, Ville Syrjälä wrote: > On Tue, Feb 09, 2016 at 02:29:49PM +0100, Mario Kleiner wrote: > > On 02/09/2016 12:10 PM, Ville Syrjälä wrote: > > > On Tue, Feb 09, 2016 at 11:06:18AM +0100, Daniel Vetter wrote: > > >> On Mon, Feb 08, 2016 at 02:13:27AM +0100,

[PATCH 4/6] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on()

2016-02-09 Thread Mario Kleiner
On 02/09/2016 12:10 PM, Ville Syrjälä wrote: > On Tue, Feb 09, 2016 at 11:06:18AM +0100, Daniel Vetter wrote: >> On Mon, Feb 08, 2016 at 02:13:27AM +0100, Mario Kleiner wrote: >>> drm_vblank_offdelay can have three different types of values: >>> >>> < 0 is to be always treated the same as dev->vb

[PATCH 4/6] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on()

2016-02-09 Thread Ville Syrjälä
On Tue, Feb 09, 2016 at 11:06:18AM +0100, Daniel Vetter wrote: > On Mon, Feb 08, 2016 at 02:13:27AM +0100, Mario Kleiner wrote: > > drm_vblank_offdelay can have three different types of values: > > > > < 0 is to be always treated the same as dev->vblank_disable_immediate > > = 0 is to be treated a

[PATCH 4/6] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on()

2016-02-09 Thread Daniel Vetter
On Mon, Feb 08, 2016 at 02:13:27AM +0100, Mario Kleiner wrote: > drm_vblank_offdelay can have three different types of values: > > < 0 is to be always treated the same as dev->vblank_disable_immediate > = 0 is to be treated as "never disable vblanks" > > 0 is to be treated as disable immediate if

[PATCH 4/6] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on()

2016-02-08 Thread Mario Kleiner
drm_vblank_offdelay can have three different types of values: < 0 is to be always treated the same as dev->vblank_disable_immediate = 0 is to be treated as "never disable vblanks" > 0 is to be treated as disable immediate if kms driver wants it that way via dev->vblank_disable_immediate. Other