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:
9cac537
)
drm/amdgpu/cz: enable/disable vce dpm even if vce pg is disabled
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 25 Feb 2016 16:24:52 +0000
(11:24 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 2 Mar 2016 16:01:23 +0000
(11:01 -0500)
I missed this when cleaning up the vce pg handling.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
index 9056355309d18cbc97beaf015b7e34be6c8b6b8f..208990ab83d33f6b82dcce4bb6e763194714b3f7 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
+++ b/
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
@@
-2226,10
+2226,8
@@
static void cz_dpm_powergate_vce(struct amdgpu_device *adev, bool gate)
}
} else { /*pi->caps_vce_pg*/
cz_update_vce_dpm(adev);
- cz_enable_vce_dpm(adev,
tru
e);
+ cz_enable_vce_dpm(adev,
!gat
e);
}
-
- return;
}
const struct amd_ip_funcs cz_dpm_ip_funcs = {