diff options
author | Melissa Wen <[email protected]> | 2022-09-10 18:03:03 -0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2022-09-11 22:28:56 +1000 |
commit | 89b03aeaef16f8ab48c10c399f97c836bdbae838 (patch) | |
tree | 6bbd8f5c600dc82ef355be33c2d1fd50ddd08f68 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | fb34d8a04e5876552cd0d4f9e14400ee13f116fb (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 <[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 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions