projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd0a316
)
drm/amdgpu/pm: enable smu_hw_init for yellow carp
author
Aaron Liu
<aaron.liu@amd.com>
Thu, 7 Jan 2021 03:05:05 +0000
(11:05 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:15 +0000
(16:03 -0400)
This patch is to enable smu_hw_init for yellow carp.
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
index
6a41f78
..
bb2c42d
100644
(file)
--- a/
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
+++ b/
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@
-1310,9
+1310,6
@@
static int smu_hw_init(void *handle)
smu_set_gfx_cgpg(&adev->smu, true);
}
- if (adev->asic_type == CHIP_YELLOW_CARP)
- return 0;
-
if (!smu->pm_enabled)
return 0;