Searched refs:smx_dc_ctl0 (Results 1 – 3 of 3) sorted by relevance
1183 u32 smx_dc_ctl0; in rv770_gpu_init() local1421 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in rv770_gpu_init()1422 smx_dc_ctl0 &= ~CACHE_DEPTH(0x1ff); in rv770_gpu_init()1423 smx_dc_ctl0 |= CACHE_DEPTH((rdev->config.rv770.sx_num_of_sets * 64) - 1); in rv770_gpu_init()1424 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in rv770_gpu_init()
884 u32 smx_dc_ctl0; in cayman_gpu_init() local1165 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in cayman_gpu_init()1166 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in cayman_gpu_init()1167 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.cayman.sx_num_of_sets); in cayman_gpu_init()1168 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in cayman_gpu_init()
3140 u32 smx_dc_ctl0; in evergreen_gpu_init() local3546 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in evergreen_gpu_init()3547 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in evergreen_gpu_init()3548 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.evergreen.sx_num_of_sets); in evergreen_gpu_init()3549 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in evergreen_gpu_init()