* Re: [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface
[not found] <cc2125f57b98401ea47746ad4784bb4bc6b198c2.1764868989.git.jani.nikula@intel.com>
@ 2025-12-05 4:44 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-05 4:44 UTC (permalink / raw)
To: Jani Nikula, intel-xe, intel-gfx; +Cc: llvm, oe-kbuild-all, jani.nikula
Hi Jani,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-tip/drm-tip]
[cannot apply to drm-i915/for-linux-next drm-i915/for-linux-next-fixes drm-xe/drm-xe-next linus/master v6.18 next-20251204]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-i915-fbc-let-to_intel_display-do-its-generic-magic/20251205-012659
base: https://gitlab.freedesktop.org/drm/tip.git drm-tip
patch link: https://lore.kernel.org/r/cc2125f57b98401ea47746ad4784bb4bc6b198c2.1764868989.git.jani.nikula%40intel.com
patch subject: [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20251205/202512051220.m3NhvHcT-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251205/202512051220.m3NhvHcT-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/202512051220.m3NhvHcT-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/display/intel_fbc.c:1011:11: error: call to undeclared function 'i915_gem_stolen_node_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1011 | offset = i915_gem_stolen_node_offset(fbc->compressed_fb) / (4 * 1024);
| ^
drivers/gpu/drm/i915/display/intel_fbc.c:1011:11: note: did you mean 'intel_parent_stolen_node_offset'?
drivers/gpu/drm/i915/display/intel_parent.h:41:5: note: 'intel_parent_stolen_node_offset' declared here
41 | u32 intel_parent_stolen_node_offset(struct intel_display *display, struct intel_stolen_node *node);
| ^
1 error generated.
vim +/i915_gem_stolen_node_offset +1011 drivers/gpu/drm/i915/display/intel_fbc.c
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 998
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 999 static void fbc_sys_cache_enable(const struct intel_fbc *fbc)
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1000 {
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1001 struct intel_display *display = fbc->display;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1002 struct sys_cache_cfg *sys_cache = &display->fbc.sys_cache;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1003 int range, offset;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1004 u32 cfg;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1005
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1006 if (!HAS_FBC_SYS_CACHE(display))
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1007 return;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1008
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1009 range = fbc_sys_cache_limit(display) / (64 * 1024);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1010
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 @1011 offset = i915_gem_stolen_node_offset(fbc->compressed_fb) / (4 * 1024);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1012
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1013 cfg = FBC_SYS_CACHE_TAG_USE_RES_SPACE | FBC_SYS_CACHEABLE_RANGE(range) |
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1014 FBC_SYS_CACHE_START_BASE(offset);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1015
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1016 mutex_lock(&sys_cache->lock);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1017 /* update sys cache config only if sys cache is unassigned */
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1018 if (sys_cache->id == FBC_SYS_CACHE_ID_NONE)
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1019 fbc_sys_cache_update_config(display, cfg, fbc->id);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1020 mutex_unlock(&sys_cache->lock);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1021 }
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 1022
--
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-05 4:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cc2125f57b98401ea47746ad4784bb4bc6b198c2.1764868989.git.jani.nikula@intel.com>
2025-12-05 4:44 ` [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox