diff options
| author | Thomas Zimmermann <[email protected]> | 2025-02-17 12:22:04 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2025-02-20 07:38:32 +0000 |
| commit | 6ec054a52d92fd172560996e3b2a4234a31f5265 (patch) | |
| tree | e93c50564d40cf5780712bd23a79200081c6b17e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/atomic-helper: Change parameter name of drm_atomic_helper_wait_for_flip_d... (diff) | |
| download | kernel-6ec054a52d92fd172560996e3b2a4234a31f5265.tar.gz kernel-6ec054a52d92fd172560996e3b2a4234a31f5265.zip | |
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 <[email protected]>
Reviewed-by: Jocelyn Falempe <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
