aboutsummaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorMelissa Wen <mwen@igalia.com>2022-09-10 18:03:03 -0100
committerDave Airlie <airlied@redhat.com>2022-09-11 22:28:56 +1000
commit89b03aeaef16f8ab48c10c399f97c836bdbae838 (patch)
tree6bbd8f5c600dc82ef355be33c2d1fd50ddd08f68 /include/drm
parentfb34d8a04e5876552cd0d4f9e14400ee13f116fb (diff)
drm/vkms: fix 32bit compilation error by replacing macros
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") Tested-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> (v1) Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1) Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Melissa Wen <mwen@igalia.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220910190303.682897-1-mwen@igalia.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions