Skip to contentSkip to conversation

New: rv280 in KMS mode triggers "Forbidden register 0x22D0"

Bug 26061 [email protected] 1 participant 4 messages Jan 15, 2010 – Feb 1, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=26061

           Summary: rv280 in KMS mode triggers "Forbidden register 0x22D0"
           Product: Mesa
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r200
        AssignedTo: [email protected]
        ReportedBy: [email protected]

Hello.

After some time i found agpmode 1x working in KMS mode so I started to test my agp radeon again (in fallback PCI mode it lock up my machine after some 3d activity)

hw is

RV280 5964

01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01) (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Excalibur 9200SE VIVO 128M
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16 Memory at d0000000 (32-bit, prefetchable) [size=128M]
I/O ports at c800 [size=256]
Memory at dfef0000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at dfec0000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
Kernel driver in use: radeon
Kernel modules: radeon, radeonfb

sw:

drm:
commit d207a38701d664ac818829249d4d2566349bb359

Author: Jakob Bornecrantz <[email protected]>
Date:   Fri Jan 8 15:34:44 2010 +0000

tests: Add a very small libkms test

mesa
commit d1767bfdabac4fd1eedb1ad9ddea368e077725c6

Author: Michal Krol <[email protected]>
Date:   Fri Jan 15 11:40:03 2010 +0100

tgsi: Fix sanity checks for indirect registers.

xserver
commit 44f9c3d16c9c9b3362306a9ba26ee52e7baafeca
Merge: 032f978... 84956ca...
Author: Keith Packard <[email protected]>
Date: Wed Jan 13 10:19:21 2010 -0800

Merge remote branch 'jbarnes/master'

kernel - Linus's master git tree, up to commit 61c39bb354a1f791ba6f562b766a72e508a036ee
Merge: 4a24eef... c540607...
Author: Linus Torvalds <[email protected]>
Date: Thu Jan 14 08:37:53 2010 -0800

    Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6
Quoted 1 line

From dmesg:

Forbidden register 0x22D0 in cs at 104 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! Forbidden register 0x22D0 in cs at 6708 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

after testing 3DMark2000/3DMark2001 in wine 1.1.35

Quoted 1 line

From brief google search 0x22D0 (on r200) seems to be R200_VAP_PVS_CNTL_1 :

http://www.opensubscriber.com/message/[email protected]/4305045.html

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#1 lore raw

[Bug 26061] rv280 in KMS mode triggers "Forbidden register 0x22D0"

http://bugs.freedesktop.org/show_bug.cgi?id=26061

--- Comment #1 from Andrew Randrianasulu <[email protected]> 2010-01-16 14:03:36 PST --- patch like this allow 3Dmark2000 process further:

(quoted diff) +0 -0

b/drivers/gpu/drm/radeon/reg_srcs/r200
index 6021c88..2c4c43c 100644

drivers/gpu/drm/radeon/reg_srcs/r200 +2 -0
@@ -91,6 +91,8 @@ r200 0x3294
 0x22b8 SE_TCL_TEX_CYL_WRAP_CTL
 0x22c0 SE_TCL_UCP_VERT_BLEND_CNTL
 0x22c4 SE_TCL_POINT_SPRITE_CNTL
+0x22d0 VAP_PVS_CNTL_1
+0x22d4 VAP_PVS_CNTL_2
 0x2648 RE_POINTSIZE
 0x26c0 RE_TOP_LEFT
 0x26c4 RE_MISC
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#2 lore raw

[Bug 26061] rv280 in KMS mode triggers "Forbidden register 0x22D0"

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26061

--- Comment #2 from Alex Deucher <[email protected]> 2010-01-20 09:00:50 PST --- Created an attachment (id=32744)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32744)
patch for upstream

good catch. patch for upstream.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
#3 lore raw

[Bug 26061] rv280 in KMS mode triggers "Forbidden register 0x22D0"

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26061

Fabio Pedretti <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Fabio Pedretti <[email protected]> 2010-02-01 04:50:40 PST --- Patch merged in 2.6.33-rc6.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--