diff options
author | 2024-05-21 14:48:57 +0800 | |
---|---|---|
committer | 2024-05-23 15:09:35 -0400 | |
commit | 64da71ea76418550aafd85740dfde074c99a3a6c (patch) | |
tree | 13f7aa4a6f36e3f40bb87564039815bc325106fe /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | drm/admgpu: fix dereferencing null pointer context (diff) | |
download | linux-rng-64da71ea76418550aafd85740dfde074c99a3a6c.tar.xz linux-rng-64da71ea76418550aafd85740dfde074c99a3a6c.zip |
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_gfx.c')
0 files changed, 0 insertions, 0 deletions