summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-05-05 15:43:19 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-07-30 00:11:10 -0400
commit5937de0dc5587e85fa3c8434a039b78689896c19 (patch)
tree3ec18e830f5c97c7998cfbacf48ec99289ca6fb1
parent3affecadd0d55ce43915a7da2444a4ee9c63495c (diff)
amdgpu: remove active_rb_pipes from amdgpu_gpu_info
The active RB pipes can be retrieved from enabled_rb_pipes_mask, for which each bit indicates one active pipe if it is '1'. Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian K├Ânig <christian.koenig@amd.com>
-rw-r--r--amdgpu/amdgpu.h2
-rw-r--r--amdgpu/amdgpu_gpu_info.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h
index 7baa1839..e165856b 100644
--- a/amdgpu/amdgpu.h
+++ b/amdgpu/amdgpu.h
@@ -526,8 +526,6 @@ struct amdgpu_gpu_info {
uint32_t num_hw_gfx_contexts;
/** Number of render backend pipes */
uint32_t rb_pipes;
- /** Active render backend pipe number */
- uint32_t active_rb_pipes;
/** Enabled render backend pipe mask */
uint32_t enabled_rb_pipes_mask;
/** Frequency of GPU Counter */
diff --git a/amdgpu/amdgpu_gpu_info.c b/amdgpu/amdgpu_gpu_info.c
index 0b777316..d46052e6 100644
--- a/amdgpu/amdgpu_gpu_info.c
+++ b/amdgpu/amdgpu_gpu_info.c
@@ -209,7 +209,6 @@ int amdgpu_query_gpu_info_init(amdgpu_device_handle dev)
/* TODO: info->max_quad_shader_pipes is not set */
/* TODO: info->avail_quad_shader_pipes is not set */
/* TODO: info->cache_entries_per_quad_pipe is not set */
- /* TODO: info->active_rb_pipes is not set */
return 0;
}