Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-07 Thread Mike Lothian
2009/12/7 Alex Deucher : > On Mon, Dec 7, 2009 at 5:53 PM, Mike Lothian wrote: >> 2009/12/7 Alex Deucher : >>> 2009/12/7 Mike Lothian : 2009/12/1 Rafał Miłecki : > 2009/12/1 Alex Deucher : >> Round 3. > > This fixed my lose of VBLANK interrupts after few seconds, but I still >

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-07 Thread Mike Lothian
2009/12/7 Alex Deucher : > On Mon, Dec 7, 2009 at 5:53 PM, Mike Lothian wrote: >> 2009/12/7 Alex Deucher : >>> 2009/12/7 Mike Lothian : 2009/12/1 Rafał Miłecki : > 2009/12/1 Alex Deucher : >> Round 3. > > This fixed my lose of VBLANK interrupts after few seconds, but I still >

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-07 Thread Alex Deucher
On Mon, Dec 7, 2009 at 5:53 PM, Mike Lothian wrote: > 2009/12/7 Alex Deucher : >> 2009/12/7 Mike Lothian : >>> 2009/12/1 Rafał Miłecki : 2009/12/1 Alex Deucher : > Round 3. This fixed my lose of VBLANK interrupts after few seconds, but I still have issue with fences after a

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-07 Thread Mike Lothian
2009/12/7 Alex Deucher : > 2009/12/7 Mike Lothian : >> 2009/12/1 Rafał Miłecki : >>> 2009/12/1 Alex Deucher : Round 3. >>> >>> This fixed my lose of VBLANK interrupts after few seconds, but I still >>> have issue with fences after applying this. >>> >>> My rdev->fence_drv.emited gets filled wh

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-07 Thread Alex Deucher
2009/12/7 Mike Lothian : > 2009/12/1 Rafał Miłecki : >> 2009/12/1 Alex Deucher : >>> Round 3. >> >> This fixed my lose of VBLANK interrupts after few seconds, but I still >> have issue with fences after applying this. >> >> My rdev->fence_drv.emited gets filled when I start glxgears and when I >> s

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-07 Thread Mike Lothian
2009/12/1 Rafał Miłecki : > 2009/12/1 Alex Deucher : >> Round 3. > > This fixed my lose of VBLANK interrupts after few seconds, but I still > have issue with fences after applying this. > > My rdev->fence_drv.emited gets filled when I start glxgears and when I > stop, it gets empty. Reverting patch

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Rafał Miłecki
2009/12/1 Alex Deucher : > Round 3. This fixed my lose of VBLANK interrupts after few seconds, but I still have issue with fences after applying this. My rdev->fence_drv.emited gets filled when I start glxgears and when I stop, it gets empty. Reverting patch makes rdev->fence_drv.emited filled af

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Alex Deucher
ues in the previous one. Round 3. Alex From dba48f0b17c661b7650ff796c38bea172c89b8b3 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 1 Dec 2009 13:43:46 -0500 Subject: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3) This enables the use of interrupts on r6xx/r7xx hardware. Interrupts are

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Rafał Miłecki
W dniu 1 grudnia 2009 09:59 użytkownik Michel Dänzer napisał: > On Tue, 2009-12-01 at 09:43 +0100, Rafał Miłecki wrote: >> Could you tell me how can I wait for vblank from kernel space, please? >> I see there is drm_wait_vblank but this is not yet exported. I tried >> export this and use this with

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Rafał Miłecki
W dniu 1 grudnia 2009 10:08 użytkownik Michel Dänzer napisał: >> But I'm not sure that anymore. Also it expected drm_file parameter >> which AFAIK is never passed from gpu driver, but from drm to gpu >> driver. > > As it is, it's intended for handling ioctl calls from userspace and as > such may m

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Michel Dänzer
On Tue, 2009-12-01 at 10:01 +0100, Rafał Miłecki wrote: > W dniu 1 grudnia 2009 09:59 użytkownik Michel Dänzer > napisał: > >> Could you tell me how can I wait for vblank from kernel space, please? > >> I see there is drm_wait_vblank but this is not yet exported. I tried > >> export this and use

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Rafał Miłecki
W dniu 1 grudnia 2009 09:59 użytkownik Michel Dänzer napisał: >> Could you tell me how can I wait for vblank from kernel space, please? >> I see there is drm_wait_vblank but this is not yet exported. I tried >> export this and use this with _DRM_VBLANK_ABSOLUTE so I hit >> > DRM_WAIT_ON(ret, dev->

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Michel Dänzer
On Tue, 2009-12-01 at 09:43 +0100, Rafał Miłecki wrote: > W dniu 1 grudnia 2009 08:33 użytkownik Michel Dänzer > napisał: > > On Tue, 2009-12-01 at 08:03 +0100, Rafał Miłecki wrote: > >> 2009/12/1 Alex Deucher : > >> > On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher > >> > wrote: > >> >> This ena

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Rafał Miłecki
W dniu 1 grudnia 2009 08:33 użytkownik Michel Dänzer napisał: > On Tue, 2009-12-01 at 08:03 +0100, Rafał Miłecki wrote: >> 2009/12/1 Alex Deucher : >> > On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher >> > wrote: >> >> This enables the use of interrupts on r6xx/r7xx hardware. Interrupts >> >> are

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Michel Dänzer
On Tue, 2009-12-01 at 08:03 +0100, Rafał Miłecki wrote: > 2009/12/1 Alex Deucher : > > On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher wrote: > >> This enables the use of interrupts on r6xx/r7xx hardware. Interrupts > >> are implemented via a ring buffer. The GPU adds interrupts vectors to > >> th

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Rafał Miłecki
2009/12/1 Alex Deucher : > On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher wrote: >> This enables the use of interrupts on r6xx/r7xx hardware. Interrupts >> are implemented via a ring buffer.  The GPU adds interrupts vectors to >> the ring and the host reads them off in the interrupt handler.  The >

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Dave Airlie
> > > This enables the use of interrupts on r6xx/r7xx hardware. Interrupts > > are implemented via a ring buffer. The GPU adds interrupts vectors to > > the ring and the host reads them off in the interrupt handler. The > > interrupt controller requires firmware like the CP. This firmware > > m

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Dave Airlie
> This enables the use of interrupts on r6xx/r7xx hardware. Interrupts > are implemented via a ring buffer. The GPU adds interrupts vectors to > the ring and the host reads them off in the interrupt handler. The > interrupt controller requires firmware like the CP. This firmware > must be insta

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Dave Airlie
> This enables the use of interrupts on r6xx/r7xx hardware. Interrupts > are implemented via a ring buffer. The GPU adds interrupts vectors to > the ring and the host reads them off in the interrupt handler. The > interrupt controller requires firmware like the CP. This firmware > must be insta

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Alex Deucher
her Date: Mon, 30 Nov 2009 18:05:53 -0500 Subject: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips v2 This enabled the use of interrupts on r6xx/r7xx hardware. Interrupts are implemented via a ring buffer. The GPU adds interrupts vectors to the ring and the host reads them of

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Rafał Miłecki
2009/11/30 Alex Deucher : > This enables the use of interrupts on r6xx/r7xx hardware. Interrupts > are implemented via a ring buffer.  The GPU adds interrupts vectors to > the ring and the host reads them off in the interrupt handler.  The > interrupt controller requires firmware like the CP.  This

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Rafał Miłecki
2009/11/30 Alex Deucher : > This enables the use of interrupts on r6xx/r7xx hardware. Interrupts > are implemented via a ring buffer.  The GPU adds interrupts vectors to > the ring and the host reads them off in the interrupt handler.  The > interrupt controller requires firmware like the CP.  This

[PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Alex Deucher
accessible to the firmware loader for interrupts to function. Alex From c415802e12563ea1f1ef3cd46a004ce6cc2300ff Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Mon, 30 Nov 2009 13:45:31 -0500 Subject: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips This enabled the use of