diff options
author | Igor Torrente <[email protected]> | 2022-09-05 16:08:11 -0300 |
---|---|---|
committer | Melissa Wen <[email protected]> | 2022-09-05 20:25:08 -0100 |
commit | 396369d6754993e40f1c84b2e22e40e92dfa4c49 (patch) | |
tree | 94e7c0b3f6d9115fee6b738f01ec4d701f8cf3e8 /lib/mpi/mpiutil.c | |
parent | 3675d8a1726337bd1e839a185e0a7ce0bc459b6b (diff) |
drm: vkms: Add support to the RGB565 format
This commit also adds new helper macros to deal with fixed-point
arithmetic.
It was done to improve the precision of the conversion to ARGB16161616
since the "conversion ratio" is not an integer.
V3: Adapt the handlers to the new format introduced in patch 7 V3.
V5: Minor improvements
V6: Minor improvements (Pekka Paalanen)
Reviewed-by: Melissa Wen <[email protected]>
Signed-off-by: Igor Torrente <[email protected]>
Signed-off-by: Melissa Wen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions