From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Guenter Subject: New Radeon DPM not working on E350 APU Date: Mon, 8 Jul 2013 11:57:39 -0600 Message-ID: <20130708175739.GA23537@untroubled.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2121839128==" Return-path: Received: from zak.futurequest.net (zak.futurequest.net [69.5.6.152]) by gabe.freedesktop.org (Postfix) with SMTP id 55C9AE6149 for ; Mon, 8 Jul 2013 11:04:23 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2121839128== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am having problems using the new Radeon DPM patches on my AMD E-350 APU system. Running the kernel with radeon.dpm=3D0 works as expected (I used it for several hours yesterday with no problems), but with radeon.dpm=3D1 it locks up graphically as soon as X starts. I am able to log in through the network though, and have retrieved a dmesg. Visually, when X starts, the screen fills with non-moving colored random static. After a few seconds, it changes color to red and then slowly fades to white. No mouse pointer or anything else is visible. The system is running Ubuntu Gnome 13.04. The kernel is 3.10.0 with the latest agd5f/drm-next-3.11-wip merged in. The two main differences between dmesg from a working boot and from a failed one is the listing of the power states 0-5 and notes that it's switching from the "boot" to "performance" power state; and then, later when X starts, these errors: radeon 0000:00:01.0: GPU lockup CP stall for more than 10000msec radeon 0000:00:01.0: GPU lockup (waiting for 0x0000000000000003 last fence = id 0x0000000000000001) radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000177118= and cpu addr 0xffffc90005318118 radeon 0000:00:01.0: Saved 55 dwords of commands on ring 0. radeon 0000:00:01.0: GPU softreset: 0x00000009 radeon 0000:00:01.0: GRBM_STATUS =3D 0xB2433828 radeon 0000:00:01.0: GRBM_STATUS_SE0 =3D 0x08000007 radeon 0000:00:01.0: GRBM_STATUS_SE1 =3D 0x00000007 radeon 0000:00:01.0: SRBM_STATUS =3D 0x20000040 radeon 0000:00:01.0: SRBM_STATUS2 =3D 0x00000000 radeon 0000:00:01.0: R_008674_CP_STALLED_STAT1 =3D 0x00000000 radeon 0000:00:01.0: R_008678_CP_STALLED_STAT2 =3D 0x40000000 radeon 0000:00:01.0: R_00867C_CP_BUSY_STAT =3D 0x00008000 radeon 0000:00:01.0: R_008680_CP_STAT =3D 0x80228643 radeon 0000:00:01.0: R_00D034_DMA_STATUS_REG =3D 0x44C83D57 radeon 0000:00:01.0: GRBM_SOFT_RESET=3D0x00007F6B radeon 0000:00:01.0: SRBM_SOFT_RESET=3D0x00000100 radeon 0000:00:01.0: GRBM_STATUS =3D 0x00003828 radeon 0000:00:01.0: GRBM_STATUS_SE0 =3D 0x00000007 radeon 0000:00:01.0: GRBM_STATUS_SE1 =3D 0x00000007 radeon 0000:00:01.0: SRBM_STATUS =3D 0x20000040 radeon 0000:00:01.0: SRBM_STATUS2 =3D 0x00000000 radeon 0000:00:01.0: R_008674_CP_STALLED_STAT1 =3D 0x00000000 radeon 0000:00:01.0: R_008678_CP_STALLED_STAT2 =3D 0x00000000 radeon 0000:00:01.0: R_00867C_CP_BUSY_STAT =3D 0x00000000 radeon 0000:00:01.0: R_008680_CP_STAT =3D 0x00000000 radeon 0000:00:01.0: R_00D034_DMA_STATUS_REG =3D 0x44C83D57 radeon 0000:00:01.0: GPU reset succeeded, trying to resume [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). radeon 0000:00:01.0: WB enabled radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000018000c00= and cpu addr 0xffff8801f7fe6c00 radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000018000c0c= and cpu addr 0xffff8801f7fe6c0c radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000177118= and cpu addr 0xffffc90005db2118 [drm] ring test on 0 succeeded in 0 usecs [drm] ring test on 3 succeeded in 0 usecs [drm] ring test on 5 succeeded in 1 usecs [drm] UVD initialized successfully. radeon 0000:00:01.0: GPU lockup CP stall for more than 10000msec radeon 0000:00:01.0: GPU lockup (waiting for 0x0000000000000004 last fence = id 0x0000000000000001) [drm:r600_ib_test] *ERROR* radeon: fence wait failed (-35). [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-= 35). radeon 0000:00:01.0: ib ring test failed (-35). radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000177118= and cpu addr 0xffffc90005318118 radeon 0000:00:01.0: GPU softreset: 0x00000009 radeon 0000:00:01.0: GRBM_STATUS =3D 0xB3533828 radeon 0000:00:01.0: GRBM_STATUS_SE0 =3D 0x2C000007 radeon 0000:00:01.0: GRBM_STATUS_SE1 =3D 0x00000007 radeon 0000:00:01.0: SRBM_STATUS =3D 0x20000040 radeon 0000:00:01.0: SRBM_STATUS2 =3D 0x00000000 radeon 0000:00:01.0: R_008674_CP_STALLED_STAT1 =3D 0x00000000 radeon 0000:00:01.0: R_008678_CP_STALLED_STAT2 =3D 0x400C0000 radeon 0000:00:01.0: R_00867C_CP_BUSY_STAT =3D 0x00048000 radeon 0000:00:01.0: R_008680_CP_STAT =3D 0x80268643 radeon 0000:00:01.0: R_00D034_DMA_STATUS_REG =3D 0x44C83D57 radeon 0000:00:01.0: GRBM_SOFT_RESET=3D0x00007F6B radeon 0000:00:01.0: SRBM_SOFT_RESET=3D0x00000100 radeon 0000:00:01.0: GRBM_STATUS =3D 0x00003828 radeon 0000:00:01.0: GRBM_STATUS_SE0 =3D 0x00000007 radeon 0000:00:01.0: GRBM_STATUS_SE1 =3D 0x00000007 radeon 0000:00:01.0: SRBM_STATUS =3D 0x20000040 radeon 0000:00:01.0: SRBM_STATUS2 =3D 0x00000000 radeon 0000:00:01.0: R_008674_CP_STALLED_STAT1 =3D 0x00000000 radeon 0000:00:01.0: R_008678_CP_STALLED_STAT2 =3D 0x00000000 radeon 0000:00:01.0: R_00867C_CP_BUSY_STAT =3D 0x00000000 radeon 0000:00:01.0: R_008680_CP_STAT =3D 0x00000000 radeon 0000:00:01.0: R_00D034_DMA_STATUS_REG =3D 0x44C83D57 radeon 0000:00:01.0: GPU reset succeeded, trying to resume [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). radeon 0000:00:01.0: WB enabled radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000018000c00= and cpu addr 0xffff8801f7fe6c00 radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000018000c0c= and cpu addr 0xffff8801f7fe6c0c radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000177118= and cpu addr 0xffffc90005c32118 [drm] ring test on 0 succeeded in 1 usecs [drm] ring test on 3 succeeded in 1 usecs [drm] ring test on 5 succeeded in 1 usecs [drm] UVD initialized successfully. --=20 Bruce Guenter http://untroubled.org/ --DocE+STaALJfprDB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJR2v2TAAoJEFFRvcnBTTxnuAYP/juH2PgS6Z3hRbeGCJEPxAPi /qinuO4c8LuZHQByYlqnAUOqPrVtOzX9MXR5THnXXSBcddE/0/esY1r/aAgwk2MA +znnsNjWP9Ex/hsgO7EtPKow1uN+S2X5s0zKlYTHQoXS4eKcaoOtJLBo8IuM/kBj LaKWf2BSsqtU9Oofcdm2E45W6oiPnV/oKW3QcJlD4gQKYrezG6hVuhLdEoYfFKjh JEVhCAJzbiVOQeILVzE/HdYjLJXeGVmSZj9XcLePSykypASyYhGT1QIEpNLs865l tvZPURbFcYOemI0rkLMyDueGDaBAT7MHm80vPlP2w561FKfXznpaUR8EO+lVFOhT aSXV1jwpi6TicRNWVo7gEoPY34O/WeGXsvwPvRcbdiFBmLKLbqIrA+792+G4OFbp LbXbX8yU1ipAyYZe84cIIgGlWwtBIY1jN8JpmVPBUJ6BdDRYoZ+q+B3nokYm1Tvh 2gV0mBrKQhYt9xCex7WXDZW3dmmNZGHhLBGMlGqAGiYSGLkoD2xtBNG/6VtTxeTo YGQeR15sCvME/vCdvCK/fiuwJncVp9s5HK7xF+rES7HHuVYD6hy5OYoxEwf5xgV+ Y6RD/vO8okDxAdczjKVc8H9xGtsQRT8dnLpmKwFiU3De5BVE4ENRvrxdYbTZ2bB6 C96UsQqR6RnrViyq6n3s =2JB4 -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- --===============2121839128== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2121839128==--