drm/radeon: fill in radeon_asic_init for hawaii

Fill in gpu details for hawaii.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher 2013-08-19 18:02:26 -04:00
parent 7eeeabfcce
commit 41971b37d1

View File

@ -2437,9 +2437,11 @@ int radeon_asic_init(struct radeon_device *rdev)
} }
break; break;
case CHIP_BONAIRE: case CHIP_BONAIRE:
case CHIP_HAWAII:
rdev->asic = &ci_asic; rdev->asic = &ci_asic;
rdev->num_crtc = 6; rdev->num_crtc = 6;
rdev->has_uvd = true; rdev->has_uvd = true;
if (rdev->family == CHIP_BONAIRE) {
rdev->cg_flags = rdev->cg_flags =
RADEON_CG_SUPPORT_GFX_MGCG | RADEON_CG_SUPPORT_GFX_MGCG |
RADEON_CG_SUPPORT_GFX_MGLS | RADEON_CG_SUPPORT_GFX_MGLS |
@ -2458,6 +2460,25 @@ int radeon_asic_init(struct radeon_device *rdev)
RADEON_CG_SUPPORT_HDP_LS | RADEON_CG_SUPPORT_HDP_LS |
RADEON_CG_SUPPORT_HDP_MGCG; RADEON_CG_SUPPORT_HDP_MGCG;
rdev->pg_flags = 0; rdev->pg_flags = 0;
} else {
rdev->cg_flags =
RADEON_CG_SUPPORT_GFX_MGCG |
RADEON_CG_SUPPORT_GFX_MGLS |
/*RADEON_CG_SUPPORT_GFX_CGCG |*/
RADEON_CG_SUPPORT_GFX_CGLS |
RADEON_CG_SUPPORT_GFX_CGTS |
RADEON_CG_SUPPORT_GFX_CP_LS |
RADEON_CG_SUPPORT_MC_LS |
RADEON_CG_SUPPORT_MC_MGCG |
RADEON_CG_SUPPORT_SDMA_MGCG |
RADEON_CG_SUPPORT_SDMA_LS |
RADEON_CG_SUPPORT_BIF_LS |
RADEON_CG_SUPPORT_VCE_MGCG |
RADEON_CG_SUPPORT_UVD_MGCG |
RADEON_CG_SUPPORT_HDP_LS |
RADEON_CG_SUPPORT_HDP_MGCG;
rdev->pg_flags = 0;
}
break; break;
case CHIP_KAVERI: case CHIP_KAVERI:
case CHIP_KABINI: case CHIP_KABINI: