kern/149041: [Patch] DRM support for Radeon HD 4250
Oliver Fromme
olli at secnetix.de
Wed Jul 28 16:10:03 UTC 2010
>Number: 149041
>Category: kern
>Synopsis: [Patch] DRM support for Radeon HD 4250
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 28 16:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Oliver Fromme
>Release: FreeBSD 8.1-RELEASE
>Organization:
secnetix GmbH & Co. KG
http://www.secnetix.de/bsd
>Environment:
The patch applies and works on 8.1, 8-stable and HEAD.
The patch applies cleanly on 7-stable, too, but I haven't
tested whether it actually works.
>Description:
I've recently bought a new mainboard "M4A88TD-V EVO/USB3"
from ASUS. This mainboard is gaining high popularity
because it features USB 3.0, SATA-3 and other things,
while still providing legacy stuff (serial RS232, PS/2
connector for mouse/keyboard) and being rather inexpensive.
This board has a newer version of the RS880 chip; the
graphics is identified as "Radeon HD 4250".
The one-line patch below makes it work. By the way,
I noticed that Linux 2.6.33 has the same patch.
With that patch, DRM attaches and Xv acceleration works,
so I can watch video fullscreen at nearly 0% CPU load.
vgapci0: <VGA-compatible display> port 0xb000-0xb0ff mem 0xd0000000-0xdfffffff,0xfe8f0000-0xfe8fffff,0xfe700000-0xfe7fffff irq 18 at device 5.0 on pci1
drm0: <ATI Radeon HD 4250> on vgapci0
info: [drm] MSI enabled 1 message(s)
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] Initialized radeon 1.31.0 20080613
$ xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "Radeon Textured Video"
...
While Xv works now, 3D acceleration does not, unfortunately.
But I think this is a different issue; I guess the chip is
not yet supported by the GL code (but I'm not an expert in
this area).
>How-To-Repeat:
>Fix:
--- sys/dev/drm/drm_pciids.h.orig 2010-04-04 17:46:46.000000000 +0200
+++ sys/dev/drm/drm_pciids.h 2010-07-21 22:53:45.000000000 +0200
@@ -335,6 +335,7 @@
{0x1002, 0x9712, CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "ATI Mobility Radeon HD 4200"}, \
{0x1002, 0x9713, CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "ATI Mobility Radeon 4100"}, \
{0x1002, 0x9714, CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "ATI RS880"}, \
+ {0x1002, 0x9715, CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "ATI Radeon HD 4250"}, \
{0x1002, 0x9440, CHIP_RV770|RADEON_NEW_MEMMAP, "ATI Radeon 4800 Series"}, \
{0x1002, 0x9441, CHIP_RV770|RADEON_NEW_MEMMAP, "ATI Radeon 4870 X2"}, \
{0x1002, 0x9442, CHIP_RV770|RADEON_NEW_MEMMAP, "ATI Radeon 4800 Series"}, \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list