diff options
| author | Stephen Rothwell <[email protected]> | 2023-12-19 03:57:34 +0000 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2023-12-19 13:29:17 +0000 |
| commit | 933a2a376fb3f22ba4774f74233571504ac56b02 (patch) | |
| tree | 4b0719fa8df84eeff35a3d544792d537a3f891ad /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/bridge: properly refcount DT nodes in aux bridge drivers (diff) | |
| download | kernel-933a2a376fb3f22ba4774f74233571504ac56b02.tar.gz kernel-933a2a376fb3f22ba4774f74233571504ac56b02.zip | |
drm: using mul_u32_u32() requires linux/math64.h
Some pending include file cleanups produced this error:
In file included from include/linux/kernel.h:27,
from drivers/gpu/ipu-v3/ipu-dp.c:7:
include/drm/drm_color_mgmt.h: In function 'drm_color_lut_extract':
include/drm/drm_color_mgmt.h:45:46: error: implicit declaration of function 'mul_u32_u32' [-Werror=implicit-function-declaration]
45 | return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(user_input, (1 << bit_precision) - 1),
| ^~~~~~~~~~~
Fixes: c6fbb6bca108 ("drm: Fix color LUT rounding")
Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
