aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-04-08 10:36:35 +0300
committerBoris Brezillon <boris.brezillon@collabora.com>2024-04-22 09:39:40 +0200
commita9b7dfd1d1f96be3a3f92128e9d78719a8d65939 (patch)
tree4048d6412f3a06cdfb480966bf2266ce9b65c3d9 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
parent0e353133816b3e3e4bf8a682de01506ebc2b1dee (diff)
drm/panthor: clean up some types in panthor_sched_suspend()
These variables should be u32 instead of u64 because they're only storing u32 values. Also static checkers complain when we do: suspended_slots &= ~upd_ctx.timedout_mask; In this code "suspended_slots" is a u64 and "upd_ctx.timedout_mask". The mask clears out the top 32 bits which would likely be a bug if anything were stored there. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/85356b15-4840-4e64-8c75-922cdd6a5fef@moroto.mountain
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions