diff options
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) | |||
52 | pp_init->chip_family = adev->family; | 52 | pp_init->chip_family = adev->family; |
53 | pp_init->chip_id = adev->asic_type; | 53 | pp_init->chip_id = adev->asic_type; |
54 | pp_init->device = amdgpu_cgs_create_device(adev); | 54 | pp_init->device = amdgpu_cgs_create_device(adev); |
55 | pp_init->rev_id = adev->pdev->revision; | ||
56 | pp_init->sub_sys_id = adev->pdev->subsystem_device; | ||
57 | pp_init->sub_vendor_id = adev->pdev->subsystem_vendor; | ||
58 | |||
59 | ret = amd_powerplay_init(pp_init, amd_pp); | 55 | ret = amd_powerplay_init(pp_init, amd_pp); |
60 | kfree(pp_init); | 56 | kfree(pp_init); |
61 | #endif | 57 | #endif |