projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32833fb
)
drm/amdgpu:no cg for soc15 of SRIOV
author
Monk Liu
<Monk.Liu@amd.com>
Wed, 22 Mar 2017 10:02:40 +0000
(18:02 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:40 +0000
(23:55 -0400)
no CG for SRIOV on SOC15
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index f41c1f24af9dd1ff49f36e0e84427233d56e6cf0..06664ee4449899e59d580ec57d9980e90a95b941 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/
drivers/gpu/drm/amd/amdgpu/soc15.c
@@
-773,6
+773,9
@@
static int soc15_common_set_clockgating_state(void *handle,
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
+ if (amdgpu_sriov_vf(adev))
+ return 0;
+
switch (adev->asic_type) {
case CHIP_VEGA10:
nbio_v6_1_update_medium_grain_clock_gating(adev,