Reviewed-by: Dave Airlie <airlied@redhat.com>
struct amdgpu_cs_request request;
uint32_t pad_word = 0xffff1000U;
- if (radv_amdgpu_winsys(ws)->family == FAMILY_SI)
+ if (radv_amdgpu_winsys(ws)->info.chip_class == SI)
pad_word = 0x80000000;
assert(cs_count);
ws->info.num_sdma_rings = MIN2(ws->info.num_sdma_rings, MAX_RINGS_PER_TYPE);
ws->info.num_compute_rings = MIN2(ws->info.num_compute_rings, MAX_RINGS_PER_TYPE);
- ws->use_ib_bos = ws->family >= FAMILY_CI;
+ ws->use_ib_bos = ws->info.chip_class >= CIK;
return true;
fail:
return false;