mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-17 06:18:21 +00:00
Currently, the pixel conversion isn't rounding the fixed-point values
before assigning it to the RGB coefficients, which is causing the IGT
pixel-format tests to fail. So, use the drm_fixp2int_round() fixed-point
helper to round the values when assigning it to the RGB coefficients.
Tested with igt@kms_plane@pixel-format and igt@kms_plane@pixel-format-source-clamping.
[v2]:
* Use drm_fixp2int_round() to fix the pixel conversion instead of
casting the values to s32 (Melissa Wen).
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| vkms_composer.c | ||
| vkms_crtc.c | ||
| vkms_drv.c | ||
| vkms_drv.h | ||
| vkms_formats.c | ||
| vkms_formats.h | ||
| vkms_output.c | ||
| vkms_plane.c | ||
| vkms_writeback.c | ||