Home
last modified time | relevance | path

Searched refs:smx_dc_ctl0 (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dni.c897 u32 smx_dc_ctl0; in cayman_gpu_init() local
1178 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()
H A Drv770.c1175 u32 smx_dc_ctl0; in rv770_gpu_init() local
1413 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()
H A Devergreen.c3138 u32 smx_dc_ctl0; in evergreen_gpu_init() local
3544 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Drv770.c1172 u32 smx_dc_ctl0; in rv770_gpu_init() local
1410 smx_dc_ctl0 = RREG32(SMX_DC_CTL0); in rv770_gpu_init()
1411 smx_dc_ctl0 &= ~CACHE_DEPTH(0x1ff); in rv770_gpu_init()
1412 smx_dc_ctl0 |= CACHE_DEPTH((rdev->config.rv770.sx_num_of_sets * 64) - 1); in rv770_gpu_init()
1413 WREG32(SMX_DC_CTL0, smx_dc_ctl0); in rv770_gpu_init()
H A Dni.c884 u32 smx_dc_ctl0; in cayman_gpu_init() local
1165 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()
H A Devergreen.c3140 u32 smx_dc_ctl0; in evergreen_gpu_init() local
3546 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()

Completed in 20 milliseconds