Summary: | Can't reach maximum memory speed (or core speed) when using dpm=1 on r600g on cards not sticking to reference board | ||
---|---|---|---|
Product: | DRI | Reporter: | Alexandre Demers <alexandre.f.demers> |
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | alexdeucher, vmerlet |
Version: | XOrg git | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=68235 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Alexandre Demers
2013-09-23 16:13:24 UTC
That is with kernel 3.11.0 or 3.12-rc1 with the two patches proposed in bug 68235. Hi Alex. A year ago, while we were struggling with dpm on Cayman, you implemented a fix to limit the maximum memory and core speeds to the reference ones in the clk/voltage dependency tables. Now that Cayman is working great, I'm wondering if you would have the time "to dig a bit more internally to try and figure out how to handle these clks properly" when a card is not using the reference values? Is there a way to read the maximum speed from the video card bios or at least to identify a card built to exceed the reference values? I'm ready to test any patch you can throw at me. Cheers! Alexandre Did you try again after fixing the vddci setup? (In reply to comment #3) > Did you try again after fixing the vddci setup? To my knowledge, the memory speed is still limited to 1250 instead of reaching its maximum speed of 1300; the same thing goes for the core clock. I'll need to have a look at the code, but the last time I had a look, we were still calling btc_get_max_clock_from_voltage_dependency_table(), which was limiting the speed to the reference values. If I have time, I'll look at the code tonight and add some code to print values that would be limited by btc_get_max_clock_from_voltage_dependency_table(). Other than this limitation, I have mostly no problem with my Cayman GPU. (In reply to comment #4) > (In reply to comment #3) > > Did you try again after fixing the vddci setup? > > To my knowledge, the memory speed is still limited to 1250 instead of > reaching its maximum speed of 1300; the same thing goes for the core clock. > I'll need to have a look at the code, but the last time I had a look, we > were still calling btc_get_max_clock_from_voltage_dependency_table(), which > was limiting the speed to the reference values. Right. I mean have you tried reverting that patch or just skipping the calls to btc_get_max_clock_from_voltage_dependency_table(). I think they should work fine now that vddci is fixed. (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > Did you try again after fixing the vddci setup? > > > > To my knowledge, the memory speed is still limited to 1250 instead of > > reaching its maximum speed of 1300; the same thing goes for the core clock. > > I'll need to have a look at the code, but the last time I had a look, we > > were still calling btc_get_max_clock_from_voltage_dependency_table(), which > > was limiting the speed to the reference values. > > Right. I mean have you tried reverting that patch or just skipping the > calls to btc_get_max_clock_from_voltage_dependency_table(). I think they > should work fine now that vddci is fixed. Well that was one of the plans. ;) I'll try it later and let you know. It seems to run as expected now. I've submitted a patch (http://lists.freedesktop.org/archives/dri-devel/2014-September/068789.html). Maybe it could/should be tested on other GPUs. Closing since it should be fixed in kernel 3.18 (pull request from drm-next-3.18). |
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.