Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A 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()
H A Dni.c868 u32 mc_arb_ramcfg; in cayman_gpu_init() local
994 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in cayman_gpu_init()
996 tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; in cayman_gpu_init()
1047 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in cayman_gpu_init()
H A Devergreen.c3135 u32 mc_arb_ramcfg; in evergreen_gpu_init() local
3403 mc_arb_ramcfg = RREG32(FUS_MC_ARB_RAMCFG); in evergreen_gpu_init()
3405 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in evergreen_gpu_init()
3434 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in evergreen_gpu_init()
H A Dsi.c3072 u32 mc_arb_ramcfg; in si_gpu_init() local
3185 mc_arb_ramcfg = RREG32(MC_ARB_RAMCFG); in si_gpu_init()
3189 tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; in si_gpu_init()
3237 switch ((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) { in si_gpu_init()
H A 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/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v7_0.c4179 u32 mc_arb_ramcfg; in gfx_v7_0_gpu_early_init() local
4256 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v7_0_gpu_early_init()
4257 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v7_0_gpu_early_init()
4259 adev->gfx.config.num_banks = REG_GET_FIELD(mc_arb_ramcfg, in gfx_v7_0_gpu_early_init()
4261 adev->gfx.config.num_ranks = REG_GET_FIELD(mc_arb_ramcfg, in gfx_v7_0_gpu_early_init()
4293 tmp = (mc_arb_ramcfg & MC_ARB_RAMCFG__NOOFCOLS_MASK) >> MC_ARB_RAMCFG__NOOFCOLS__SHIFT; in gfx_v7_0_gpu_early_init()
H A Damdgpu_gfx.h209 unsigned mc_arb_ramcfg; member
H A Dgfx_v6_0.c1568 u32 mc_arb_ramcfg; in gfx_v6_0_constants_init() local
1670 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v6_0_constants_init()
1671 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v6_0_constants_init()
1675 tmp = (mc_arb_ramcfg & MC_ARB_RAMCFG__NOOFCOLS_MASK) >> MC_ARB_RAMCFG__NOOFCOLS__SHIFT; in gfx_v6_0_constants_init()
H A Dgfx_v8_0.c1668 u32 mc_arb_ramcfg; in gfx_v8_0_gpu_early_init() local
1808 adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); in gfx_v8_0_gpu_early_init()
1809 mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; in gfx_v8_0_gpu_early_init()
1811 adev->gfx.config.num_banks = REG_GET_FIELD(mc_arb_ramcfg, in gfx_v8_0_gpu_early_init()
1813 adev->gfx.config.num_ranks = REG_GET_FIELD(mc_arb_ramcfg, in gfx_v8_0_gpu_early_init()
1845 tmp = REG_GET_FIELD(mc_arb_ramcfg, MC_ARB_RAMCFG, NOOFCOLS); in gfx_v8_0_gpu_early_init()
H A Dcik.c1159 return adev->gfx.config.mc_arb_ramcfg; in cik_get_register_value()
H A Dvi.c782 return adev->gfx.config.mc_arb_ramcfg; in vi_get_register_value()
H A Dsi.c1199 return adev->gfx.config.mc_arb_ramcfg; in si_get_register_value()
H A Damdgpu_debugfs.c915 config[no_regs++] = adev->gfx.config.mc_arb_ramcfg; in amdgpu_debugfs_gca_config_read()