Searched refs:smx_dc_ctl0 (Results 1 – 4 of 4) sorted by relevance
1169 u32 smx_dc_ctl0; in rv770_gpu_init() local1407 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in rv770_gpu_init()1408 smx_dc_ctl0 &= ~CACHE_DEPTH(0x1ff); in rv770_gpu_init()1409 smx_dc_ctl0 |= CACHE_DEPTH((rdev->config.rv770.sx_num_of_sets * 64) - 1); in rv770_gpu_init()1410 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in rv770_gpu_init()
877 u32 smx_dc_ctl0; in cayman_gpu_init() local1157 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in cayman_gpu_init()1158 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in cayman_gpu_init()1159 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.cayman.sx_num_of_sets); in cayman_gpu_init()1160 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in cayman_gpu_init()
1361 u32 smx_dc_ctl0; in r700_gfx_init() local1589 smx_dc_ctl0 = RADEON_READ(R600_SMX_DC_CTL0); in r700_gfx_init()1590 smx_dc_ctl0 &= ~R700_CACHE_DEPTH(0x1ff); in r700_gfx_init()1591 smx_dc_ctl0 |= R700_CACHE_DEPTH((dev_priv->r700_sx_num_of_sets * 64) - 1); in r700_gfx_init()1592 RADEON_WRITE(R600_SMX_DC_CTL0, smx_dc_ctl0); in r700_gfx_init()
3179 u32 smx_dc_ctl0; in evergreen_gpu_init() local3584 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in evergreen_gpu_init()3585 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in evergreen_gpu_init()3586 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.evergreen.sx_num_of_sets); in evergreen_gpu_init()3587 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in evergreen_gpu_init()