Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
WREG32(RLC_AUTO_PG_CTRL, tmp);
}
-static u32 get_cu_active_bitmap(struct radeon_device *rdev, u32 se, u32 sh)
+static u32 si_get_cu_active_bitmap(struct radeon_device *rdev, u32 se, u32 sh)
{
u32 mask = 0, tmp, tmp1;
int i;
cu_bitmap = 0;
counter = 0;
for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) {
- if (get_cu_active_bitmap(rdev, i, j) & mask) {
+ if (si_get_cu_active_bitmap(rdev, i, j) & mask) {
if (counter < 2)
cu_bitmap |= mask;
counter++;