From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 59982] Radeon: evergreen Atombios in loop during initialization
on ppc64
Date: Wed, 06 Feb 2013 17:07:13 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1408756270=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 57E7AE6438
for ;
Wed, 6 Feb 2013 09:07:13 -0800 (PST)
In-Reply-To:
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
--===============1408756270==
Content-Type: multipart/alternative; boundary="1360170433.eb1F861.12174"; charset="us-ascii"
--1360170433.eb1F861.12174
Date: Wed, 6 Feb 2013 17:07:13 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=59982
--- Comment #8 from Jerome Glisse ---
Here is how we try to figure out atombios stuck. We use the atombios disasm :
git://people.freedesktop.org/~mhopf/AtomDis
To produce a readable file ./atomdis bios.rom > bios.txt
Then when you get a message such as :
*ERROR* atombios stuck executing C898 (len 62, WS 0, PS 0) @ 0xC8B4
It means it's stuck executing function that is at offset 0xc898 (look for c898
in your disasm output it's EnableCRTC. Inside that atombios function it's stuck
in a loop. 0xC8B4 is the offset of the instruction at which the loop was
interrupted (from one run to the other this offset might point to a different
instruction in the same loop).
So when you look at EnableCRTC it's stuck executing 0xC8B4 - 0xC898 = 0x1c
which is :
001c: 4aa59c1b01 TEST reg[1b9c] [.X..] <- 01
0021: 491c00 JUMP_NotEqual 001c
So test here test that register (0x1b9c << 2) ie register 0x6e70 as value of :
0x..01.... or if you prefer : (READREG(0x6e70) & 0x00ff0000) == 0x00010000
Lucas if you have any more atombios stuck don't hesitate to add them here.
To find the register meaning you can grep the various header files of
drivers/gpu/drm/radeon/ mostly evergreen one and modesetting one.
--
You are receiving this mail because:
You are the assignee for the bug.
--1360170433.eb1F861.12174
Date: Wed, 6 Feb 2013 17:07:13 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 8
on bug 59982
from Jerome Glisse
Here is how we try to figure out atombios stuck. We use the atombios disasm :
git://people.freedesktop.org/~mhopf/AtomDis
To produce a readable file ./atomdis bios.rom > bios.txt
Then when you get a message such as :
*ERROR* atombios stuck executing C898 (len 62, WS 0, PS 0) @ 0xC8B4
It means it's stuck executing function that is at offset 0xc898 (look for c898
in your disasm output it's EnableCRTC. Inside that atombios function it's stuck
in a loop. 0xC8B4 is the offset of the instruction at which the loop was
interrupted (from one run to the other this offset might point to a different
instruction in the same loop).
So when you look at EnableCRTC it's stuck executing 0xC8B4 - 0xC898 = 0x1c
which is :
001c: 4aa59c1b01 TEST reg[1b9c] [.X..] <- 01
0021: 491c00 JUMP_NotEqual 001c
So test here test that register (0x1b9c << 2) ie register 0x6e70 as value of :
0x..01.... or if you prefer : (READREG(0x6e70) & 0x00ff0000) == 0x00010000
Lucas if you have any more atombios stuck don't hesitate to add them here.
To find the register meaning you can grep the various header files of
drivers/gpu/drm/radeon/ mostly evergreen one and modesetting one.
You are receiving this mail because:
- You are the assignee for the bug.
--1360170433.eb1F861.12174--
--===============1408756270==
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
--===============1408756270==--