diff options
| author | Thomas Zimmermann <[email protected]> | 2023-01-02 12:29:22 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2023-01-03 14:25:41 +0100 |
| commit | 56119bfb39142090fb84ac08a3f14dd48410e961 (patch) | |
| tree | 39ac334b056b1370791263f334843e7b81967a25 /tools/perf/scripts/python | |
| parent | 175073d694cd9db4c4ca97c978a447acc6b5cb33 (diff) | |
drm/format-helper: Add conversion from XRGB8888 to ARGB2101010
Add dedicated helper to convert from XRGB8888 to ARGB2101010. Sets
all alpha bits to make pixels fully opaque.
v2:
* set correct format in struct drm_framebuffer (Javier)
* use cpubuf_to_le32()
* type fixes
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: José Expósito <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions