From: Andrey Grodzovsky <andrey.grodzov...@amd.com>

Signed-off-by: Andrey Grodzovsky <andrey.grodzov...@amd.com>
Reviewed-by: Ken Wang <qingqing.w...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h 
b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 4d06de8b..ae4cb07 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -831,6 +831,15 @@ struct amdgpu_rb_config {
        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 {
        unsigned max_shader_engines;
        unsigned max_tile_pipes;
@@ -860,6 +869,7 @@ struct amdgpu_gfx_config {
        uint32_t tile_mode_array[32];
        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];
 
        /* gfx configure feature */
-- 
2.5.5

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to