summaryrefslogtreecommitdiff
path: root/amdgpu/amdgpu_gpu_info.c
diff options
context:
space:
mode:
authorKen Wang <Qingqing.Wang@amd.com>2015-06-03 17:07:44 +0800
committerKen Wang <Qingqing.Wang@amd.com>2015-06-04 21:05:00 +0800
commit6f518c4710f69fe99fe361ab37d5d56bb42b55e9 (patch)
tree412563f4756be9436f77a1fca1df7bfb3d3efef4 /amdgpu/amdgpu_gpu_info.c
parentc0777af131c4a7c6d3d1d9de6205d2cdcf58f719 (diff)
amdgpu: add max_memory_clock for interface query
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_gpu_info.c')
-rw-r--r--amdgpu/amdgpu_gpu_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/amdgpu/amdgpu_gpu_info.c b/amdgpu/amdgpu_gpu_info.c
index d46052e6..7811b53f 100644
--- a/amdgpu/amdgpu_gpu_info.c
+++ b/amdgpu/amdgpu_gpu_info.c
@@ -149,6 +149,7 @@ int amdgpu_query_gpu_info_init(amdgpu_device_handle dev)
dev->info.chip_external_rev = dev->dev_info.external_rev;
dev->info.family_id = dev->dev_info.family;
dev->info.max_engine_clk = dev->dev_info.max_engine_clock;
+ dev->info.max_memory_clk = dev->dev_info.max_memory_clock;
dev->info.gpu_counter_freq = dev->dev_info.gpu_counter_freq;
dev->info.enabled_rb_pipes_mask = dev->dev_info.enabled_rb_pipes_mask;
dev->info.rb_pipes = dev->dev_info.num_rb_pipes;