diff options
| author | 2020-02-26 12:47:26 -0500 | |
|---|---|---|
| committer | 2020-02-28 16:59:20 -0500 | |
| commit | 94b5c215ce5c0694a16087c55a3213d06c3aed07 (patch) | |
| tree | 2cc0ff8eeb86f1a93e01c3e9841810823a0fbe68 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
| parent | Merge tag 'drm-misc-next-2020-02-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (diff) | |
| download | wireguard-linux-94b5c215ce5c0694a16087c55a3213d06c3aed07.tar.xz wireguard-linux-94b5c215ce5c0694a16087c55a3213d06c3aed07.zip | |
drm/amdgpu: Add num_banks and num_ranks to gfx config structure
The two members will be used by KFD later.
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index ca17ffb01301..37ba05b63b2a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -151,6 +151,8 @@ struct amdgpu_gfx_config { unsigned num_gpus; unsigned multi_gpu_tile_size; unsigned mc_arb_ramcfg; + unsigned num_banks; + unsigned num_ranks; unsigned gb_addr_config; unsigned num_rbs; unsigned gs_vgt_table_depth; |
