mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
gpu/drm: tegra: Fix build for Linux v6.8
Building the Tegra DRM driver with Linux v6.8 fails with the following
error ...
drivers/gpu/drm/tegra/hdmi.c:623:25: error: implicit declaration of
function ‘drm_eld_size’; did you mean ‘mm_cid_size’?
[-Werror=implicit-function-declaration]
623 | size_t length = drm_eld_size(hdmi->output.connector.eld), i;
| ^~~~~~~~~~~~
Commit ("8eb80946ab0c drm/edid: split out drm_eld.h from drm_edid.h")
added the header file 'drm/drm_eld.h' which now needs to be included to
build the Tegra DRM driver. Fix the build issue by using conftest to
detect the presence of the header 'drm/drm_eld.h' and include this
header if present.
Bug 4448428
Change-Id: Ifb17648d1dc721e1f0de3f864f4cc76450eea394
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3027485
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2a68fff8b8
commit
8d5286c379
@@ -25,6 +25,9 @@
|
|||||||
#include <drm/drm_atomic_helper.h>
|
#include <drm/drm_atomic_helper.h>
|
||||||
#include <drm/drm_crtc.h>
|
#include <drm/drm_crtc.h>
|
||||||
#include <drm/drm_debugfs.h>
|
#include <drm/drm_debugfs.h>
|
||||||
|
#if defined(NV_DRM_DRM_ELD_H_PRESENT)
|
||||||
|
#include <drm/drm_eld.h>
|
||||||
|
#endif
|
||||||
#include <drm/drm_file.h>
|
#include <drm/drm_file.h>
|
||||||
#include <drm/drm_fourcc.h>
|
#include <drm/drm_fourcc.h>
|
||||||
#include <drm/drm_probe_helper.h>
|
#include <drm/drm_probe_helper.h>
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <drm/drm_atomic_helper.h>
|
#include <drm/drm_atomic_helper.h>
|
||||||
#include <drm/drm_debugfs.h>
|
#include <drm/drm_debugfs.h>
|
||||||
|
#if defined(NV_DRM_DRM_ELD_H_PRESENT)
|
||||||
|
#include <drm/drm_eld.h>
|
||||||
|
#endif
|
||||||
#include <drm/drm_file.h>
|
#include <drm/drm_file.h>
|
||||||
#include <drm/drm_panel.h>
|
#include <drm/drm_panel.h>
|
||||||
#include <drm/drm_simple_kms_helper.h>
|
#include <drm/drm_simple_kms_helper.h>
|
||||||
|
|||||||
@@ -193,6 +193,7 @@ NV_HEADER_PRESENCE_TESTS = \
|
|||||||
drm/dp/drm_dp_aux_bus.h \
|
drm/dp/drm_dp_aux_bus.h \
|
||||||
drm/dp/drm_dp_helper.h \
|
drm/dp/drm_dp_helper.h \
|
||||||
drm/drm_dp_aux_bus.h \
|
drm/drm_dp_aux_bus.h \
|
||||||
|
drm/drm_eld.h \
|
||||||
generated/autoconf.h \
|
generated/autoconf.h \
|
||||||
linux/kconfig.h \
|
linux/kconfig.h \
|
||||||
linux/iosys-map.h \
|
linux/iosys-map.h \
|
||||||
|
|||||||
Reference in New Issue
Block a user