summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-02-17 15:22:04 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2025-02-20 10:38:32 +0300
commit6ec054a52d92fd172560996e3b2a4234a31f5265 (patch)
treee93c50564d40cf5780712bd23a79200081c6b17e /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentf56b6db3e5e432fd0c82ab231572f92a159b5d34 (diff)
downloadlinux-6ec054a52d92fd172560996e3b2a4234a31f5265.tar.xz
drm/ast: cursor: Calculate checksum in helper
Setting the cursor image requires a 32-bit checksum of the cursor image data. The current cursor code converts the image to ARGB4444 format and computes the checksum in a single step. Moving the checksum calculation into a separate helper will allow to move the format conversion into a shared helper. v2: - don't loop for checksum'ing final pixel (Jocelyn) - fix typo in commit message (Jocelyn) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250217122336.230067-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions