mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 11:09:48 +07:00
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 <tom.stdenis@amd.com> Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
51d45cbc91
commit
dfe8a0187c
@ -1109,6 +1109,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_dec_ring_vm_funcs = {
|
|||||||
.end_use = amdgpu_vcn_ring_end_use,
|
.end_use = amdgpu_vcn_ring_end_use,
|
||||||
.emit_wreg = vcn_v1_0_dec_ring_emit_wreg,
|
.emit_wreg = vcn_v1_0_dec_ring_emit_wreg,
|
||||||
.emit_reg_wait = vcn_v1_0_dec_ring_emit_reg_wait,
|
.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 = {
|
static const struct amdgpu_ring_funcs vcn_v1_0_enc_ring_vm_funcs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user