diff options
| author | xinhui pan <[email protected]> | 2021-09-09 23:54:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-14 19:59:58 +0000 |
| commit | 68331d7cf3a9cd0ddfb7463798a209b1e28ac4bf (patch) | |
| tree | 6286c61d0043380f548f6739cda585a1ce8ec4b1 /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | |
| parent | drm/amdgpu: Unify PSP TA context (diff) | |
| download | kernel-68331d7cf3a9cd0ddfb7463798a209b1e28ac4bf.tar.gz kernel-68331d7cf3a9cd0ddfb7463798a209b1e28ac4bf.zip | |
drm/amdgpu: UVD avoid memory allocation during IB test
move BO allocation in sw_init.
Signed-off-by: xinhui pan <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h index edbb8194ee81..76ac9699885d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h @@ -68,6 +68,7 @@ struct amdgpu_uvd { /* store image width to adjust nb memory state */ unsigned decode_image_width; uint32_t keyselect; + struct amdgpu_bo *ib_bo; }; int amdgpu_uvd_sw_init(struct amdgpu_device *adev); |
