drm/ast: cursor: Improve format handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesNew
- v14 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- only minor style changes
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/ast: cursor: Calculate checksum in helperdrivers/ drivers/ | +58 | 0 replies | |
| 2/4 | drm/ast: cursor: Move format conversion to shared helperdrivers/ drivers/ drivers/ +1 more | +92 | 0 replies | |
| 3/4 | drm/ast: cursor: Add support for ARGB4444drivers/ | +23 | 0 replies | |
| 4/4 | drm/ast: cursor: Move implementation to separate source filedrivers/ drivers/ drivers/ +1 more | +330 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Jocelyn Falempe |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] drm/ast: cursor: Improve format handling
A number of generally useful updates to the cursor code.
The cursor code performs format conversion to the hardware's ARGB444 format and calculation of a checksum in a single function. Patch 1 splits this into two steps. Patch 2 then implements the format conversion with DRM's format helpers. Other drivers can now reuse the code.
With the format handling separated, patch 3 adds support for ARGB4444, which is the hardware's native format.
Patch 4 moves cursor handling into a separate source file.
Tested on AST2600.
v2:
- only minor style changes
Thomas Zimmermann (4):
drm/ast: cursor: Calculate checksum in helper drm/ast: cursor: Move format conversion to shared helper drm/ast: cursor: Add support for ARGB4444
drm/ast: cursor: Move implementation to separate source file
drivers/gpu/drm/ast/Makefile | 1 + drivers/gpu/drm/ast/ast_cursor.c | 309 ++++++++++++++++++++++++++++ drivers/gpu/drm/ast/ast_drv.h | 41 ++-- drivers/gpu/drm/ast/ast_mode.c | 273 +----------------------- drivers/gpu/drm/drm_format_helper.c | 69 +++++++ include/drm/drm_format_helper.h | 3 + 6 files changed, 418 insertions(+), 278 deletions(-) create mode 100644 drivers/gpu/drm/ast/ast_cursor.c
Signature · 1 line
2.48.1