All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 185681] amdgpu: powerplay initialization failed
Date: Fri, 04 Nov 2016 15:04:11 +0000	[thread overview]
Message-ID: <bug-185681-2300-0XFpy1mfUl@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-185681-2300@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=185681

--- Comment #7 from René Linder <rene.linder@lihaso.ch> ---
https://cgit.freedesktop.org/~agd5f/linux/commit/drivers/gpu/drm/amd/powerplay?h=drm-fixes-4.9&id=025f8bfb84cbcaa78df31ab00d7e3c5f979e9e27

there is the iceland_get_evv_voltage who works ... and the new
smu7_get_evv_voltage uses generally the pptable in the beginning and thats
wrong.

There is a if for the V0 path but to late and wrong:


This must be switched bevore hwmgr->pptable (table_info) is requested.         
  if ((hwmgr->pp_table_version == PP_TABLE_V0)
                || !phm_get_sclk_for_voltage_evv(hwmgr,
Wrong part 2 should be hwmgr and not table_info:                   
table_info->vddc_lookup_table, vv_id, &sclk)) {
                if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps,
                        PHM_PlatformCaps_ClockStretcher)) {
                    for (j = 1; j < sclk_table->count; j++) {
                        if (sclk_table->entries[j].clk == sclk &&
                                sclk_table->entries[j].cks_enable == 0) {
                            sclk += 5000;
                            break;
                        }
                    }
                }

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2016-11-04 15:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-31 14:48 [Bug 185681] New: amdgpu: powerplay initialization failed bugzilla-daemon
2016-10-31 14:59 ` [Bug 185681] " bugzilla-daemon
2016-10-31 15:21 ` bugzilla-daemon
2016-10-31 15:30 ` bugzilla-daemon
2016-10-31 15:32 ` bugzilla-daemon
2016-11-04  8:08 ` bugzilla-daemon
2016-11-04 14:37 ` bugzilla-daemon
2016-11-04 15:04 ` bugzilla-daemon [this message]
2016-11-09 23:11 ` bugzilla-daemon
2016-11-09 23:12 ` bugzilla-daemon
2016-11-09 23:12 ` bugzilla-daemon
2016-11-10 11:02 ` bugzilla-daemon
2016-11-10 11:03 ` bugzilla-daemon
2016-11-10 11:32 ` bugzilla-daemon
2016-11-10 16:14 ` bugzilla-daemon
2016-11-10 16:15 ` bugzilla-daemon
2016-11-10 21:54 ` bugzilla-daemon
2016-11-15 11:55 ` bugzilla-daemon
2016-11-15 11:56 ` bugzilla-daemon
2016-11-18 18:01 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-185681-2300-0XFpy1mfUl@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.