[Bug 26926] [KMS][RV635] broken colors/fonts on DVI-0 (DVI-1 is OK)

2010-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26926





--- Comment #2 from Rafał Miłecki zaj...@gmail.com  2010-03-06 07:04:15 PST 
---
Created an attachment (id=33811)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=33811)
colors1 bad (photo)


-- 
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#174; 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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26926] [KMS][RV635] broken colors/fonts on DVI-0 (DVI-1 is OK)

2010-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26926





--- Comment #3 from Rafał Miłecki zaj...@gmail.com  2010-03-06 07:04:29 PST 
---
Created an attachment (id=33812)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=33812)
colors1 good (screenshot)


-- 
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#174; 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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26926] [KMS][RV635] broken colors/fonts on DVI-0 (DVI-1 is OK)

2010-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26926





--- Comment #4 from Rafał Miłecki zaj...@gmail.com  2010-03-06 07:04:55 PST 
---
Created an attachment (id=33813)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=33813)
colors2 bad (photo)


-- 
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#174; 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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26926] [KMS][RV635] broken colors/fonts on DVI-0 (DVI-1 is OK)

2010-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26926





--- Comment #5 from Rafał Miłecki zaj...@gmail.com  2010-03-06 07:05:16 PST 
---
Created an attachment (id=33814)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=33814)
colors2 good (screenshot)


-- 
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#174; 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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26926] [KMS][RV635] broken colors/fonts on DVI-0 (DVI-1 is OK)

2010-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26926





--- Comment #6 from Alex Deucher ag...@yahoo.com  2010-03-06 07:08:50 PST ---
Does UMS work ok?  I suspect it's the bg/adj values for the dac.


-- 
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#174; 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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26926] [KMS][RV635] broken colors/fonts on DVI-0 (DVI-1 is OK)

2010-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26926





--- Comment #7 from Rafał Miłecki zaj...@gmail.com  2010-03-06 07:11:38 PST 
---
(In reply to comment #6)
 Does UMS work ok?  I suspect it's the bg/adj values for the dac.

At least radeonhd does work fine for both DVIs. Will test radeon soon.

Can you point me to some part of code or registers that I can compare?

Do we really submit other data for AtomBIOS DAC-controlling commands at all?


-- 
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#174; 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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26926] [KMS][RV635] broken colors/fonts on DVI-0 (DVI-1 is OK)

2010-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26926





--- Comment #8 from Alex Deucher ag...@yahoo.com  2010-03-06 07:28:43 PST ---
(In reply to comment #7)
 (In reply to comment #6)
  Does UMS work ok?  I suspect it's the bg/adj values for the dac.
 
 At least radeonhd does work fine for both DVIs. Will test radeon soon.
 
 Can you point me to some part of code or registers that I can compare?
 
 Do we really submit other data for AtomBIOS DAC-controlling commands at all?
 

The bg/dac adj values are golden values set in the atombios dac command tables.
 It might be a bug in the kms atom parser (I've fixed several of them recently)
or a bad paramater passed to one of the tables, or something else completely
unrelated.  Make sure your kms tree has this patch:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=6a8a2d702b33c6ed5c789f21b4e89fdf221f01ca
I'd suggest using avivotool to dump the regs and compare.  The dac regs are at
0x7000-0x706c,0x7ef0-0x7ef8 (DAC1) and 0x7100-0x716c,0x7ff0-0x7ff8 (DAC2)
the second set in each group are the dac bgadj and macro regs.


-- 
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#174; 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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26926] [KMS][RV635] broken colors/fonts on DVI-0 (DVI-1 is OK)

2010-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26926





--- Comment #9 from Rafał Miłecki zaj...@gmail.com  2010-03-06 12:00:15 PST 
---
I use drm-linus which contains fix shr/shl ops.

Thanks a lot for giving registers! It gave nice results :)

# diff -u bad.log ok.log
--- bad.log 2010-03-06 20:54:42.288325112 +0100
+++ ok.log  2010-03-06 20:52:30.060416677 +0100
@@ -52,7 +52,7 @@
 0x7134: 0x02020200
 0x7138: 0x
 0x713C: 0x
-0x7140: 0x01E6
+0x7140: 0x
 0x7144: 0x
 0x7148: 0x
 0x714C: 0x
@@ -66,5 +66,5 @@
 0x716C: 0x
 rhd_dump: v1.3.0, git branch master, commit d6631a8c
 0x7FF0: 0x0020
-0x7FF4: 0x00200102
+0x7FF4: 0x00202902
 0x7FF8: 0x00700251

# rhd_dump -w 0x7FF4 0x00202902 1:00.0

It made the trick. Now need just to find out why 0x7FF4 had incorrect value...


-- 
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#174; 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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel