Searched refs:smx_dc_ctl0 (Results 1 – 4 of 4) sorted by relevance
1180 u32 smx_dc_ctl0; in rv770_gpu_init() local1418 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in rv770_gpu_init()1419 smx_dc_ctl0 &= ~CACHE_DEPTH(0x1ff); in rv770_gpu_init()1420 smx_dc_ctl0 |= CACHE_DEPTH((rdev->config.rv770.sx_num_of_sets * 64) - 1); in rv770_gpu_init()1421 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in rv770_gpu_init()
904 u32 smx_dc_ctl0; in cayman_gpu_init() local1185 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in cayman_gpu_init()1186 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in cayman_gpu_init()1187 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.cayman.sx_num_of_sets); in cayman_gpu_init()1188 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in cayman_gpu_init()
3145 u32 smx_dc_ctl0; in evergreen_gpu_init() local3551 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in evergreen_gpu_init()3552 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in evergreen_gpu_init()3553 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.evergreen.sx_num_of_sets); in evergreen_gpu_init()3554 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in evergreen_gpu_init()
1269 u32 smx_dc_ctl0; in r700_gfx_init() local1480 smx_dc_ctl0 = RADEON_READ(R600_SMX_DC_CTL0); in r700_gfx_init()1481 smx_dc_ctl0 &= ~R700_CACHE_DEPTH(0x1ff); in r700_gfx_init()1482 smx_dc_ctl0 |= R700_CACHE_DEPTH((dev_priv->r700_sx_num_of_sets * 64) - 1); in r700_gfx_init()1483 RADEON_WRITE(R600_SMX_DC_CTL0, smx_dc_ctl0); in r700_gfx_init()