aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-01-11 13:01:58 +0000
committerThomas Zimmermann <[email protected]>2023-01-13 12:18:35 +0000
commitfb28b3f0ecb2393307e5618adb331be5e0f44006 (patch)
tree06016ad6c48072556aa1ed965c1198bb8b37d3f4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm: Include <linux/backlight.h> where needed (diff)
downloadkernel-fb28b3f0ecb2393307e5618adb331be5e0f44006.tar.gz
kernel-fb28b3f0ecb2393307e5618adb331be5e0f44006.zip
drm: Include <linux/of.h> where needed
Include <linux/of.h> in source files that need it. Some of DRM's source code gets OF header via drm_crtc_helper.h and <linux/fb.h>, which can leed to unnecessary recompilation. In drm_modes.c, add a comment on the reason for still including <linux/fb.h>. The header file is required to get KHZ2PICOS(). The macro is part of the UAPI headers, so it cannot be moved to a less prominent location. v2: * include <linux/of.h> in komeda_drv.c (kernel test robot) Signed-off-by: Thomas Zimmermann <[email protected]> Acked-by: Liviu Dudau <[email protected]> # komeda Acked-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions