Skip to contentSkip to conversation

drm/amdgpu: add emit reg write reg wait for vcn jpeg

PATCH In review [email protected] 2 participants 2 messages Jul 11, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index b82c920..4fccb21 100644
@@ -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

Reviewed-by
#2 lore raw
Quoted 15 lines · 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.

---
  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
index b82c920..4fccb21 100644

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