From fa2415a1dc217ea975e3d41c411c07b03e1714fd Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 5 Jun 2025 14:19:07 +0000 Subject: [PATCH] ANDROID: GKI: fix up crc issue with struct drm_atomic_state In commit b27be76f3501 ("drm/gem: Test for imported GEM buffers with helper"), a new .h file is included in the drm include files, which messes with the definition of struct drm_atomic_state by moving some fields from "unknown" to "known". Fix this up by not pulling in the new file for crc generation. Fixes: b27be76f3501 ("drm/gem: Test for imported GEM buffers with helper") Change-Id: Ida372b7e8dd20b2212369cd12a6045abae7fcb94 Signed-off-by: Greg Kroah-Hartman --- include/drm/drm_gem.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h index a578068169f1..5cc02f444a56 100644 --- a/include/drm/drm_gem.h +++ b/include/drm/drm_gem.h @@ -35,7 +35,9 @@ */ #include +#ifndef __GENKSYMS__ #include +#endif #include #include #include