]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: fix bit shift logic
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Fri, 10 Oct 2025 18:02:40 +0000 (23:32 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:15 +0000 (14:14 -0400)
commit74de0eaa00eac2e0cbad1dda6dcf8f44ab27629e
treedf6eb726741842a2d609a8d2851b1db7c91aad55
parent6917112af2ba36c5f19075eb9f2933ffd07e55bf
drm/amdgpu: fix bit shift logic

BIT_ULL(n) sets nth bit, remove explicit shift and set the position

Fixes: a7a411e24626 ("drm/amdgpu: fix shift-out-of-bounds in amdgpu_debugfs_jpeg_sched_mask_set")
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c