diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-05-05 15:43:19 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-05 13:47:49 -0400 |
commit | 639c7de955f9a905d4db741ef3cb317edd460211 (patch) | |
tree | 58e673ddee16e3a62121547c84e2023d4234edff /amdgpu | |
parent | 3b50db9d9f77e2eba3f628703c2bffd41a71d20b (diff) | |
download | libdrm-639c7de955f9a905d4db741ef3cb317edd460211.tar.gz libdrm-639c7de955f9a905d4db741ef3cb317edd460211.tar.bz2 libdrm-639c7de955f9a905d4db741ef3cb317edd460211.zip |
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>
Diffstat (limited to 'amdgpu')
-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; } |