diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-05-05 15:43:19 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-05-07 13:08:51 -0400 |
commit | 68495c9bf9ff6554739fef053fc7828474212a1a (patch) | |
tree | 3dbff1a46736cc3e19c8a69d61175c6eb73cf225 | |
parent | d7ad12dcee12f1bd7a007d99903a73e784cbccb8 (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.h | 2 | ||||
-rw-r--r-- | amdgpu/amdgpu_gpu_info.c | 1 |
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; } |