drm/amdgpu/psp: Add support VMR ring for VF
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Wed, 5 Dec 2018 03:23:43 +0000 (11:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Dec 2018 22:53:46 +0000 (17:53 -0500)
commit5ec996dfb6a19f3ea6d7ab9e74e9f32954af8466
tree890868e8e8d46987773ad45a8fe2a8ba86ba75fb
parentd63cda5bfcd341b86c07beb5919107aae0d9ba99
drm/amdgpu/psp: Add support VMR ring for VF

PSP only support VMR ring for SRIOV vf since v45 and all commands will
be send to VMR ring for executing.

VMR ring use C2PMSG 101 ~ 103 instead of C2PMSG 64 ~ 71.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c