summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorLikun GAO <Likun.Gao@amd.com>2021-04-29 14:08:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:29:22 -0400
commit7bd939d04db9e6c3e92bb3ffb46ba9192cb258fc (patch)
tree100366c11372ce39cbfb161f7564a46e8a2fdb70 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent1acbb613c445e35037a1ddd416cd697fc76143b5 (diff)
downloadlinux-stable-7bd939d04db9e6c3e92bb3ffb46ba9192cb258fc.tar.gz
linux-stable-7bd939d04db9e6c3e92bb3ffb46ba9192cb258fc.tar.bz2
linux-stable-7bd939d04db9e6c3e92bb3ffb46ba9192cb258fc.zip
drm/amdgpu: add judgement when add ip blocks (v2)
Judgement whether to add an sw ip according to the harvest info. v2: fix indentation (Alex) Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Guchun Chen <guchun.chen@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 cef7bbe850e7..b6435479cac8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1006,6 +1006,7 @@ struct amdgpu_device {
struct amdgpu_df df;
struct amdgpu_ip_block ip_blocks[AMDGPU_MAX_IP_NUM];
+ uint32_t harvest_ip_mask;
int num_ip_blocks;
struct mutex mn_lock;
DECLARE_HASHTABLE(mn_hash, 7);