aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorJesse Zhang <[email protected]>2024-05-21 07:02:54 +0000
committerAlex Deucher <[email protected]>2024-05-23 19:09:50 +0000
commit806e8c5579405a1920902ae58bd7907341a37f7d (patch)
tree965bf549f7c2c856b3285c32427af77bf763849c /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amdgpu/mes12: mes hw_fini fix for mode1 reset (diff)
downloadkernel-806e8c5579405a1920902ae58bd7907341a37f7d.tar.gz
kernel-806e8c5579405a1920902ae58bd7907341a37f7d.zip
drm/amdgpu: fix invadate operation for pg_flags
Since the type of pg_flags is u32, adev->pg_flags >> 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 <[email protected]> Suggested-by: Tim Huang <[email protected]> Reviewed-by: Tim Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions