]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix and cleanup UVD IB generation
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Wed, 7 Feb 2018 19:48:21 +0000 (20:48 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:54 +0000 (14:19 -0500)
commit8254e480a6ef8c1be59e21d3c103427f527a7aae
tree012b68c9a38c8c5e1fbbb15766efbfa55227dd67
parentc2f744a39d73ffe108db3e42a8050e1c69e4e1e4
drm/amdgpu: fix and cleanup UVD IB generation

We didn't synced the BO after validating it. Also sart to use
amdgpu_bo_create_reserved to simplify things.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c