diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index ddb420d6..4fb594ac 100644 --- a/drivers/gpu/drm/tegra/drm.c +++ b/drivers/gpu/drm/tegra/drm.c @@ -21,11 +21,13 @@ #else #include #endif -#include -#include -#if defined(NV_DRM_DRM_CLIENT_SETUP_H_PRESENT) /* Linux v6.13 */ +#if defined(NV_DRM_CLIENTS_DRM_CLIENT_SETUP_H_PRESENT) /* Linux v6.14 */ +#include +#elif defined(NV_DRM_DRM_CLIENT_SETUP_H_PRESENT) /* Linux v6.13 */ #include #endif +#include +#include #include #include #include diff --git a/scripts/conftest/Makefile b/scripts/conftest/Makefile index 5e87edbf..f441cda7 100644 --- a/scripts/conftest/Makefile +++ b/scripts/conftest/Makefile @@ -262,6 +262,7 @@ $(obj)/conftest/patches.h: $(NV_CONFTEST_SCRIPT) # Each of these headers is checked for presence with a test #include; a # corresponding #define will be generated in conftest/headers.h. NV_HEADER_PRESENCE_TESTS = \ + drm/clients/drm_client_setup.h \ drm/display/drm_dp_aux_bus.h \ drm/display/drm_dp_helper.h \ drm/display/drm_scdc_helper.h \