Skip to content

ac/gpu_info: Correct Acturus cu bitmap

James Zhu requested to merge jzhums/mesa:master into master

The cu bitmap in amd gpu info structure is 4x4 size array, and it's usually suitable for Vega ASICs which has 42 SE/SH layout. But for Arcturus, SE/SH layout is changed to 81. To mostly reduce the impact, we make it compatible with current bitmap array as below: SE4,SH0 --> cu_bitmap[0][1] SE5,SH0 --> cu_bitmap[1][1] SE6,SH0 --> cu_bitmap[2][1] SE7,SH0 --> cu_bitmap[3][1]

Signed-off-by: James Zhu James.Zhu@amd.com

Merge request reports