Radeon 4670 DRM

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Radeon 4670 DRM

Henry Precheur
I've added the Radeon 4670 PCI ID in radeon_drv.c (See diff at the end).
It kind of works, Xorg starts and it's fast. But when I launch glxgears,
I get the following error:

  drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg fo  more info.

In dmesg, I get:

  error: [drm:pid18619:r300_emit_carefully_checked_packet0] *ERROR* Register 4e4c failed check as flag=00
  error: [drm:pid18619:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet0 failed

The driver used is radeon. Would radeonhd help? Should I report this
problem to the xorg-driver-ati devs or could it be an OpenBSD only
issue?


Cheers,


Index: radeon_drv.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/radeon_drv.c,v
retrieving revision 1.45
diff -u -p -u -r1.45 radeon_drv.c
--- radeon_drv.c        1 Jul 2010 23:11:35 -0000       1.45
+++ radeon_drv.c        5 Jul 2010 19:23:18 -0000
@@ -511,6 +511,8 @@ const static struct drm_pcidev radeondrm
            CHIP_RV710|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP},
        {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4650,
            CHIP_RV730|RADEON_NEW_MEMMAP},
+       {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4670,
+           CHIP_RV730|RADEON_NEW_MEMMAP},
        {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4850,
            CHIP_RV770|RADEON_NEW_MEMMAP},
        {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4870,

--
  Henry Prjcheur