[Bug 59982] Radeon: evergreen Atombios in loop during initialization on ppc64
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 8 09:17:52 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=59982
--- Comment #10 from Lucas Kannebley Tavares <lucaskt at linux.vnet.ibm.com> ---
Hi Jerome, thanks for the tips.
Well, I followed the next error
[drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[drm:atom_execute_table_locked] *ERROR* atombios stuck executing CC68 (len 72,
WS 0, PS 0) @ 0xCC97
Down to the test in 0x2f on 0xcc68.
command_table 0000cc68 #2c (UpdateCRTC_DoubleBufferRegisters):
...
0027: 5420b51b CLEAR reg[1bb5] [...X]
002b: 5420bd1b CLEAR reg[1bbd] [...X]
002f: 4a25b61b01 TEST reg[1bb6] [...X] <- 01
I have a question here: how do I determine what are these registers? I couldn't
match 1bb6 to anything on the radeon driver code, so I suppose that's somewhere
else... or is there some other way to read that?
Anyway, I backtracked that code back to this call on atombios_crtc.c:
static void atombios_lock_crtc(struct drm_crtc *crtc, int lock)
{
...
int index =
GetIndexIntoMasterTable(COMMAND, UpdateCRTC_DoubleBufferRegisters);
...
atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
}
which could've come from either of these:
static void atombios_crtc_prepare(struct drm_crtc *crtc)
static void atombios_crtc_commit(struct drm_crtc *crtc)
Since those are callbacks registered as helper funcs, and I'm not sure of their
semantics, I ended up getting stuck :)
static const struct drm_crtc_helper_funcs atombios_helper_funcs = {
.prepare = atombios_crtc_prepare,
.commit = atombios_crtc_commit,
Any ideas here?
Thanks! :)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130208/29aee358/attachment.html>
More information about the dri-devel
mailing list