[PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-31 Thread Daniel Vetter
On Thu, Jan 31, 2013 at 3:06 AM, Mario Kleiner wrote: > At least AMD hw as of a while ago didn't, older intel hw didn't (afaik), and > NVidia i don't know. You'd also need hw vblank timestamps and counters > independent of page-flip completion to not regress existing important > functionality if y

[PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-31 Thread Mario Kleiner
On 30.01.13 13:36, Daniel Vetter wrote: > On Wed, Jan 30, 2013 at 9:34 AM, Thierry Reding > wrote: >> On Tue, Jan 22, 2013 at 10:21:40AM -0800, Jon Mayo wrote: >>> On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding >>> wrote: Implement support for the VBLANK IOCTL. Note that Tegra is somewhat >

Re: [PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-31 Thread Daniel Vetter
On Thu, Jan 31, 2013 at 3:06 AM, Mario Kleiner wrote: > At least AMD hw as of a while ago didn't, older intel hw didn't (afaik), and > NVidia i don't know. You'd also need hw vblank timestamps and counters > independent of page-flip completion to not regress existing important > functionality if y

Re: [PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-30 Thread Mario Kleiner
On 30.01.13 13:36, Daniel Vetter wrote: On Wed, Jan 30, 2013 at 9:34 AM, Thierry Reding wrote: On Tue, Jan 22, 2013 at 10:21:40AM -0800, Jon Mayo wrote: On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding wrote: Implement support for the VBLANK IOCTL. Note that Tegra is somewhat special in this

[PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-30 Thread Daniel Vetter
On Wed, Jan 30, 2013 at 9:34 AM, Thierry Reding wrote: > On Tue, Jan 22, 2013 at 10:21:40AM -0800, Jon Mayo wrote: >> On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding >> wrote: >> > Implement support for the VBLANK IOCTL. Note that Tegra is somewhat >> > special in this case because it doesn't use

[PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-30 Thread Thierry Reding
On Tue, Jan 22, 2013 at 10:21:40AM -0800, Jon Mayo wrote: > On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding > wrote: > > Implement support for the VBLANK IOCTL. Note that Tegra is somewhat > > special in this case because it doesn't use the generic IRQ support > > provided by the DRM core (DRIVER_

Re: [PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-30 Thread Daniel Vetter
On Wed, Jan 30, 2013 at 9:34 AM, Thierry Reding wrote: > On Tue, Jan 22, 2013 at 10:21:40AM -0800, Jon Mayo wrote: >> On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding >> wrote: >> > Implement support for the VBLANK IOCTL. Note that Tegra is somewhat >> > special in this case because it doesn't use

Re: [PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-30 Thread Thierry Reding
On Tue, Jan 22, 2013 at 10:21:40AM -0800, Jon Mayo wrote: > On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding > wrote: > > Implement support for the VBLANK IOCTL. Note that Tegra is somewhat > > special in this case because it doesn't use the generic IRQ support > > provided by the DRM core (DRIVER_

[PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-23 Thread Mark Zhang
On 01/23/2013 02:21 AM, Jon Mayo wrote: > On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding > wrote: >> Implement support for the VBLANK IOCTL. Note that Tegra is somewhat >> special in this case because it doesn't use the generic IRQ support >> provided by the DRM core (DRIVER_HAVE_IRQ) but rather

Re: [PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-23 Thread Mark Zhang
On 01/23/2013 02:21 AM, Jon Mayo wrote: > On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding > wrote: >> Implement support for the VBLANK IOCTL. Note that Tegra is somewhat >> special in this case because it doesn't use the generic IRQ support >> provided by the DRM core (DRIVER_HAVE_IRQ) but rather

Re: [PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-22 Thread Jon Mayo
On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding wrote: > Implement support for the VBLANK IOCTL. Note that Tegra is somewhat > special in this case because it doesn't use the generic IRQ support > provided by the DRM core (DRIVER_HAVE_IRQ) but rather registers one > interrupt handler for each disp

[PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-22 Thread Jon Mayo
On Mon, Jan 14, 2013 at 7:55 AM, Thierry Reding wrote: > Implement support for the VBLANK IOCTL. Note that Tegra is somewhat > special in this case because it doesn't use the generic IRQ support > provided by the DRM core (DRIVER_HAVE_IRQ) but rather registers one > interrupt handler for each disp

[PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-14 Thread Thierry Reding
Implement support for the VBLANK IOCTL. Note that Tegra is somewhat special in this case because it doesn't use the generic IRQ support provided by the DRM core (DRIVER_HAVE_IRQ) but rather registers one interrupt handler for each display controller. While at it, clean up the way that interrupts a

[PATCH 4/5] drm/tegra: Implement VBLANK support

2013-01-14 Thread Thierry Reding
Implement support for the VBLANK IOCTL. Note that Tegra is somewhat special in this case because it doesn't use the generic IRQ support provided by the DRM core (DRIVER_HAVE_IRQ) but rather registers one interrupt handler for each display controller. While at it, clean up the way that interrupts a