drm/amdgpu/virt: impl mailbox for ai
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Fri, 10 Mar 2017 06:18:17 +0000 (14:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:05 +0000 (23:55 -0400)
commitc9c9de93a33ccdbf7eaef0c86a5e60551f3410bd
treed6fadb30b4b5be6b17a173a9a18d6c69d94cee63
parentebe0a8097913659e29c4b89a37c93fc0a88c6d4e
drm/amdgpu/virt: impl mailbox for ai

Implement mailbox protocol for AI so that guest vf can communicate
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/Makefile
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h [new file with mode: 0644]