Home
last modified time | relevance | path

Searched refs:mc_arb_ramcfg (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/radeon/
Drv770.c1183 u32 mc_arb_ramcfg; in rv770_gpu_init() local
1299 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in rv770_gpu_init()
1355 if ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) in rv770_gpu_init()
1361 gb_tiling_config |= GROUP_SIZE((mc_arb_ramcfg & BURSTLENGTH_MASK) >> BURSTLENGTH_SHIFT); in rv770_gpu_init()
1362 if (((mc_arb_ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT) > 3) { in rv770_gpu_init()
1367 ROW_TILING(((mc_arb_ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT)); in rv770_gpu_init()
1369 SAMPLE_SPLIT(((mc_arb_ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT)); in rv770_gpu_init()
Dni.c891 u32 mc_shared_chmap, mc_arb_ramcfg; in cayman_gpu_init() local
1017 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in cayman_gpu_init()
1019 tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; in cayman_gpu_init()
1070 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in cayman_gpu_init()
Devergreen.c3132 u32 mc_shared_chmap, mc_arb_ramcfg; in evergreen_gpu_init() local
3400 mc_arb_ramcfg = RREG32(FUS_MC_ARB_RAMCFG); in evergreen_gpu_init()
3402 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in evergreen_gpu_init()
3431 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in evergreen_gpu_init()
Dsi.c3092 u32 mc_shared_chmap, mc_arb_ramcfg; in si_gpu_init() local
3205 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in si_gpu_init()
3209 tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; in si_gpu_init()
3257 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in si_gpu_init()
Dcik.c3189 u32 mc_shared_chmap, mc_arb_ramcfg; in cik_gpu_init() local
3283 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in cik_gpu_init()
3287 tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; in cik_gpu_init()
3336 ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) << 4; in cik_gpu_init()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v8.c109 config->num_banks = REG_GET_FIELD(adev->gfx.config.mc_arb_ramcfg, in get_tile_config()
111 config->num_ranks = REG_GET_FIELD(adev->gfx.config.mc_arb_ramcfg, in get_tile_config()
Damdgpu_amdkfd_gfx_v7.c150 config->num_banks = REG_GET_FIELD(adev->gfx.config.mc_arb_ramcfg, in get_tile_config()
152 config->num_ranks = REG_GET_FIELD(adev->gfx.config.mc_arb_ramcfg, in get_tile_config()
Dgfx_v6_0.c1557 u32 mc_shared_chmap, mc_arb_ramcfg; in gfx_v6_0_gpu_init() local
1660 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v6_0_gpu_init()
1661 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v6_0_gpu_init()
1665 tmp = (mc_arb_ramcfg & MC_ARB_RAMCFG__NOOFCOLS_MASK) >> MC_ARB_RAMCFG__NOOFCOLS__SHIFT; in gfx_v6_0_gpu_init()
Dgfx_v7_0.c4348 u32 mc_shared_chmap, mc_arb_ramcfg; in gfx_v7_0_gpu_early_init() local
4426 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v7_0_gpu_early_init()
4427 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v7_0_gpu_early_init()
4458 tmp = (mc_arb_ramcfg & MC_ARB_RAMCFG__NOOFCOLS_MASK) >> MC_ARB_RAMCFG__NOOFCOLS__SHIFT; in gfx_v7_0_gpu_early_init()
Dvi.c587 return adev->gfx.config.mc_arb_ramcfg; in vi_get_register_value()
Dgfx_v8_0.c1656 u32 mc_shared_chmap, mc_arb_ramcfg; in gfx_v8_0_gpu_early_init() local
1796 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v8_0_gpu_early_init()
1797 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v8_0_gpu_early_init()
1828 tmp = REG_GET_FIELD(mc_arb_ramcfg, MC_ARB_RAMCFG, NOOFCOLS); in gfx_v8_0_gpu_early_init()
Dsi.c1050 return adev->gfx.config.mc_arb_ramcfg; in si_get_register_value()
Damdgpu.h915 unsigned mc_arb_ramcfg; member
Damdgpu_device.c3407 config[no_regs++] = adev->gfx.config.mc_arb_ramcfg; in amdgpu_debugfs_gca_config_read()