Skip to contentSkip to conversation

New: Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558"

Bug 59945 [email protected] 1 participant 7 messages Jan 27, 2013 – Jan 28, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=59945

Priority: medium
Bug ID: 59945
Assignee: [email protected]
Summary: Launching weston fails with error "radeon
0000:01:00.0: forbidden register 0x00008040 at 558"
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: XOrg CVS
Component: DRM/Radeon
Product: DRI

Created attachment 73742
--> https://bugs.freedesktop.org/attachment.cgi?id=73742&action=edit
patch

When i looked up register 0x00008040 i saw that it was defined as WAIT_UNTIL.

The function that prints that error is 'evergreen_cs_check_reg' in evergreen_cs.c. Since the WAIT_UNTIL is not present in reg_srcs/cayman (i have a radeon 6950) the cayman_reg_safe_bm test fail and since WAIT_UNTIL is not present in any of the switch cases it hits the default case.

But WAIT_UNTIL was present in reg_srcs/evergreen, so i copied the WAIT_UNTIL line from evergreen to cayman. I also copied the rest of the WAIT_UNTIL_POLL* because they seemed related.

This fixed the issue for me but i do not know if this is the proper fix.

Tested on kernel 3.8.0-rc5 and wayland/weston master and mesa master.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558"

https://bugs.freedesktop.org/show_bug.cgi?id=59945

--- Comment #1 from Martin Andersson <[email protected]> --- Created attachment 73743
--> https://bugs.freedesktop.org/attachment.cgi?id=73743&action=edit
dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558"

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=59945

--- Comment #2 from Martin Andersson <[email protected]> --- Created attachment 73744
--> https://bugs.freedesktop.org/attachment.cgi?id=73744&action=edit
weston

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558"

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=59945

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Product|DRI                         |Mesa
            Version|XOrg CVS                    |unspecified
          Component|DRM/Radeon                  |Drivers/Gallium/r600

--- Comment #3 from Alex Deucher <[email protected]> --- This is actually a mesa bug caused by:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=24b1206ab2dcd506aaac3ef656aebc8bc20cd27a

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558"

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=59945

--- Comment #4 from Alex Deucher <[email protected]> --- Created attachment 73753
--> https://bugs.freedesktop.org/attachment.cgi?id=73753&action=edit
possible fix

The attached mesa patch should fix the issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558"

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=59945

--- Comment #5 from Martin Andersson <[email protected]> --- Your patch fixes the issue, thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558"

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=59945

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Alex Deucher <[email protected]> --- fixed in:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e110c98cae0ceae47db6cf26c08707505ce92479

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel