drm/amdgpu/soc15: init virt ops for vf
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Wed, 8 Mar 2017 07:06:47 +0000 (15:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:06 +0000 (23:55 -0400)
commitf1a34465c8691efc39196d37736cb09a255b98f0
treebd3dc41dca432acc588b0be12f3b2750f6ebd65d
parentc9c9de93a33ccdbf7eaef0c86a5e60551f3410bd
drm/amdgpu/soc15: init virt ops for vf

If gpu device is vf, set virt ops so that guest can talk with GPU
hypervisor.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c