summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2018-02-27 21:53:00 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:43:40 -0500
commit00f54b97d7de97c41cffaad83d32a9bf03edad89 (patch)
treed7291094956e528246ae7e8a082d6a7a2e1cc1bb /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent775b0c11e27fce7d204d2911220fd7eebcc074d0 (diff)
downloadop-kernel-dev-00f54b97d7de97c41cffaad83d32a9bf03edad89.zip
op-kernel-dev-00f54b97d7de97c41cffaad83d32a9bf03edad89.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 5ad8939..7570055 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1430,6 +1430,7 @@ enum amd_hw_ip_block_type {
struct amd_powerplay {
void *pp_handle;
const struct amd_pm_funcs *pp_funcs;
+ uint32_t pp_feature;
};
#define AMDGPU_RESET_MAGIC_NUM 64
OpenPOWER on IntegriCloud