W dniu 31 stycznia 2010 14:30 użytkownik Luca Tettamanti
<kronos...@gmail.com> napisał:
> 2010/1/30 Dave Airlie <airl...@gmail.com>:
>> 2009/12/24 Rafał Miłecki <zaj...@gmail.com>:
>>> I applied patches from http://www.botchco.com/alex/xorg/pm/ and now
>>> engine reclocks between 110MHz and 680MHz.
>>>
>>> The problem is I see ~10 black horizontal lines for a one frame time
>>> on almost every reclock. I tried to fix this or at least understand it
>>> somehow but without success.
>>>
>>> 1) Putting 500ms delay after every reclock doesn't improve anything
>>> 2) Reclocking between 110MHz and 130MHz (instead 680MHz) doesn't improve
>>> 3) Calling atombios_crtc_set_pll after reclocking doesn't improve
>>> 4) Calling ClockSource AtomBIOS commane after reclocking doesn't improve
>>>
>>> I tested 4th as SetEngineClock seems to play mostly with 0x0180 and
>>> ClockSource seems to be the only reading that register. Effects were
>>> horrible, don't ever call this AtomBIOS cammand ;)
>>>
>>> Do you have any other ideas?
>>>
>>
>> On top of whats in drm-radeon-testing this avoids reclocking artifacts
>> on my rv530 laptop,
>>
>> I timed the atom calls and they were taking 20ms which is waaay too
>> long, I decoded the
>> tables and it looks like they use udelays.
>
> Seems too easy... I used the same approach and even moved the reclock
> in hard-irq context but I still see corruption (I'm using a M76).

Dave thanks for your tip! I've performed more testing and wrote patch
for my RV620 to directly operate on GPU registers.

In every case corruptions were gone and speed was drastically improved!

Please see https://bugs.freedesktop.org/show_bug.cgi?id=26350 for details.

-- 
Rafał

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

Reply via email to