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

From: Dave Airlie
Date: Sun Sep 11 2022 - 08:30:30 EST


On Sun, 11 Sept 2022 at 05:03, Melissa Wen <mwen@xxxxxxxxxx> 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 I've applied this in drm-next, as otherwise I can't build my
32-bit arm build.

Dave.