aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorYue Haibing <[email protected]>2025-03-15 12:01:43 +0000
committerJani Nikula <[email protected]>2025-03-20 16:27:21 +0000
commitaf9ec6e4682c089028d763b0b77c04fa2ddae268 (patch)
tree19523120b3cafb28cca60d732aad23989b6ed4fb /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/i915/watermark: Check bounds for scaler_users for dsc prefill latency (diff)
downloadkernel-af9ec6e4682c089028d763b0b77c04fa2ddae268.tar.gz
kernel-af9ec6e4682c089028d763b0b77c04fa2ddae268.zip
drm/i915/display: Fix build error without DRM_FBDEV_EMULATION
In file included from <command-line>: ./drivers/gpu/drm/i915/display/intel_fbdev.h: In function ‘intel_fbdev_framebuffer’: ./drivers/gpu/drm/i915/display/intel_fbdev.h:32:16: error: ‘NULL’ undeclared (first use in this function) 32 | return NULL; | ^~~~ ./drivers/gpu/drm/i915/display/intel_fbdev.h:1:1: note: ‘NULL’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? +++ |+#include <stddef.h> 1 | /* SPDX-License-Identifier: MIT */ ./drivers/gpu/drm/i915/display/intel_fbdev.h:32:16: note: each undeclared identifier is reported only once for each function it appears in 32 | return NULL; | ^~~~ Build fails if CONFIG_DRM_FBDEV_EMULATION is n, add missing header file. Fixes: 9fa154f40eb6 ("drm/{i915,xe}: Run DRM default client setup") Signed-off-by: Yue Haibing <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jani Nikula <[email protected]> (cherry picked from commit 97e81f78d3cbf061a809bbb8180a5b96395b8e03) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions