summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include/v9_structs.h
diff options
context:
space:
mode:
authorLe Ma <le.ma@amd.com>2019-07-08 20:17:48 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-08-02 10:19:05 -0500
commit857b82d0df4c85d3d1c043b325dcd8354fd09c6e (patch)
treebb420488a88dd3577b7c652a173100ce3497a407 /drivers/gpu/drm/amd/include/v9_structs.h
parent612e4ed99bdd7d4aae207a69dea16e609d304e3b (diff)
drm/amdgpu: support get_cu_info for Arcturus
This change is because SE/SH layout on Arcturus is 8*1, different from 4*2(or 4*1) on Vega ASICs. Currently the cu bitmap array is 4x4 size, and besides the bitmap is used widely across SW stack. To mostly reduce the scale of impact, we make the cu bitmap array compatible with SE/SH layout on Arcturus. Then the store of cu bits of each shader array for Arcturus will be like below: SE0,SH0 --> bitmap[0][0] SE1,SH0 --> bitmap[1][0] SE2,SH0 --> bitmap[2][0] SE3,SH0 --> bitmap[3][0] SE4,SH0 --> bitmap[0][1] SE5,SH0 --> bitmap[1][1] SE6,SH0 --> bitmap[2][1] SE7,SH0 --> bitmap[3][1] Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/v9_structs.h')
0 files changed, 0 insertions, 0 deletions