summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2025-04-08 14:44:48 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2025-04-09 17:56:31 +0300
commitbe45319c9fb1d5c272da9fd34854a7d39e7f58d1 (patch)
treeb4f32385e9df5e39b44e23f8e8fa1777c336b13e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentd385f15d5ba0b4f62575eea09912268bf8136a56 (diff)
downloadlinux-be45319c9fb1d5c272da9fd34854a7d39e7f58d1.tar.xz
erofs: fix encoded extents handling
- The MSB 32 bits of `z_fragmentoff` are available only in extent records of size >= 8B. - Use round_down() to calculate `lstart` as well as increase `pos` correspondingly for extent records of size == 8B. Fixes: 1d191b4ca51d ("erofs: implement encoded extent metadata") Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20250408114448.4040220-2-hsiangkao@linux.alibaba.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions