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: Fri, 08 Feb 2013 17:17:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0372035215==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7FE75E5D12 for ; Fri, 8 Feb 2013 09:17:52 -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 --===============0372035215== Content-Type: multipart/alternative; boundary="1360343872.1b11c0.1629"; charset="us-ascii" --1360343872.1b11c0.1629 Date: Fri, 8 Feb 2013 17:17:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=59982 --- Comment #10 from Lucas Kannebley Tavares --- 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. --1360343872.1b11c0.1629 Date: Fri, 8 Feb 2013 17:17:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 59982 from
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.
--1360343872.1b11c0.1629-- --===============0372035215== 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 --===============0372035215==--