All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android16-6.12-desktop 7/7] drivers/gpu/drm/i915/gt/intel_rps.c:2732:2: error: "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
@ 2025-12-06  5:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-06  5:41 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android16-6.12-desktop
head:   893a821faadd92557e35d840ace1d648fe0a50e6
commit: f8833da199c243bbf9801b0eb6b36820abe8f3ec [7/7] ANDROID: [TEMP] i915: Provide workaround to build i915 as vendor module
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20251206/202512061338.JCk2XMjM-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251206/202512061338.JCk2XMjM-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512061338.JCk2XMjM-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gt/intel_rps.c:2732:2: error: "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
    2732 | #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
         |  ^
   1 error generated.


vim +2732 drivers/gpu/drm/i915/gt/intel_rps.c

  2714	
  2715	/*
  2716	 * Tells the intel_ips driver that the i915 driver is now loaded, if
  2717	 * IPS got loaded first.
  2718	 *
  2719	 * This awkward dance is so that neither module has to depend on the
  2720	 * other in order for IPS to do the appropriate communication of
  2721	 * GPU turbo limits to i915.
  2722	 */
  2723	static void
  2724	ips_ping_for_i915_load(void)
  2725	{
  2726	#if IS_ENABLED(CONFIG_INTEL_IPS)
  2727		/*
  2728		 * (b/352497771): GKI does not allow to build any vendor module which
  2729		 * uses symbol_get/symbol_put as symbol lookup circumvents all ABI
  2730		 * checking.
  2731		 */
> 2732	#error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
  2733		void (*link)(void);
  2734	
  2735		link = symbol_get(ips_link_to_i915_driver);
  2736		if (link) {
  2737			link();
  2738			symbol_put(ips_link_to_i915_driver);
  2739		}
  2740	#endif
  2741	}
  2742	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-06  5:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-06  5:41 [android-common:android16-6.12-desktop 7/7] drivers/gpu/drm/i915/gt/intel_rps.c:2732:2: error: "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first" kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.