Erdi Chen wrote:
Thomas Hellström wrote:
Thomas Hellström wrote:
Also, The irq enable IOCTL returns an error with your patch
applied. Not
before. The via specific IRQ setup routines are never called. Could
you
have a look into this?
/Thomas
You need to call drmVIAInitMAP/DRM_IOCTL_VIA_MAP_INIT
Thomas Hellström wrote:
Thomas Hellström wrote:
Also, The irq enable IOCTL returns an error with your patch applied. Not
before. The via specific IRQ setup routines are never called. Could you
have a look into this?
/Thomas
You need to call drmVIAInitMAP/DRM_IOCTL_VIA_MAP_INIT to setup
dev->dev_pr
> Thomas Hellström wrote:
>
>>
>> Also, The irq enable IOCTL returns an error with your patch applied. Not
>> before. The via specific IRQ setup routines are never called. Could you
>> have a look into this?
>>
>> /Thomas
>>
>
> You need to call drmVIAInitMAP/DRM_IOCTL_VIA_MAP_INIT to setup
> dev->
Thomas Hellström wrote:
Also, The irq enable IOCTL returns an error with your patch applied. Not
before. The via specific IRQ setup routines are never called. Could you
have a look into this?
/Thomas
You need to call drmVIAInitMAP/DRM_IOCTL_VIA_MAP_INIT to setup
dev->dev_priv before you can ins
Erdi Chen wrote:
Thomas Hellström wrote:
Hi!
Yes.. Works nice. :-).
I'm able to program the blitter from the user space XvMC lib, but as
expected not the video engine nor the mpeg player.
I've requested info from VIA about this. Let's see what happens.
What approx size of the ringbuffer would the
Thomas Hellström wrote:
Hi!
Yes.. Works nice. :-).
I'm able to program the blitter from the user space XvMC lib, but as
expected not the video engine nor the mpeg player.
I've requested info from VIA about this. Let's see what happens.
What approx size of the ringbuffer would the 3d lib need?
Cur
Hi!
Yes.. Works nice. :-).
I'm able to program the blitter from the user space XvMC lib, but as
expected not the video engine nor the mpeg player.
I've requested info from VIA about this. Let's see what happens.
What approx size of the ringbuffer would the 3d lib need?
/Thomas
--
This is a code snippet that reg_pause_addr:
VGAOUT8(0x3c4, 0x38);
device_id = VGAIN8(0x3c5) << 8;
VGAOUT8(0x3c4, 0x37);
device_id |= VGAIN8(0x3c5);
switch (device_id) {
case PCI_CHIP_CLE3122:
case PCI_CHIP_CLE3022:
pVia->Chipset = VIA_CLE266;
pVia->reg_pa
Also had a guy at the unichrome lists that reported a kernel panic within
the via modules on a 2.4.20 kernel. I have checked on 2.6.3, and it seems
OK. Have you checked 2.4?
I just checked with 2.4.27 and it all seems OK. I will update the
Unichrome project's
DDX to initialize the ring buffer
Hi, Erdi.
> Thomas Hellström wrote:
>>
>> I just noticed that you are using a 2d BITBLT to temporarily stall the
>> command regulator for a moment.
>>
>> I believe the XAA implementation in all current via 2d X server drivers
>> out there assume that they are reasonably alone in using the 2d engin
Erdi Chen wrote:
Thomas Hellström wrote:
I just noticed that you are using a 2d BITBLT to temporarily stall the
command regulator for a moment.
I believe the XAA implementation in all current via 2d X server drivers
out there assume that they are reasonably alone in using the 2d
engine and
that th
Thomas Hellström wrote:
I just noticed that you are using a 2d BITBLT to temporarily stall the
command regulator for a moment.
I believe the XAA implementation in all current via 2d X server drivers
out there assume that they are reasonably alone in using the 2d engine and
that they expext that som
On Llu, 2004-08-23 at 18:46, Erdi Chen wrote:
> > I plan to clean up the unichrome 2D driver with respect to this, but I'm
> > not sure when this will happen.
> DRI code also uses the 2D engine. How does that work?
The DRI layer wraps enough of the X driver code that the X server is
part of the DR
Hi!
Erdi Chen wrote:
Thomas Hellström wrote:
I just noticed that you are using a 2d BITBLT to temporarily stall the
command regulator for a moment.
I believe the XAA implementation in all current via 2d X server drivers
out there assume that they are reasonably alone in using the 2d
engine and
tha
Thomas Hellström wrote:
I just noticed that you are using a 2d BITBLT to temporarily stall the
command regulator for a moment.
I believe the XAA implementation in all current via 2d X server drivers
out there assume that they are reasonably alone in using the 2d engine and
that they expext that som
Hi, Erdi.
> This patch adds two new ioctl's to the VIA Unichrome/Pro DRM driver:
> DRM_IOCTL_VIA_DMA_INIT
> DRM_IOCTL_VIA_CMDBUFFER
>
> The first call sets up an area in AGP memory that will be used as the
> ring buffer. The second call copies a command buffer from user space
> memor
On Fri, Aug 20, 2004 at 07:48:44PM +0100, Keith Whitwell wrote:
> Sam Ravnborg wrote:
> >On Thu, Aug 19, 2004 at 03:26:07PM -0700, Erdi Chen wrote:
> >
> >>This patch adds two new ioctl's to the VIA Unichrome/Pro DRM driver:
> >>DRM_IOCTL_VIA_DMA_INIT
> >>DRM_IOCTL_VIA_CMDBUFFER
> >>
> >>Th
On Fri, Aug 20, 2004 at 11:32:06AM -0700, Erdi Chen wrote:
> >
> >3) What's the purpose of "#define __NO_VERSION__"
> Came from the i915_dma.c that I've used as a template. I have no idea
> what it is for. It seems to exist in many drm source files.
I was not sure but google confirmed.
__NO_VERSIO
Sam Ravnborg wrote:
On Thu, Aug 19, 2004 at 03:26:07PM -0700, Erdi Chen wrote:
This patch adds two new ioctl's to the VIA Unichrome/Pro DRM driver:
DRM_IOCTL_VIA_DMA_INIT
DRM_IOCTL_VIA_CMDBUFFER
The first call sets up an area in AGP memory that will be used as the
ring buffer. The
Thank you for your comments. This is exactly why I didn't rush to check
the code into CVS.
Sam Ravnborg wrote:
On Thu, Aug 19, 2004 at 03:26:07PM -0700, Erdi Chen wrote:
This patch adds two new ioctl's to the VIA Unichrome/Pro DRM driver:
DRM_IOCTL_VIA_DMA_INIT
DRM_IOCTL_VIA_CMDB
On Thu, Aug 19, 2004 at 03:26:07PM -0700, Erdi Chen wrote:
> This patch adds two new ioctl's to the VIA Unichrome/Pro DRM driver:
> DRM_IOCTL_VIA_DMA_INIT
> DRM_IOCTL_VIA_CMDBUFFER
>
> The first call sets up an area in AGP memory that will be used as the
> ring buffer. The second cal
21 matches
Mail list logo