Bug 26350 - Single corruption (artifacts) on engine reclocking
Summary: Single corruption (artifacts) on engine reclocking
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 09:17 UTC by Rafał Miłecki
Modified: 2019-11-19 08:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Switch AtomBIOS parser to udelay (518 bytes, patch)
2010-01-31 09:28 UTC, Rafał Miłecki
no flags Details | Splinter Review
Switch engine clock setting to registers operations (7.88 KB, patch)
2010-01-31 09:30 UTC, Rafał Miłecki
no flags Details | Splinter Review
Full results of my speed test (665 bytes, text/plain)
2010-01-31 09:39 UTC, Rafał Miłecki
no flags Details

Description Rafał Miłecki 2010-01-31 09:17:09 UTC
Engine reclocking is too slow and so artifacts are visible when it happens. We need to make it faster.
Comment 1 Rafał Miłecki 2010-01-31 09:28:14 UTC
Created attachment 32948 [details] [review]
Switch AtomBIOS parser to udelay

Dave noticed we lost a lot of time when sleeping in AtomBIOS. Switching to udelay drastically improves this.
Comment 2 Rafał Miłecki 2010-01-31 09:30:52 UTC
Created attachment 32949 [details] [review]
Switch engine clock setting to registers operations

It may be good idea to perform sensible operations manually, without parsing AtomBIOS commands. Unfortunately it needs rewriting AtomBIOS code for each GPU generation.
Comment 3 Rafał Miłecki 2010-01-31 09:39:33 UTC
Created attachment 32950 [details]
Full results of my speed test

Currently reclocking engine takes averagely .005152s. That's way too long.

Using Dave's patch I went down to averagely .000287s.
With registers patch went down to averagely .000267s.

Using both patches gave even nicer result:  .000185s.
Both + my patch hacked (to use "while" op): .000177s.

In every case corruptions were gone.

About hacked version of my patch, I switched to using "while" (just like AtomBIOS does) instead of waiting in "for" for bit in 0x600.
Comment 4 Martin Peres 2019-11-19 08:09:23 UTC
-- 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/90.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.