linux-stable/drivers/gpu/drm/vkms
Melissa Wen 89b03aeaef 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
2022-09-11 22:28:56 +10:00
..
Makefile drm: vkms: Refactor the plane composer to accept new formats 2022-09-05 20:18:35 -01:00
vkms_composer.c drm: vkms: Supports to the case where primary plane doesn't match the CRTC 2022-09-05 20:18:42 -01:00
vkms_crtc.c drm/vkms: fix misuse of WARN_ON 2021-03-25 08:23:28 -03:00
vkms_drv.c drm/vkms: Create a debugfs file to get vkms config data 2021-07-08 21:44:13 +01:00
vkms_drv.h drm: vkms: Add fb information to vkms_writeback_job 2022-09-05 20:12:18 -01:00
vkms_formats.c drm/vkms: fix 32bit compilation error by replacing macros 2022-09-11 22:28:56 +10:00
vkms_formats.h drm: vkms: Refactor the plane composer to accept new formats 2022-09-05 20:18:35 -01:00
vkms_output.c drm: Drop drm_edid.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vkms_plane.c drm: vkms: Add support to the RGB565 format 2022-09-05 20:25:08 -01:00
vkms_writeback.c drm: vkms: Add support to the RGB565 format 2022-09-05 20:25:08 -01:00