[PATCH 20/23] drm/amdgpu/mxgpu: enable VI virtualization

Xiangliang Yu Xiangliang.Yu at amd.com
Sat Dec 17 16:16:42 UTC 2016


Call vi ip block setup function to enable vi virtualization.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu at amd.com>
---
 drivers/gpu/drm/amd/mxgpu/amd_mxgpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/mxgpu/amd_mxgpu.c b/drivers/gpu/drm/amd/mxgpu/amd_mxgpu.c
index 72469e2..7cacab7 100644
--- a/drivers/gpu/drm/amd/mxgpu/amd_mxgpu.c
+++ b/drivers/gpu/drm/amd/mxgpu/amd_mxgpu.c
@@ -62,6 +62,7 @@ static int amd_xgpu_init_ip_blocks(struct amdgpu_device *adev)
 	case CHIP_TONGA:
 	case CHIP_FIJI:
 		/* add IP blocks*/
+		xgpu_vi_add_ip_blocks(adev);
 		break;
 	default:
 		DRM_ERROR("Does not support this chip.\n");
-- 
2.7.4



More information about the amd-gfx mailing list