From: bugzilla-daemon@freedesktop.org Subject: [Bug 65091] power_profile not working for HD5650 Date: Sat, 08 Jun 2013 12:18:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0298251847==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 06082E5CDA for ; Sat, 8 Jun 2013 05:18:12 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0298251847== Content-Type: multipart/alternative; boundary="1370693891.ecBBCff0.16325"; charset="us-ascii" --1370693891.ecBBCff0.16325 Date: Sat, 8 Jun 2013 12:18:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=65091 --- Comment #3 from Kamil Bar --- I have found an issue, my vbios default clocks are set to 150000 and 157000, and my switching profiles aren't working because of this lines in radeon_pm.c: if (sclk > rdev->pm.default_sclk) { sclk = rdev->pm.default_sclk; } and if (mclk > rdev->pm.default_mclk) { sclk = rdev->pm.default_mclk; } when I try to switch to 550000Mhz ( pass sclk == 55000 ) for clock this compares it with default ( rdev->pm.default_sclk == 150000 which atombios provides from vbl ), and then kernel switch this request to default. So, anyone know solution to this, with possibility to push the fix to linux main branch, so I and possibly many other people can use profiles in future kernels without recompiling the kernel and apply patch? It would require modifying radeon_atombios.c and it's methods, I could try to fix it someway, but it will require testing on many devices. -- You are receiving this mail because: You are the assignee for the bug. --1370693891.ecBBCff0.16325 Date: Sat, 8 Jun 2013 12:18:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 65091 from
I have found an issue, my vbios default clocks are set to 150000 and 157000,
and  my switching profiles aren't working because of this lines in radeon_pm.c:

if (sclk > rdev->pm.default_sclk) {
    sclk = rdev->pm.default_sclk;
}

and

if (mclk > rdev->pm.default_mclk) {
    sclk = rdev->pm.default_mclk;
}

when I try to switch to 550000Mhz ( pass sclk == 55000 ) for clock this
compares it with default ( rdev->pm.default_sclk == 150000 which atombios
provides from vbl ), and then kernel switch this request to default.

So, anyone know solution to this, with possibility to push the fix to linux
main branch, so I and possibly many other people can use profiles in future
kernels without recompiling the kernel and apply patch? It would require
modifying radeon_atombios.c and it's methods, I could try to fix it someway,
but it will require testing on many devices.


You are receiving this mail because:
  • You are the assignee for the bug.
--1370693891.ecBBCff0.16325-- --===============0298251847== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0298251847==--