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/amd/amdgpu/amdgpu.h | |
| 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/amd/amdgpu/amdgpu.h')
| -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 { | |||
| 829 | uint32_t raster_config_1; | 829 | uint32_t raster_config_1; |
| 830 | }; | 830 | }; |
| 831 | 831 | ||
| 832 | struct gb_addr_config { | ||
| 833 | uint16_t pipe_interleave_size; | ||
| 834 | uint8_t num_pipes; | ||
| 835 | uint8_t max_compress_frags; | ||
| 836 | uint8_t num_banks; | ||
| 837 | uint8_t num_se; | ||
| 838 | uint8_t num_rb_per_se; | ||
| 839 | }; | ||
| 840 | |||
| 832 | struct amdgpu_gfx_config { | 841 | struct amdgpu_gfx_config { |
| 833 | unsigned max_shader_engines; | 842 | unsigned max_shader_engines; |
| 834 | unsigned max_tile_pipes; | 843 | unsigned max_tile_pipes; |
| @@ -858,6 +867,7 @@ struct amdgpu_gfx_config { | |||
| 858 | uint32_t tile_mode_array[32]; | 867 | uint32_t tile_mode_array[32]; |
| 859 | uint32_t macrotile_mode_array[16]; | 868 | uint32_t macrotile_mode_array[16]; |
| 860 | 869 | ||
| 870 | struct gb_addr_config gb_addr_config_fields; | ||
| 861 | struct amdgpu_rb_config rb_config[AMDGPU_GFX_MAX_SE][AMDGPU_GFX_MAX_SH_PER_SE]; | 871 | struct amdgpu_rb_config rb_config[AMDGPU_GFX_MAX_SE][AMDGPU_GFX_MAX_SH_PER_SE]; |
| 862 | 872 | ||
| 863 | /* gfx configure feature */ | 873 | /* gfx configure feature */ |
