[Bug 104854] smu7_populate_single_firmware_entry fails to load powerplay firmware.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 7 09:39:30 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104854

--- Comment #1 from José Pekkarinen <koalinux at gmail.com> ---
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 notify
smc display settings!
Mar  4 22:00:16 bee laptop-mode[9581]: Failed to re-set power saving mode for
wireless card
Mar  4 22:00:21 bee kernel: [   40.847050] [drm:atom_op_jump [amdgpu]] *ERROR*
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 [amdgpu]]
*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 running,
upload firmware again
...

I believe the error is that the following function is trying to send a message
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 = (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) == 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180307/775c2d49/attachment.html>


More information about the dri-devel mailing list