diff options
| author | Rex Zhu <[email protected]> | 2016-08-22 12:47:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-08-25 16:23:41 +0000 |
| commit | 075f101ceec0446b4a651ae4a22d4de11b7e7cd6 (patch) | |
| tree | 1041a08f1c59909e174ac4c05e67b4882b8384ce /drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | |
| parent | drm/amd/powerplay: get system info by cgs interface. (diff) | |
| download | kernel-075f101ceec0446b4a651ae4a22d4de11b7e7cd6.tar.gz kernel-075f101ceec0446b4a651ae4a22d4de11b7e7cd6.zip | |
drm/amd/powerplay: simplify struct amd_pp_init.
delete the members not needed when amd_powerplay_init.
Signed-off-by: Rex Zhu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c index 545074479e1f..ecc4141cd716 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c @@ -52,10 +52,6 @@ static int amdgpu_powerplay_init(struct amdgpu_device *adev) pp_init->chip_family = adev->family; pp_init->chip_id = adev->asic_type; pp_init->device = amdgpu_cgs_create_device(adev); - pp_init->rev_id = adev->pdev->revision; - pp_init->sub_sys_id = adev->pdev->subsystem_device; - pp_init->sub_vendor_id = adev->pdev->subsystem_vendor; - ret = amd_powerplay_init(pp_init, amd_pp); kfree(pp_init); #endif |
