[PATCH] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2015-05-04 Thread Mario Kleiner
On 04/15/2015 03:03 AM, Mario Kleiner wrote: > On 04/02/2015 01:34 PM, Chris Wilson wrote: >> On vblank instant-off systems, we can get into a situation where the cost >> of enabling and disabling the vblank IRQ around a drmWaitVblank query >> dominates. However, we know that if the user wants

[PATCH] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2015-04-15 Thread Mario Kleiner
On 04/02/2015 01:34 PM, Chris Wilson wrote: > On vblank instant-off systems, we can get into a situation where the cost > of enabling and disabling the vblank IRQ around a drmWaitVblank query > dominates. However, we know that if the user wants the current vblank > counter, they are also very

[PATCH] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2015-04-03 Thread Michel Dänzer
On 02.04.2015 20:34, Chris Wilson wrote: > On vblank instant-off systems, we can get into a situation where the cost > of enabling and disabling the vblank IRQ around a drmWaitVblank query > dominates. However, we know that if the user wants the current vblank > counter, they are also very likely

[PATCH] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2015-04-03 Thread Chris Wilson
On Fri, Apr 03, 2015 at 11:20:20AM +0900, Michel Dänzer wrote: > On 02.04.2015 20:34, Chris Wilson wrote: > > On vblank instant-off systems, we can get into a situation where the cost > > of enabling and disabling the vblank IRQ around a drmWaitVblank query > > dominates. However, we know that if

[PATCH] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2015-04-02 Thread Chris Wilson
On vblank instant-off systems, we can get into a situation where the cost of enabling and disabling the vblank IRQ around a drmWaitVblank query dominates. However, we know that if the user wants the current vblank counter, they are also very likely to immediately queue a vblank wait and so we can