Reviewed-by: Leo Liu <[email protected]>

On 07/11/2018 02:55 PM, [email protected] wrote:
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(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 
b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
index b82c920..4fccb21 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
@@ -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

Reply via email to