aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorMelissa Wen <[email protected]>2022-09-10 19:03:03 +0000
committerDave Airlie <[email protected]>2022-09-11 12:28:56 +0000
commit89b03aeaef16f8ab48c10c399f97c836bdbae838 (patch)
tree6bbd8f5c600dc82ef355be33c2d1fd50ddd08f68 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentMerge tag 'drm-misc-next-2022-09-09' of git://anongit.freedesktop.org/drm/drm... (diff)
downloadkernel-89b03aeaef16f8ab48c10c399f97c836bdbae838.tar.gz
kernel-89b03aeaef16f8ab48c10c399f97c836bdbae838.zip
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 <[email protected]> (v1) Reviewed-by: Alex Deucher <[email protected]> (v1) Reported-by: Sudip Mukherjee <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Melissa Wen <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions