summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorJesse Taube <jesse@rivosinc.com>2024-06-06 14:28:00 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-05 09:38:02 +0200
commit5aae340946df9a2c83ebbe9cd5847056aa9b0bc0 (patch)
treee821eb831b2682b0469b6b2e949feb8b10005d60 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent7e8b94045bc77ce4f085ddfb9eb04e5760e66169 (diff)
RISC-V: fix vector insn load/store width mask
[ Upstream commit 04a2aef59cfe192aa99020601d922359978cc72a ] RVFDQ_FL_FS_WIDTH_MASK should be 3 bits [14-12], shifted down by 12 bits. Replace GENMASK(3, 0) with GENMASK(2, 0). Fixes: cd054837243b ("riscv: Allocate user's vector context in the first-use trap") Signed-off-by: Jesse Taube <jesse@rivosinc.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20240606182800.415831-1-jesse@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions