drm/radeon: radeon-asic updates for Hainan
Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
c04c00b4c7
commit
86a45cac3f
|
@ -2051,9 +2051,12 @@ int radeon_asic_init(struct radeon_device *rdev)
|
||||||
case CHIP_PITCAIRN:
|
case CHIP_PITCAIRN:
|
||||||
case CHIP_VERDE:
|
case CHIP_VERDE:
|
||||||
case CHIP_OLAND:
|
case CHIP_OLAND:
|
||||||
|
case CHIP_HAINAN:
|
||||||
rdev->asic = &si_asic;
|
rdev->asic = &si_asic;
|
||||||
/* set num crtcs */
|
/* set num crtcs */
|
||||||
if (rdev->family == CHIP_OLAND)
|
if (rdev->family == CHIP_HAINAN)
|
||||||
|
rdev->num_crtc = 0;
|
||||||
|
else if (rdev->family == CHIP_OLAND)
|
||||||
rdev->num_crtc = 2;
|
rdev->num_crtc = 2;
|
||||||
else
|
else
|
||||||
rdev->num_crtc = 6;
|
rdev->num_crtc = 6;
|
||||||
|
|
Loading…
Reference in New Issue