* [android-common:android15-6.6-desktop 15/16] drivers/gpu/drm/i915/gt/intel_rps.c:2735:2: error: #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
@ 2024-10-31 18:51 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-31 18:51 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android15-6.6-desktop
head: 81bd1eb3862e37f2ce6e1148ed51ac214ab5c007
commit: 1e38a98e8350cd5437a2479854dc4d2ef034ddde [15/16] ANDROID: i915: Provide workaround to build i915 as vendor module
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20241101/202411010217.FDF5L84c-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241101/202411010217.FDF5L84c-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/202411010217.FDF5L84c-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/gt/intel_rps.c: In function 'ips_ping_for_i915_load':
>> drivers/gpu/drm/i915/gt/intel_rps.c:2735:2: error: #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
2735 | #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
| ^~~~~
vim +2735 drivers/gpu/drm/i915/gt/intel_rps.c
2717
2718 /*
2719 * Tells the intel_ips driver that the i915 driver is now loaded, if
2720 * IPS got loaded first.
2721 *
2722 * This awkward dance is so that neither module has to depend on the
2723 * other in order for IPS to do the appropriate communication of
2724 * GPU turbo limits to i915.
2725 */
2726 static void
2727 ips_ping_for_i915_load(void)
2728 {
2729 #if IS_ENABLED(CONFIG_INTEL_IPS)
2730 /*
2731 * (b/352497771): GKI does not allow to build any vendor module which
2732 * uses symbol_get/symbol_put as symbol lookup circumvents all ABI
2733 * checking.
2734 */
> 2735 #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
2736 void (*link)(void);
2737
2738 link = symbol_get(ips_link_to_i915_driver);
2739 if (link) {
2740 link();
2741 symbol_put(ips_link_to_i915_driver);
2742 }
2743 #endif
2744 }
2745
--
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:[~2024-10-31 18:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-31 18:51 [android-common:android15-6.6-desktop 15/16] drivers/gpu/drm/i915/gt/intel_rps.c:2735:2: error: #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.