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:05 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2025-02-20 10:38:33 +0300
commit966a0d49d1cd57165ad3e6232cf9de6fe43ecc63 (patch)
tree312a8a021d381075b299416f2000418ff349ebf5 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parent6ec054a52d92fd172560996e3b2a4234a31f5265 (diff)
downloadlinux-966a0d49d1cd57165ad3e6232cf9de6fe43ecc63.tar.xz
drm/ast: cursor: Move format conversion to shared helper
User-space cursor-image data is encoded in ARBG8888, while hardware supports ARGB4444. Implement the format conversion as part of the format-helper framework, so that other drivers can benefit. This allows to respect the damage area of the cursor update. In previous code, all cursor image data had to be converted on each update. Now, only the changed areas require an update. The hardware image is always updated completely, as it is required for the checksum update. The format-conversion helper still contains the old implementation's optimization of writing 2 output pixels at the same time. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250217122336.230067-3-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions