OSDN Git Service

drm/amdgpu: add amdgpu_set_ib_value helper (v2)
authorChristian König <christian.koenig@amd.com>
Sun, 31 Jan 2016 10:00:41 +0000 (11:00 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:17:14 +0000 (14:17 -0500)
commit7270f8391df1a0b68fb6bef416dd6d7d0634ed71
tree0014d059c85e16393fdd549ff11ffb708cd3f155
parentb6ea2f37a222c9d04725188a9751f21ee07eab2e
drm/amdgpu: add amdgpu_set_ib_value helper (v2)

And use it in UVD/VCE command patching.

v2: squash in Christian's fix

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