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>main
parent
3b50db9d9f
commit
639c7de955
|
@ -526,8 +526,6 @@ struct amdgpu_gpu_info {
|
||||||
uint32_t num_hw_gfx_contexts;
|
uint32_t num_hw_gfx_contexts;
|
||||||
/** Number of render backend pipes */
|
/** Number of render backend pipes */
|
||||||
uint32_t rb_pipes;
|
uint32_t rb_pipes;
|
||||||
/** Active render backend pipe number */
|
|
||||||
uint32_t active_rb_pipes;
|
|
||||||
/** Enabled render backend pipe mask */
|
/** Enabled render backend pipe mask */
|
||||||
uint32_t enabled_rb_pipes_mask;
|
uint32_t enabled_rb_pipes_mask;
|
||||||
/** Frequency of GPU Counter */
|
/** Frequency of GPU Counter */
|
||||||
|
|
|
@ -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->max_quad_shader_pipes is not set */
|
||||||
/* TODO: info->avail_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->cache_entries_per_quad_pipe is not set */
|
||||||
/* TODO: info->active_rb_pipes is not set */
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue