Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 16:15:24 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Martin Kristensen <martin@mk-metrics.com>, freebsd-x11@freebsd.org
Subject:   Re: APU 5757m ARUBA chipid=0x990b no /dev/dri
Message-ID:  <538643DC.4020205@FreeBSD.org>
In-Reply-To: <2b3806ee-1670-4ee0-95c2-c84d6e5b4cd9@mk-metrics.com>
References:  <1b51ca3e-95e6-473e-b8a9-4dd9751a68f0@mk-metrics.com> <537DBAEC.8050008@dumbbell.fr> <2b3806ee-1670-4ee0-95c2-c84d6e5b4cd9@mk-metrics.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030506010004010906070702
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-05-27 18:43:11 -0400, Martin Kristensen wrote:
> On Thursday, 22 May 2014 09:53:00 BST, Jean-Sébastien Pédron
> wrote:
>> On 16.05.2014 08:41, Martin Kristensen wrote:
>>> The machine is running -CURRENT with a GENERIC kernel, although
>>> I have removed the WITNESS options. I have attached output from
>>> pciconf, devinfo, dmesg and pkg info as well as Xorg.log.
>> 
>> The list probably ate the attachments. Could you please retry or
>> post them somewhere?
>> 
> 
> File links below:
> 
> http://mk-metrics.com/Xorg.0.log http://mk-metrics.com/dmesg.txt 
> http://mk-metrics.com/devinfo.txt 
> http://mk-metrics.com/pciconf.txt http://mk-metrics.com/pkg.txt
> 
> Hope this helps.
> 
> Since my original email I have tried the development branch and
> while xorg 14.5 starts just fine, there is no change in the driver
> status. Also the mouse is no longer detected.

Please try the attached patch.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJThkPcAAoJEHyflib82/FGKHgH/jHRotAJP8CDGYbnvCmosZpG
wWMaXBCgVeRnAmVfb8iDaw+OpxDdrHOW55B1tMPmUaKZO+paMwRylyMHWkevlNa3
JPJLFoDFRsUjP8Ben+Yqgwjey8w6Gp6fOs/fnQ29pGdaH70y2wPCVMcrXdB1Dbr7
FZrW8j41o/6IiPgMM+ffOTZuNmyMGWpnX7md0oFc8AL3XPsF0TPE20lIwpaWOsZb
TI0bI2FzWqO065r7/ISiL87ci/DImNf76pInoK2R5grpzvVvbZyeTznr7h0zc0dr
W2QTmjIXRakMK/ho4vqwLrGZnQOC/KwIf2LtMb7FgwOdnU516D5jQKR/17ZYmYo=
=Qv/G
-----END PGP SIGNATURE-----

--------------030506010004010906070702
Content-Type: text/x-patch;
 name="drm2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="drm2.diff"

Index: sys/dev/drm2/drm_pciids.h
===================================================================
--- sys/dev/drm2/drm_pciids.h	(revision 266821)
+++ sys/dev/drm2/drm_pciids.h	(working copy)
@@ -908,7 +908,11 @@
 	{0x1002, 0x9908, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7600G]"}, \
 	{0x1002, 0x9909, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7500G]"}, \
 	{0x1002, 0x990A, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7500G]"}, \
-	{0x1002, 0x990F, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Unknown device name"}, \
+	{0x1002, 0x990B, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8650G]"}, \
+	{0x1002, 0x990C, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8670D]"}, \
+	{0x1002, 0x990D, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8550G]"}, \
+	{0x1002, 0x990E, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8570D]"}, \
+	{0x1002, 0x990F, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8610G]"}, \
 	{0x1002, 0x9910, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7660G]"}, \
 	{0x1002, 0x9913, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7640G]"}, \
 	{0x1002, 0x9917, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7620G]"}, \
@@ -919,6 +923,15 @@
 	{0x1002, 0x9992, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7420G]"}, \
 	{0x1002, 0x9993, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7480D]"}, \
 	{0x1002, 0x9994, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7400G]"}, \
+	{0x1002, 0x9995, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8450G]"}, \
+	{0x1002, 0x9996, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8470D]"}, \
+	{0x1002, 0x9997, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8350G]"}, \
+	{0x1002, 0x9998, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8370D]"}, \
+	{0x1002, 0x9999, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8510G]"}, \
+	{0x1002, 0x999A, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8410G]"}, \
+	{0x1002, 0x999B, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8310G]"}, \
+	{0x1002, 0x999C, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8650D]"}, \
+	{0x1002, 0x999D, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Richland [Radeon HD 8550D]"}, \
 	{0x1002, 0x99A0, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7520G]"}, \
 	{0x1002, 0x99A2, CHIP_ARUBA|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7420G]"}, \
 	{0x1002, 0x99A4, CHIP_ARUBA|RADEON_NEW_MEMMAP|RADEON_IS_IGP, "Trinity [Radeon HD 7400G]"}, \
Index: sys/dev/drm2/radeon/ni.c
===================================================================
--- sys/dev/drm2/radeon/ni.c	(revision 266821)
+++ sys/dev/drm2/radeon/ni.c	(working copy)
@@ -478,15 +478,23 @@ static void cayman_gpu_init(struct radeon_device *
 		    (rdev->ddev->pci_device == 0x9907) ||
 		    (rdev->ddev->pci_device == 0x9908) ||
 		    (rdev->ddev->pci_device == 0x9909) ||
+		    (rdev->ddev->pci_device == 0x990B) ||
+		    (rdev->ddev->pci_device == 0x990C) ||
+		    (rdev->ddev->pci_device == 0x990F) ||
 		    (rdev->ddev->pci_device == 0x9910) ||
-		    (rdev->ddev->pci_device == 0x9917)) {
+		    (rdev->ddev->pci_device == 0x9917) ||
+		    (rdev->ddev->pci_device == 0x9999) ||
+		    (rdev->ddev->pci_device == 0x999C)) {
 			rdev->config.cayman.max_simds_per_se = 6;
 			rdev->config.cayman.max_backends_per_se = 2;
 		} else if ((rdev->ddev->pci_device == 0x9903) ||
 			   (rdev->ddev->pci_device == 0x9904) ||
 			   (rdev->ddev->pci_device == 0x990A) ||
+			   (rdev->ddev->pci_device == 0x990D) ||
+			   (rdev->ddev->pci_device == 0x990E) ||
 			   (rdev->ddev->pci_device == 0x9913) ||
-			   (rdev->ddev->pci_device == 0x9918)) {
+			   (rdev->ddev->pci_device == 0x9918) ||
+			   (rdev->ddev->pci_device == 0x999D)) {
 			rdev->config.cayman.max_simds_per_se = 4;
 			rdev->config.cayman.max_backends_per_se = 2;
 		} else if ((rdev->ddev->pci_device == 0x9919) ||
@@ -493,6 +501,9 @@ static void cayman_gpu_init(struct radeon_device *
 			   (rdev->ddev->pci_device == 0x9990) ||
 			   (rdev->ddev->pci_device == 0x9991) ||
 			   (rdev->ddev->pci_device == 0x9994) ||
+			   (rdev->ddev->pci_device == 0x9995) ||
+			   (rdev->ddev->pci_device == 0x9996) ||
+			   (rdev->ddev->pci_device == 0x999A) ||
 			   (rdev->ddev->pci_device == 0x99A0)) {
 			rdev->config.cayman.max_simds_per_se = 3;
 			rdev->config.cayman.max_backends_per_se = 1;

--------------030506010004010906070702--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538643DC.4020205>