From: jsg Date: Wed, 26 Jul 2023 06:14:40 +0000 (+0000) Subject: drm/amdgpu/sdma4: set align mask to 255 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b615b9e20628f398e53f4c000abeeadc5332ecbd;p=openbsd drm/amdgpu/sdma4: set align mask to 255 From Alex Deucher 4596c812916a582e16aedfb243aaee8d010c6220 in linux-6.1.y/6.1.40 e5df16d9428f5c6d2d0b1eff244d6c330ba9ef3a in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c b/sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c index ec8a202b64d..cf817e09883 100644 --- a/sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c +++ b/sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c @@ -2330,7 +2330,7 @@ const struct amd_ip_funcs sdma_v4_0_ip_funcs = { static const struct amdgpu_ring_funcs sdma_v4_0_ring_funcs = { .type = AMDGPU_RING_TYPE_SDMA, - .align_mask = 0xf, + .align_mask = 0xff, .nop = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP), .support_64bit_ptrs = true, .secure_submission_supported = true, @@ -2400,7 +2400,7 @@ static const struct amdgpu_ring_funcs sdma_v4_0_ring_funcs_2nd_mmhub = { static const struct amdgpu_ring_funcs sdma_v4_0_page_ring_funcs = { .type = AMDGPU_RING_TYPE_SDMA, - .align_mask = 0xf, + .align_mask = 0xff, .nop = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP), .support_64bit_ptrs = true, .secure_submission_supported = true,