diff options
author | Emily Deng <Emily.Deng@amd.com> | 2018-12-12 05:06:16 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-12-14 12:04:39 -0500 |
commit | e27a73d1305f22cc093b16ea9f2a81cfa9e5193c (patch) | |
tree | c2486d3fc7bb7346a25b25268999a44ac32b6d83 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | e30c50cd79f088f33098b76ed01a33c724eafee3 (diff) |
drm/amdgpu/psp: Correct and refine the vmr support. (v2)
Currently driver only psp v11 support vmr.
v2: squash in unused variable removal (Alex)
Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index 6759d898b3ab..8fab0d637ee5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |||
@@ -155,14 +155,6 @@ psp_cmd_submit_buf(struct psp_context *psp, | |||
155 | return ret; | 155 | return ret; |
156 | } | 156 | } |
157 | 157 | ||
158 | bool psp_support_vmr_ring(struct psp_context *psp) | ||
159 | { | ||
160 | if (amdgpu_sriov_vf(psp->adev) && psp->sos_fw_version > 0x80045) | ||
161 | return true; | ||
162 | else | ||
163 | return false; | ||
164 | } | ||
165 | |||
166 | static void psp_prep_tmr_cmd_buf(struct psp_context *psp, | 158 | static void psp_prep_tmr_cmd_buf(struct psp_context *psp, |
167 | struct psp_gfx_cmd_resp *cmd, | 159 | struct psp_gfx_cmd_resp *cmd, |
168 | uint64_t tmr_mc, uint32_t size) | 160 | uint64_t tmr_mc, uint32_t size) |