New: [KMS] Hw i2c patch doesn't work fully on rv280
http://bugs.freedesktop.org/show_bug.cgi?id=26430
Summary: [KMS] Hw i2c patch doesn't work fully on rv280
Product: DRI
Version: XOrg CVS
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
Using patches from
http://people.freedesktop.org/~agd5f/
0001-drm-radeon-kms-add-radeon-i2c-algo.patch 0002-drm-radeon-kms-add-support-for-hw-i2c-on-r1xx-r5xx.patch
on top of mainline kernel (2.6.33-rc6-git2, one with locally reverted idr commit)
i get strange resolution in X, probably related to
[drm:r100_hw_i2c_xfer], i2c write error 0x04800302 [drm:edid_is_valid] *ERROR* Raw EDID:
<3>00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ................ <3>00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ................ <3>00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ................ <3>00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ................ <3>00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ................ <3>00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ................ <3>00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ................ <3>00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ................
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 --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #1 from Andrew Randrianasulu <[email protected]> 2010-02-04 10:14:51 PST --- Created an attachment (id=33075)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33075)
dmesg
sorry guys, playing "add bug fast, until machine freeze over (under) you"
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 --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
Andrew Randrianasulu <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33075|0 |1
is obsolete| |
--- Comment #2 from Andrew Randrianasulu <[email protected]> 2010-02-04 10:16:17 PST --- Created an attachment (id=33076)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33076)
dmesg
wrong log
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 --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #3 from Andrew Randrianasulu <[email protected]> 2010-02-04 10:21:14 PST --- For this experiment I used mainline kernel
commit e9e70bc14ea5974e21f5baecf95a123844c412b9
Merge: c031d52 58424a4
Author: Linus Torvalds <[email protected]>
Date: Wed Feb 3 16:08:50 2010 -0800
Merge branch 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze
with one commit revered:
"idr: fix a critical misallocation bug"
but it isn't stablest kernel in my life ....
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 --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
Andrew Randrianasulu <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|All |Linux (All)
Platform|Other |x86 (IA32)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 --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #4 from Michel Dänzer <[email protected]> 2010-02-16 02:02:18 PST --- I had similar problems with Alex's initial HW I2C changes, but it's fixed for me with current drm-radeon-testing. Can you try that?
Signature · 12 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #5 from Andrew Randrianasulu <[email protected]> 2010-02-16 10:27:50 PST --- (In reply to comment #4)
Quoted 3 lines
I had similar problems with Alex's initial HW I2C changes, but it's fixed for me with current drm-radeon-testing. Can you try that?
No problems still here with drm-radeon-testing up to
commit 6cb8e1f71c407930f0f07feceeea1da73881038b
Author: Jerome Glisse <[email protected]> Date: Mon Feb 15 21:36:33 2010 +0100
drm/radeon/kms: fix bo's fence association
----
i'll attach dmesg
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
Andrew Randrianasulu <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33076|0 |1
is obsolete| |
--- Comment #6 from Andrew Randrianasulu <[email protected]> 2010-02-16 10:30:18 PST --- Created an attachment (id=33339)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33339)
dmesg
Radeon module loaded manually, right after drm module loaded with debug=15. Log captured before X start.
Signature · 9 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
Andrew Randrianasulu <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33339|0 |1
is obsolete| |
Attachment #33498|0 |1
is obsolete| |--- Comment #9 from Andrew Randrianasulu <[email protected]> 2010-03-11 06:02:13 PST --- Created an attachment (id=33953)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33953)
dmesg from 2.6.34-rc1-005
This is using 2.6.34-rc1 mainline kernel + patches from
http://article.gmane.org/gmane.comp.video.dri.devel/44144
0001-i2c-algo-bit-Add-pre-and-post-xfer-hooks.patch , 0002-drm-radeon-kms-use-new-pre-post_xfer-i2c-bit-algo-h.patch
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #10 from Alex Deucher <[email protected]> 2010-03-11 10:33:23 PST --- Created an attachment (id=33961)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33961)
possible fix
Does this patch help?
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #11 from Andrew Randrianasulu <[email protected]> 2010-03-11 18:52:38 PST --- (In reply to comment #10)
Quoted 1 line
Created an attachment (id=33961)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33961) [details]
Quoted 4 lines
possible fix
Does this patch help?
No, same errors in dmesg and wrong resolution in X afterward.
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #12 from Andrew Randrianasulu <[email protected]> 2010-03-11 18:54:04 PST --- Created an attachment (id=33973)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33973)
dmesg
Dmesg from 2.6.34-rc1 + i2c patches + possible fix
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #13 from Alex Deucher <[email protected]> 2010-03-12 10:01:04 PST --- Created an attachment (id=34005)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34005)
fix i2c prescale calc
This patch should hopefully do the trick. Can you try it with and without the previous patch from this bug?
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #14 from Alex Deucher <[email protected]> 2010-03-12 10:02:01 PST --- You might also try setting i2c_clock to 50 if you are still having problems.
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #15 from Andrew Randrianasulu <[email protected]> 2010-03-12 22:24:20 PST --- (In reply to comment #13)
Quoted 1 line
Created an attachment (id=34005)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34005) [details]
Quoted 5 lines
fix i2c prescale calc
This patch should hopefully do the trick. Can you try it with and without the previous patch from this bug?
Tried with and without previous patch, with i2c_clock = 60 and i2c_clock = 50 (and also 40). No good results, slightly different errors about EDID still around.
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
Andrew Randrianasulu <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33953|0 |1
is obsolete| |
Attachment #33973|0 |1
is obsolete| |--- Comment #16 from Andrew Randrianasulu <[email protected]> 2010-03-12 22:26:01 PST --- Created an attachment (id=34014)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34014)
last two attempt - 60, before - 50
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
Andrew Randrianasulu <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34014|application/octet-stream |text/plain
mime type| |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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #17 from Alex Deucher <[email protected]> 2010-03-14 08:33:47 PST --- Can you try setting m to the same thing as n? E.g.,
change:
m = loop - 2;
to:
m = loop - 1;
Also try i2c_clock values from 10 to 100;
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #18 from Andrew Randrianasulu <[email protected]> 2010-03-14 15:04:25 PST --- (In reply to comment #17)
Quoted 8 lines
Can you try setting m to the same thing as n? E.g., change:
m = loop - 2;
to:
m = loop - 1;Also try
i2c_clockvalues from 10 to 100;
No luck ... (tried 10, 20, 27, 30, 33, 40, 50, 60, 70, 80, 90 and 100, with m = loop -1 and m=loop-2)
Unfortunately, just reloading radeon module produces different results on each load.
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
Andrew Randrianasulu <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34014|0 |1
is obsolete| |
--- Comment #19 from Andrew Randrianasulu <[email protected]> 2010-03-14 15:05:32 PST --- Created an attachment (id=34042)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34042)
random edid on few module load/unloads
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #20 from Alex Deucher <[email protected]> 2010-03-16 11:58:17 PST --- Created an attachment (id=34124)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34124)
use default sclk
Perhaps there's a problem reading back the sclk on your system... Does hard coding the sclk to the default value help? Make sure you disable the dynpm stuff (dynpm=0).
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26430
--- Comment #21 from Andrew Randrianasulu <[email protected]> 2010-03-16 17:44:19 PST --- (In reply to comment #20)
Quoted 1 line
Created an attachment (id=34124)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34124) [details]
Quoted 6 lines
use default sclk
Perhaps there's a problem reading back the sclk on your system... Does hard coding the sclk to the default value help? Make sure you disable the dynpm stuff (dynpm=0).
No, original problem still here (I reverted things back to i2c_clock = 60 , m = loop - 2). I haven't tested multiple load/unload this time
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. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26430] [KMS] Hw i2c patch doesn't work fully on rv280
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26430
Martin Peres <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #22 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/97.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel