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

Dave Airlie airlied at gmail.com
Sun Sep 11 12:29:52 UTC 2022


On Sun, 11 Sept 2022 at 05:03, Melissa Wen <mwen at igalia.com> 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.


More information about the dri-devel mailing list