drm/amdgpu: UVD avoid memory allocation during IB test
authorxinhui pan <xinhui.pan@amd.com>
Thu, 9 Sep 2021 23:54:46 +0000 (07:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Sep 2021 19:59:58 +0000 (15:59 -0400)
commit68331d7cf3a9cd0ddfb7463798a209b1e28ac4bf
tree6286c61d0043380f548f6739cda585a1ce8ec4b1
parentde3a1e336057fd12210eead4367205594e5ac991
drm/amdgpu: UVD avoid memory allocation during IB test

move BO allocation in sw_init.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c