Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/radeon/
Drv770.c1184 u32 mc_arb_ramcfg; in rv770_gpu_init() local
1300 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in rv770_gpu_init()
1356 if ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) in rv770_gpu_init()
1362 gb_tiling_config |= GROUP_SIZE((mc_arb_ramcfg & BURSTLENGTH_MASK) >> BURSTLENGTH_SHIFT); in rv770_gpu_init()
1363 if (((mc_arb_ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT) > 3) { in rv770_gpu_init()
1368 ROW_TILING(((mc_arb_ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT)); in rv770_gpu_init()
1370 SAMPLE_SPLIT(((mc_arb_ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT)); in rv770_gpu_init()
Dni.c881 u32 mc_arb_ramcfg; in cayman_gpu_init() local
1007 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in cayman_gpu_init()
1009 tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; in cayman_gpu_init()
1060 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in cayman_gpu_init()
Devergreen.c3138 u32 mc_arb_ramcfg; in evergreen_gpu_init() local
3406 mc_arb_ramcfg = RREG32(FUS_MC_ARB_RAMCFG); in evergreen_gpu_init()
3408 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in evergreen_gpu_init()
3437 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in evergreen_gpu_init()
Dsi.c3091 u32 mc_arb_ramcfg; in si_gpu_init() local
3204 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in si_gpu_init()
3208 tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; in si_gpu_init()
3256 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in si_gpu_init()
Dcik.c3171 u32 mc_arb_ramcfg; in cik_gpu_init() local
3265 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in cik_gpu_init()
3269 tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; in cik_gpu_init()
3318 ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) << 4; in cik_gpu_init()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dgfx_v7_0.c4211 u32 mc_arb_ramcfg; in gfx_v7_0_gpu_early_init() local
4288 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v7_0_gpu_early_init()
4289 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v7_0_gpu_early_init()
4291 adev->gfx.config.num_banks = REG_GET_FIELD(mc_arb_ramcfg, in gfx_v7_0_gpu_early_init()
4293 adev->gfx.config.num_ranks = REG_GET_FIELD(mc_arb_ramcfg, in gfx_v7_0_gpu_early_init()
4325 tmp = (mc_arb_ramcfg & MC_ARB_RAMCFG__NOOFCOLS_MASK) >> MC_ARB_RAMCFG__NOOFCOLS__SHIFT; in gfx_v7_0_gpu_early_init()
Damdgpu_gfx.h209 unsigned mc_arb_ramcfg; member
Dgfx_v6_0.c1565 u32 mc_arb_ramcfg; in gfx_v6_0_constants_init() local
1667 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v6_0_constants_init()
1668 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v6_0_constants_init()
1672 tmp = (mc_arb_ramcfg & MC_ARB_RAMCFG__NOOFCOLS_MASK) >> MC_ARB_RAMCFG__NOOFCOLS__SHIFT; in gfx_v6_0_constants_init()
Dgfx_v8_0.c1655 u32 mc_arb_ramcfg; in gfx_v8_0_gpu_early_init() local
1795 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v8_0_gpu_early_init()
1796 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v8_0_gpu_early_init()
1798 adev->gfx.config.num_banks = REG_GET_FIELD(mc_arb_ramcfg, in gfx_v8_0_gpu_early_init()
1800 adev->gfx.config.num_ranks = REG_GET_FIELD(mc_arb_ramcfg, in gfx_v8_0_gpu_early_init()
1832 tmp = REG_GET_FIELD(mc_arb_ramcfg, MC_ARB_RAMCFG, NOOFCOLS); in gfx_v8_0_gpu_early_init()
Dcik.c1159 return adev->gfx.config.mc_arb_ramcfg; in cik_get_register_value()
Dvi.c782 return adev->gfx.config.mc_arb_ramcfg; in vi_get_register_value()
Dsi.c1199 return adev->gfx.config.mc_arb_ramcfg; in si_get_register_value()
Damdgpu_debugfs.c908 config[no_regs++] = adev->gfx.config.mc_arb_ramcfg; in amdgpu_debugfs_gca_config_read()