aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJason-JH.Lin <[email protected]>2024-04-26 02:01:21 +0000
committerJassi Brar <[email protected]>2024-05-20 03:32:13 +0000
commit747a69a119c469121385543f21c2d08562968ccc (patch)
treed3b7a8216b650a186b655549eb800785c9d7218c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentmailbox: mtk-cmdq-mailbox: fix module autoloading (diff)
downloadkernel-747a69a119c469121385543f21c2d08562968ccc.tar.gz
kernel-747a69a119c469121385543f21c2d08562968ccc.zip
mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown
The return value of pm_runtime_get_sync() in cmdq_mbox_shutdown() will return 1 when pm runtime state is active, and we don't want to get the warning message in this case. So we change the return value < 0 for WARN_ON(). Fixes: 8afe816b0c99 ("mailbox: mtk-cmdq-mailbox: Implement Runtime PM with autosuspend") Signed-off-by: Jason-JH.Lin <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions