aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/si.c
diff options
context:
space:
mode:
authorMaruthi Srinivas Bayyavarapu <[email protected]>2016-04-26 15:05:36 +0000
committerAlex Deucher <[email protected]>2016-08-31 19:21:10 +0000
commit1919696eedc1ed5c3ace229576e4fa322fb256dd (patch)
tree3c445d54c57ecc1c577ab45ebd6785611acf2849 /drivers/gpu/drm/amd/amdgpu/si.c
parentdrm/amdgpu: use DRM print instead of printk (diff)
downloadkernel-1919696eedc1ed5c3ace229576e4fa322fb256dd.tar.gz
kernel-1919696eedc1ed5c3ace229576e4fa322fb256dd.zip
drm/amdgpu: enable SI DPM
Signed-off-by: Maruthi Bayyavarapu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/si.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c
index c905470d7e81..fee76b8a536f 100644
--- a/drivers/gpu/drm/amd/amdgpu/si.c
+++ b/drivers/gpu/drm/amd/amdgpu/si.c
@@ -1117,6 +1117,7 @@ static u32 si_get_xclk(struct amdgpu_device *adev)
return reference_clock;
}
+
//xxx:not implemented
static int si_set_uvd_clocks(struct amdgpu_device *adev, u32 vclk, u32 dclk)
{
@@ -1850,14 +1851,13 @@ static const struct amdgpu_ip_block_version verde_ip_blocks[] =
.rev = 0,
.funcs = &si_ih_ip_funcs,
},
-/* {
+ {
.type = AMD_IP_BLOCK_TYPE_SMC,
.major = 6,
.minor = 0,
.rev = 0,
- .funcs = &si_null_ip_funcs,
+ .funcs = &amdgpu_pp_ip_funcs,
},
- */
{
.type = AMD_IP_BLOCK_TYPE_DCE,
.major = 6,
@@ -1925,7 +1925,7 @@ static const struct amdgpu_ip_block_version hainan_ip_blocks[] =
.major = 6,
.minor = 0,
.rev = 0,
- .funcs = &si_null_ip_funcs,
+ .funcs = &amdgpu_pp_ip_funcs,
},
{
.type = AMD_IP_BLOCK_TYPE_GFX,