diff options
author | Igor Torrente <igormtorrente@gmail.com> | 2022-09-05 16:08:10 -0300 |
---|---|---|
committer | Melissa Wen <melissa.srw@gmail.com> | 2022-09-05 20:23:38 -0100 |
commit | 3675d8a1726337bd1e839a185e0a7ce0bc459b6b (patch) | |
tree | 8a2d5b8dfa7af2d7650c7aa9cae7816872dad365 /lib/locking-selftest.c | |
parent | bc0d7fdefec62e0cb83c1bcd3c7bd033f5e826e0 (diff) |
drm: vkms: Adds XRGB_16161616 and ARGB_1616161616 formats
This will be useful to write tests that depends on these formats.
ARGB and XRGB follows the a similar implementation of the former formats.
Just adjusting for 16 bits per channel.
V3: Adapt the handlers to the new format introduced in patch 7 V3.
V5: Minor improvements
Added le16_to_cpu/cpu_to_le16 to the 16 bits color read/writes.
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Igor Torrente <igormtorrente@gmail.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220905190811.25024-9-igormtorrente@gmail.com
Diffstat (limited to 'lib/locking-selftest.c')
0 files changed, 0 insertions, 0 deletions