From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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"
Date: Sat, 6 Dec 2025 13:41:50 +0800 [thread overview]
Message-ID: <202512061338.JCk2XMjM-lkp@intel.com> (raw)
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
reply other threads:[~2025-12-06 5:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202512061338.JCk2XMjM-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.