drm/amdgpu/soc15: init virt ops for vf
authorXiangliang Yu <[email protected]>
Wed, 8 Mar 2017 07:06:47 +0000 (15:06 +0800)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Monk Liu <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/soc15.c