drm/amdgpu: add emit reg write reg wait for vcn jpeg
Subsystems (2)
PATCH 1/1 drm/amdgpu: add emit reg write reg wait for vcn jpeg
From: Boyuan Zhang <[email protected]>
The emit_reg_write_reg_wait function was not assigned for vcn jpeg. This patch add it back.
Signed-off-by Boyuan Zhang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +1 -0
@@ -1722,6 +1722,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_jpeg_ring_vm_funcs = { .end_use = amdgpu_vcn_ring_end_use, .emit_wreg = vcn_v1_0_jpeg_ring_emit_wreg, .emit_reg_wait = vcn_v1_0_jpeg_ring_emit_reg_wait, + .emit_reg_write_reg_wait = amdgpu_ring_emit_reg_write_reg_wait_helper, };static void vcn_v1_0_set_dec_ring_funcs (struct amdgpu_device *adev)
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1531335341-2585-1-git-send-email-boyuan.zhang-5C7GfCeVMHo@public.gmane.org
Leo Liu
Reviewed-byReviewed-by Leo Liu <[email protected]>
Quoted 15 lines · On 07/11/2018 02:55 PM, [email protected] wrote:
From: Boyuan Zhang <[email protected]>
The
emit_reg_write_reg_waitfunction was not assigned for vcn jpeg. This patch add it back.Signed-off-by Boyuan Zhang <[email protected]>--- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c static const struct amdgpu_ring_funcs vcn_v1_0_jpeg_ring_vm_funcs = { · line 1728
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +1
-0@@ -1722,6 +1722,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_jpeg_ring_vm_funcs = { .end_use = amdgpu_vcn_ring_end_use, .emit_wreg = vcn_v1_0_jpeg_ring_emit_wreg, .emit_reg_wait = vcn_v1_0_jpeg_ring_emit_reg_wait, + .emit_reg_write_reg_wait = amdgpu_ring_emit_reg_write_reg_wait_helper, };static void vcn_v1_0_set_dec_ring_funcs (struct amdgpu_device *adev)
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx