diff options
author | Yintian Tao <yttao@amd.com> | 2019-05-16 13:07:26 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-20 12:59:45 -0500 |
commit | 057f91645cef412fe460b17fa50726c8a1c5921c (patch) | |
tree | 9af0b7342047f119494ef773570e16c1f2286d28 /include/video | |
parent | 029f41535ac5e07e1fa17ca963a9f9fd05fb665f (diff) |
drm/amdgpu: skip fw pri bo alloc for SRIOV
PSP fw primary buffer is not used under SRIOV.
Under SRIOV, VBIOS or hypervisor driver will load psp
sos and psp sysdrv. Therefore, we don't need to
allocate memory for it.
v2: remove superfluous check for amdgpu_bo_free_kernel().
Signed-off-by: Yintian Tao <yttao@amd.com>
Signed-off-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>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions