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 zaj...@gmail.com: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: 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

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

2009-12-07 Thread Alex Deucher
2009/12/7 Mike Lothian m...@fireburn.co.uk: 2009/12/1 Rafał Miłecki zaj...@gmail.com: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: 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

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

2009-12-07 Thread Mike Lothian
2009/12/7 Alex Deucher alexdeuc...@gmail.com: 2009/12/7 Mike Lothian m...@fireburn.co.uk: 2009/12/1 Rafał Miłecki zaj...@gmail.com: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: Round 3. This fixed my lose of VBLANK interrupts after few seconds, but I still have issue with fences after

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 m...@fireburn.co.uk wrote: 2009/12/7 Alex Deucher alexdeuc...@gmail.com: 2009/12/7 Mike Lothian m...@fireburn.co.uk: 2009/12/1 Rafał Miłecki zaj...@gmail.com: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: Round 3. This fixed my lose of VBLANK

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

2009-12-07 Thread Mike Lothian
2009/12/7 Alex Deucher alexdeuc...@gmail.com: On Mon, Dec 7, 2009 at 5:53 PM, Mike Lothian m...@fireburn.co.uk wrote: 2009/12/7 Alex Deucher alexdeuc...@gmail.com: 2009/12/7 Mike Lothian m...@fireburn.co.uk: 2009/12/1 Rafał Miłecki zaj...@gmail.com: 2009/12/1 Alex Deucher

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

2009-12-07 Thread Mike Lothian
2009/12/7 Alex Deucher alexdeuc...@gmail.com: On Mon, Dec 7, 2009 at 5:53 PM, Mike Lothian m...@fireburn.co.uk wrote: 2009/12/7 Alex Deucher alexdeuc...@gmail.com: 2009/12/7 Mike Lothian m...@fireburn.co.uk: 2009/12/1 Rafał Miłecki zaj...@gmail.com: 2009/12/1 Alex Deucher

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 mic...@daenzer.net napisał: On Tue, 2009-12-01 at 08:03 +0100, Rafał Miłecki wrote: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher alexdeuc...@gmail.com wrote: This enables the use of

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 mic...@daenzer.net napisał: On Tue, 2009-12-01 at 08:03 +0100, Rafał Miłecki wrote: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher

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 mic...@daenzer.net 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

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 mic...@daenzer.net 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

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 mic...@daenzer.net 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

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 mic...@daenzer.net 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

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

2009-12-01 Thread Alex Deucher
From dba48f0b17c661b7650ff796c38bea172c89b8b3 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com 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

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 alexdeuc...@gmail.com: 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

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

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

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 alexdeuc...@gmail.com: 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

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 alexdeuc...@gmail.com: 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

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

2009-11-30 Thread Alex Deucher
alexdeuc...@gmail.com 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

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 installed

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 installed

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

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 alexdeuc...@gmail.com: On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher alexdeuc...@gmail.com 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

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 alexdeuc...@gmail.com: On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher alexdeuc...@gmail.com wrote: This enables the use of interrupts on r6xx/r7xx hardware. Interrupts are implemented via a ring buffer. The GPU