提交 d0e95758 编写于 作者: A Andrey Grodzovsky 提交者: Alex Deucher

drm/amdgpu: gb_addr_config struct

Acked-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: NKen Wang <Qingqing.Wang@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 e635ee07
...@@ -829,6 +829,15 @@ struct amdgpu_rb_config { ...@@ -829,6 +829,15 @@ struct amdgpu_rb_config {
uint32_t raster_config_1; uint32_t raster_config_1;
}; };
struct gb_addr_config {
uint16_t pipe_interleave_size;
uint8_t num_pipes;
uint8_t max_compress_frags;
uint8_t num_banks;
uint8_t num_se;
uint8_t num_rb_per_se;
};
struct amdgpu_gfx_config { struct amdgpu_gfx_config {
unsigned max_shader_engines; unsigned max_shader_engines;
unsigned max_tile_pipes; unsigned max_tile_pipes;
...@@ -858,6 +867,7 @@ struct amdgpu_gfx_config { ...@@ -858,6 +867,7 @@ struct amdgpu_gfx_config {
uint32_t tile_mode_array[32]; uint32_t tile_mode_array[32];
uint32_t macrotile_mode_array[16]; uint32_t macrotile_mode_array[16];
struct gb_addr_config gb_addr_config_fields;
struct amdgpu_rb_config rb_config[AMDGPU_GFX_MAX_SE][AMDGPU_GFX_MAX_SH_PER_SE]; struct amdgpu_rb_config rb_config[AMDGPU_GFX_MAX_SE][AMDGPU_GFX_MAX_SH_PER_SE];
/* gfx configure feature */ /* gfx configure feature */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册