projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7c85f
)
drm/amdgpu/sriov: fix Tonga load driver failed
author
Jack Zhang
<Jack.Zhang1@amd.com>
Thu, 20 Jun 2019 05:44:47 +0000
(13:44 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 20 Jun 2019 16:36:45 +0000
(11:36 -0500)
Tonga sriov need to use smu to load firmware.
Remove sriov flag because the default return value is zero.
Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
Reviewed-by: Trigger Huang <Trigger.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
index 1705081bdc814cbf3c4414e54371ab2ee3523c26..e0df2bc4861fe276dbc1949aac923e98525c58be 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
@@
-2755,8
+2755,6
@@
int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_versio
{
int r;
- if (amdgpu_sriov_vf(adev))
- return 0;
if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->load_firmware) {
r = adev->powerplay.pp_funcs->load_firmware(adev->powerplay.pp_handle);