From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 59945] New: Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558" Date: Sun, 27 Jan 2013 21:36:38 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2066787002==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9EC5FE5C69 for ; Sun, 27 Jan 2013 13:36:38 -0800 (PST) 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 --===============2066787002== Content-Type: multipart/alternative; boundary="1359322598.BcCD80.12485"; charset="us-ascii" --1359322598.BcCD80.12485 Date: Sun, 27 Jan 2013 21:36:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=59945 Priority: medium Bug ID: 59945 Assignee: dri-devel@lists.freedesktop.org Summary: Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558" Severity: normal Classification: Unclassified OS: Linux (All) Reporter: g02maran@gmail.com 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. -- You are receiving this mail because: You are the assignee for the bug. --1359322598.BcCD80.12485 Date: Sun, 27 Jan 2013 21:36:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 59945
Assignee dri-devel@lists.freedesktop.org
Summary Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558"
Severity normal
Classification Unclassified
OS Linux (All)
Reporter g02maran@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version XOrg CVS
Component DRM/Radeon
Product DRI

Created attachment 73742 [details]
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.


You are receiving this mail because:
  • You are the assignee for the bug.
--1359322598.BcCD80.12485-- --===============2066787002== 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 --===============2066787002==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558" Date: Sun, 27 Jan 2013 21:37:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0638908198==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E454CE63EE for ; Sun, 27 Jan 2013 13:37:06 -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 --===============0638908198== Content-Type: multipart/alternative; boundary="1359322626.3FB6B53e0.12550"; charset="us-ascii" --1359322626.3FB6B53e0.12550 Date: Sun, 27 Jan 2013 21:37:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=59945 --- Comment #1 from Martin Andersson --- Created attachment 73743 --> https://bugs.freedesktop.org/attachment.cgi?id=73743&action=edit dmesg -- You are receiving this mail because: You are the assignee for the bug. --1359322626.3FB6B53e0.12550 Date: Sun, 27 Jan 2013 21:37:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1359322626.3FB6B53e0.12550-- --===============0638908198== 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 --===============0638908198==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558" Date: Sun, 27 Jan 2013 21:37:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0815276656==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1FEFBE5C69 for ; Sun, 27 Jan 2013 13:37:31 -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 --===============0815276656== Content-Type: multipart/alternative; boundary="1359322650.fCdC34Ac0.12608"; charset="us-ascii" --1359322650.fCdC34Ac0.12608 Date: Sun, 27 Jan 2013 21:37:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=59945 --- Comment #2 from Martin Andersson --- Created attachment 73744 --> https://bugs.freedesktop.org/attachment.cgi?id=73744&action=edit weston -- You are receiving this mail because: You are the assignee for the bug. --1359322650.fCdC34Ac0.12608 Date: Sun, 27 Jan 2013 21:37:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1359322650.fCdC34Ac0.12608-- --===============0815276656== 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 --===============0815276656==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558" Date: Mon, 28 Jan 2013 02:57:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1437536401==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BDF3EE5CD3 for ; Sun, 27 Jan 2013 18:57:37 -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 --===============1437536401== Content-Type: multipart/alternative; boundary="1359341857.f33cfbf00.16502"; charset="us-ascii" --1359341857.f33cfbf00.16502 Date: Mon, 28 Jan 2013 02:57:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=59945 Alex Deucher changed: What |Removed |Added ---------------------------------------------------------------------------- Product|DRI |Mesa Version|XOrg CVS |unspecified Component|DRM/Radeon |Drivers/Gallium/r600 --- Comment #3 from Alex Deucher --- This is actually a mesa bug caused by: http://cgit.freedesktop.org/mesa/mesa/commit/?id=24b1206ab2dcd506aaac3ef656aebc8bc20cd27a -- You are receiving this mail because: You are the assignee for the bug. --1359341857.f33cfbf00.16502 Date: Mon, 28 Jan 2013 02:57:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 59945
What Removed Added
Product DRI Mesa
Version XOrg CVS unspecified
Component DRM/Radeon Drivers/Gallium/r600


You are receiving this mail because:
  • You are the assignee for the bug.
--1359341857.f33cfbf00.16502-- --===============1437536401== 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 --===============1437536401==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558" Date: Mon, 28 Jan 2013 03:15:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1549731681==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E736E5D15 for ; Sun, 27 Jan 2013 19:15:38 -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 --===============1549731681== Content-Type: multipart/alternative; boundary="1359342938.4Ca30.18418"; charset="us-ascii" --1359342938.4Ca30.18418 Date: Mon, 28 Jan 2013 03:15:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=59945 --- Comment #4 from Alex Deucher --- Created attachment 73753 --> https://bugs.freedesktop.org/attachment.cgi?id=73753&action=edit possible fix The attached mesa patch should fix the issue. -- You are receiving this mail because: You are the assignee for the bug. --1359342938.4Ca30.18418 Date: Mon, 28 Jan 2013 03:15:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 59945 from
Created attachment 73753 [details] [review]
possible fix

The attached mesa patch should fix the issue.


You are receiving this mail because:
  • You are the assignee for the bug.
--1359342938.4Ca30.18418-- --===============1549731681== 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 --===============1549731681==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558" Date: Mon, 28 Jan 2013 08:18:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1814660511==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E2DBEE62C5 for ; Mon, 28 Jan 2013 00:18:28 -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 --===============1814660511== Content-Type: multipart/alternative; boundary="1359361108.eB5eCB0B0.17795"; charset="us-ascii" --1359361108.eB5eCB0B0.17795 Date: Mon, 28 Jan 2013 08:18:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=59945 --- Comment #5 from Martin Andersson --- Your patch fixes the issue, thanks. -- You are receiving this mail because: You are the assignee for the bug. --1359361108.eB5eCB0B0.17795 Date: Mon, 28 Jan 2013 08:18:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 59945 from
Your patch fixes the issue, thanks.


You are receiving this mail because:
  • You are the assignee for the bug.
--1359361108.eB5eCB0B0.17795-- --===============1814660511== 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 --===============1814660511==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 59945] Launching weston fails with error "radeon 0000:01:00.0: forbidden register 0x00008040 at 558" Date: Mon, 28 Jan 2013 17:24:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0780071830==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1B8C6E5CBC for ; Mon, 28 Jan 2013 09:24:51 -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 --===============0780071830== Content-Type: multipart/alternative; boundary="1359393890.D7656A0.8084"; charset="us-ascii" --1359393890.D7656A0.8084 Date: Mon, 28 Jan 2013 17:24:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=59945 Alex Deucher changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Alex Deucher --- fixed in: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e110c98cae0ceae47db6cf26c08707505ce92479 -- You are receiving this mail because: You are the assignee for the bug. --1359393890.D7656A0.8084 Date: Mon, 28 Jan 2013 17:24:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 59945
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED


You are receiving this mail because:
  • You are the assignee for the bug.
--1359393890.D7656A0.8084-- --===============0780071830== 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 --===============0780071830==--