drm/amd/amdgpu: vcn10 Add callback for emit_reg_write_reg_wait
Subsystems (2)
PATCH 1/1 drm/amd/amdgpu: vcn10 Add callback for emit_reg_write_reg_wait
The callback .emit_reg_write_reg_wait was missing for vcn decode which resulted in a kernel oops.
Signed-off-by Tom St Denis <[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
@@ -1109,6 +1109,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_dec_ring_vm_funcs = { .end_use = amdgpu_vcn_ring_end_use, .emit_wreg = vcn_v1_0_dec_ring_emit_wreg, .emit_reg_wait = vcn_v1_0_dec_ring_emit_reg_wait, + .emit_reg_write_reg_wait = amdgpu_ring_emit_reg_write_reg_wait_helper, };static const struct amdgpu_ring_funcs vcn_v1_0_enc_ring_vm_funcs = {
Signature · 6 lines
2.14.3 _______________________________________________ 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): [email protected]
Andrey Grodzovsky
Reviewed-byReviewed-by Andrey Grodzovsky <[email protected]>
Andrey
Quoted 13 lines · Tom St Denis
The callback .emit_reg_write_reg_wait was missing for vcn decode which resulted in a kernel oops.
Signed-off-by Tom St Denis <[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_dec_ring_vm_funcs = { · line 1115
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +1
-0@@ -1109,6 +1109,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_dec_ring_vm_funcs = { .end_use = amdgpu_vcn_ring_end_use, .emit_wreg = vcn_v1_0_dec_ring_emit_wreg, .emit_reg_wait = vcn_v1_0_dec_ring_emit_reg_wait, + .emit_reg_write_reg_wait = amdgpu_ring_emit_reg_write_reg_wait_helper, };static const struct amdgpu_ring_funcs vcn_v1_0_enc_ring_vm_funcs = {
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx