drm/amdgpu: gb_addr_config struct
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Mon, 12 Dec 2016 18:40:37 +0000 (13:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:54:33 +0000 (23:54 -0400)
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h

index c83d7bd5b71215a2f7864bd763b875ecaef02c7f..4b92f36e18e62816366b751d17c7db7a9b3a5867 100644 (file)
@@ -829,6 +829,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;
@@ -858,6 +867,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 */