drm/amdgpu: use pp_feature member to store the mask
Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -53,7 +53,7 @@ static int amd_powerplay_create(struct amdgpu_device *adev)
|
||||
mutex_init(&hwmgr->smu_lock);
|
||||
hwmgr->chip_family = adev->family;
|
||||
hwmgr->chip_id = adev->asic_type;
|
||||
hwmgr->feature_mask = amdgpu_pp_feature_mask;
|
||||
hwmgr->feature_mask = adev->powerplay.pp_feature;
|
||||
hwmgr->display_config = &adev->pm.pm_display_cfg;
|
||||
adev->powerplay.pp_handle = hwmgr;
|
||||
adev->powerplay.pp_funcs = &pp_dpm_funcs;
|
||||
|
Reference in New Issue
Block a user