Searched refs:smx_dc_ctl0 (Results 1 – 3 of 3) sorted by relevance
1175 u32 smx_dc_ctl0; in rv770_gpu_init() local1413 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in rv770_gpu_init()1414 smx_dc_ctl0 &= ~CACHE_DEPTH(0x1ff); in rv770_gpu_init()1415 smx_dc_ctl0 |= CACHE_DEPTH((rdev->config.rv770.sx_num_of_sets * 64) - 1); in rv770_gpu_init()1416 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in rv770_gpu_init()
897 u32 smx_dc_ctl0; in cayman_gpu_init() local1178 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in cayman_gpu_init()1179 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in cayman_gpu_init()1180 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.cayman.sx_num_of_sets); in cayman_gpu_init()1181 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in cayman_gpu_init()
3138 u32 smx_dc_ctl0; in evergreen_gpu_init() local3544 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in evergreen_gpu_init()3545 smx_dc_ctl0 &= ~NUMBER_OF_SETS(0x1ff); in evergreen_gpu_init()3546 smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.evergreen.sx_num_of_sets); in evergreen_gpu_init()3547 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in evergreen_gpu_init()