Commit 474612fc authored by Leo Liu's avatar Leo Liu Committed by Alex Deucher

drm/amdgpu/VCN: set no_user_fence flag to true

There is no user fence support for VCN
Signed-off-by: default avatarLeo Liu <leo.liu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f61334b5
...@@ -2054,6 +2054,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_dec_ring_vm_funcs = { ...@@ -2054,6 +2054,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_dec_ring_vm_funcs = {
.type = AMDGPU_RING_TYPE_VCN_DEC, .type = AMDGPU_RING_TYPE_VCN_DEC,
.align_mask = 0xf, .align_mask = 0xf,
.support_64bit_ptrs = false, .support_64bit_ptrs = false,
.no_user_fence = true,
.vmhub = AMDGPU_MMHUB, .vmhub = AMDGPU_MMHUB,
.get_rptr = vcn_v1_0_dec_ring_get_rptr, .get_rptr = vcn_v1_0_dec_ring_get_rptr,
.get_wptr = vcn_v1_0_dec_ring_get_wptr, .get_wptr = vcn_v1_0_dec_ring_get_wptr,
...@@ -2087,6 +2088,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_enc_ring_vm_funcs = { ...@@ -2087,6 +2088,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_enc_ring_vm_funcs = {
.align_mask = 0x3f, .align_mask = 0x3f,
.nop = VCN_ENC_CMD_NO_OP, .nop = VCN_ENC_CMD_NO_OP,
.support_64bit_ptrs = false, .support_64bit_ptrs = false,
.no_user_fence = true,
.vmhub = AMDGPU_MMHUB, .vmhub = AMDGPU_MMHUB,
.get_rptr = vcn_v1_0_enc_ring_get_rptr, .get_rptr = vcn_v1_0_enc_ring_get_rptr,
.get_wptr = vcn_v1_0_enc_ring_get_wptr, .get_wptr = vcn_v1_0_enc_ring_get_wptr,
...@@ -2118,6 +2120,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_jpeg_ring_vm_funcs = { ...@@ -2118,6 +2120,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_jpeg_ring_vm_funcs = {
.align_mask = 0xf, .align_mask = 0xf,
.nop = PACKET0(0x81ff, 0), .nop = PACKET0(0x81ff, 0),
.support_64bit_ptrs = false, .support_64bit_ptrs = false,
.no_user_fence = true,
.vmhub = AMDGPU_MMHUB, .vmhub = AMDGPU_MMHUB,
.extra_dw = 64, .extra_dw = 64,
.get_rptr = vcn_v1_0_jpeg_ring_get_rptr, .get_rptr = vcn_v1_0_jpeg_ring_get_rptr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment