Re: [PATCH v2] drm/vkms: fix 32bit compilation error by replacing macros

2022-09-11 Thread Igor Matheus Andrade Torrente
Reviewed-by: Igor Torrente On 9/10/22 16:03, Melissa Wen wrote: Replace vkms_formats macro for fixed-point operations with functions from drm/drm_fixed.h to do the same job and fix 32-bit compilation errors. v2: - don't cast results to s32 (Igor) - add missing drm_fixp2int conversion (Igor) F

Re: [PATCH v2] drm/vkms: fix 32bit compilation error by replacing macros

2022-09-11 Thread Dave Airlie
On Sun, 11 Sept 2022 at 05:03, Melissa Wen wrote: > > Replace vkms_formats macro for fixed-point operations with functions > from drm/drm_fixed.h to do the same job and fix 32-bit compilation > errors. > > v2: > - don't cast results to s32 (Igor) > - add missing drm_fixp2int conversion (Igor) btw

[PATCH v2] drm/vkms: fix 32bit compilation error by replacing macros

2022-09-10 Thread Melissa Wen
Replace vkms_formats macro for fixed-point operations with functions from drm/drm_fixed.h to do the same job and fix 32-bit compilation errors. v2: - don't cast results to s32 (Igor) - add missing drm_fixp2int conversion (Igor) Fixes: a19c2ac9858 ("drm: vkms: Add support to the RGB565 format") Te