From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104854] smu7_populate_single_firmware_entry fails to load powerplay firmware. Date: Wed, 07 Mar 2018 09:39:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1427653760==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 80C4F6E6FA for ; Wed, 7 Mar 2018 09:39:30 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1427653760== Content-Type: multipart/alternative; boundary="15204155700.Df7BE.20306" Content-Transfer-Encoding: 7bit --15204155700.Df7BE.20306 Date: Wed, 7 Mar 2018 09:39:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104854 --- Comment #1 from Jos=C3=A9 Pekkarinen --- I believe the issue is actually shown before, these are the lines prior to the error: Mar 4 22:00:16 bee kernel: [ 35.741939] amdgpu: [powerplay] Failed to no= tify smc display settings! Mar 4 22:00:16 bee laptop-mode[9581]: Failed to re-set power saving mode f= or wireless card Mar 4 22:00:21 bee kernel: [ 40.847050] [drm:atom_op_jump [amdgpu]] *ERR= OR* atombios stuck in loop for more than 5secs aborting Mar 4 22:00:21 bee kernel: [ 40.847078] [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios stuck executing 7424 (len 272, WS 0, PS 4) @ 0x746D Mar 4 22:00:21 bee kernel: [ 40.847102] [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios stuck executing 606A (len 70, WS 0, PS 8) @ 0x6090 Mar 4 22:00:21 bee kernel: [ 40.847117] [drm:amdgpu_device_resume [amdgp= u]] *ERROR* amdgpu asic init failed Mar 4 22:00:21 bee kernel: [ 41.200534] amdgpu 0000:01:00.0: Wait for MC idle timedout ! Mar 4 22:00:22 bee kernel: [ 41.553970] amdgpu 0000:01:00.0: Wait for MC idle timedout ! Mar 4 22:00:22 bee kernel: [ 41.563727] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000). Mar 4 22:00:22 bee kernel: [ 41.566759] amdgpu: [powerplay] smu not runn= ing, upload firmware again ... I believe the error is that the following function is trying to send a mess= age to a display, when the vga is not tied to any: static int smu7_notify_smc_display(struct pp_hwmgr *hwmgr) { struct smu7_hwmgr *data =3D (struct smu7_hwmgr *)(hwmgr->backend); if (hwmgr->feature_mask & PP_VBI_TIME_SUPPORT_MASK) smum_send_msg_to_smc_with_parameter(hwmgr, (PPSMC_Msg)PPSMC_MSG_SetVBITimeout, data->frame_time_x2); return (smum_send_msg_to_smc(hwmgr, (PPSMC_Msg)PPSMC_HasDisplay) = =3D=3D 0) ? 0 : -EINVAL; } Is there any way to check if there is a display from hwmgr? --=20 You are receiving this mail because: You are the assignee for the bug.= --15204155700.Df7BE.20306 Date: Wed, 7 Mar 2018 09:39:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 10485= 4 from Jos=C3=A9 Pekkarinen
I believe the issue is actually shown before, these are the li=
nes prior
to the error:

Mar  4 22:00:16 bee kernel: [   35.741939] amdgpu: [powerplay] Failed to no=
tify
smc display settings!
Mar  4 22:00:16 bee laptop-mode[9581]: Failed to re-set power saving mode f=
or
wireless card
Mar  4 22:00:21 bee kernel: [   40.847050] [drm:atom_op_jump [amdgpu]] *ERR=
OR*
atombios stuck in loop for more than 5secs aborting
Mar  4 22:00:21 bee kernel: [   40.847078]
[drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios stuck
executing 7424 (len 272, WS 0, PS 4) @ 0x746D
Mar  4 22:00:21 bee kernel: [   40.847102]
[drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios stuck
executing 606A (len 70, WS 0, PS 8) @ 0x6090
Mar  4 22:00:21 bee kernel: [   40.847117] [drm:amdgpu_device_resume [amdgp=
u]]
*ERROR* amdgpu asic init failed
Mar  4 22:00:21 bee kernel: [   41.200534] amdgpu 0000:01:00.0: Wait for MC
idle timedout !
Mar  4 22:00:22 bee kernel: [   41.553970] amdgpu 0000:01:00.0: Wait for MC
idle timedout !
Mar  4 22:00:22 bee kernel: [   41.563727] [drm] PCIE GART of 256M enabled
(table at 0x000000F400040000).
Mar  4 22:00:22 bee kernel: [   41.566759] amdgpu: [powerplay] smu not runn=
ing,
upload firmware again
...

I believe the error is that the following function is trying to send a mess=
age
to a display, when the vga is not tied to any:

static int smu7_notify_smc_display(struct pp_hwmgr *hwmgr)
{
        struct smu7_hwmgr *data =3D (struct smu7_hwmgr *)(hwmgr->backend=
);

        if (hwmgr->feature_mask & PP_VBI_TIME_SUPPORT_MASK)
                smum_send_msg_to_smc_with_parameter(hwmgr,
                        (PPSMC_Msg)PPSMC_MSG_SetVBITimeout,
data->frame_time_x2);
        return (smum_send_msg_to_smc(hwmgr, (PPSMC_Msg)PPSMC_HasDisplay) =
=3D=3D 0)
?  0 : -EINVAL;
}

Is there any way to check if there is a display from hwmgr?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15204155700.Df7BE.20306-- --===============1427653760== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1427653760==--