Searched refs:smx_dc_ctl0 (Results 1 – 3 of 3) sorted by relevance
1171 u32 smx_dc_ctl0; in rv770_gpu_init() local1409 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in rv770_gpu_init()1410 smx_dc_ctl0 &= ~CACHE_DEPTH(0x1ff); in rv770_gpu_init()1411 smx_dc_ctl0 |= CACHE_DEPTH((rdev->config.rv770.sx_num_of_sets * 64) - 1); in rv770_gpu_init()1412 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in rv770_gpu_init()
894 u32 smx_dc_ctl0; in cayman_gpu_init() local1175 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in cayman_gpu_init()1176 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in cayman_gpu_init()1177 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.cayman.sx_num_of_sets); in cayman_gpu_init()1178 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in cayman_gpu_init()
3134 u32 smx_dc_ctl0; in evergreen_gpu_init() local3540 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in evergreen_gpu_init()3541 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in evergreen_gpu_init()3542 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.evergreen.sx_num_of_sets); in evergreen_gpu_init()3543 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in evergreen_gpu_init()