diff options
author | Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> | 2016-12-12 13:40:37 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:54:33 -0400 |
commit | d0e95758e3b122c5fea63ce5c3898dcc5e5ea846 (patch) | |
tree | 1a237194dd4ad878974cf62e2e0f2091f9e576b0 /drivers/gpu/drm | |
parent | e635ee07456ac686b3c26ab3c5735936faebfb2e (diff) |
drm/amdgpu: gb_addr_config struct
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index c83d7bd5b712..4b92f36e18e6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -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 */ |