summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
diff options
context:
space:
mode:
authorJesse Zhang <jesse.zhang@amd.com>2024-05-21 14:48:57 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-05-23 15:09:35 -0400
commit64da71ea76418550aafd85740dfde074c99a3a6c (patch)
tree13f7aa4a6f36e3f40bb87564039815bc325106fe /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
parent030ffd4d43b433bc6671d9ec34fc12c59220b95d (diff)
drm/amdgpu: fix invadate operation for umsch
Since the type of data_size is uint32_t, adev->umsch_mm.data_size - 1 >> 16 >> 16 is 0 regardless of the values of its operands So removing the operations upper_32_bits and lower_32_bits. Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Suggested-by: Tim Huang <Tim.Huang@amd.com> Reviewed-by: Tim Huang <Tim.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h')
0 files changed, 0 insertions, 0 deletions