From: kernel test robot <lkp@intel.com>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
intel-xe@lists.freedesktop.org
Cc: oe-kbuild-all@lists.linux.dev,
"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
"Christian König" <christian.koenig@amd.com>,
"Somalapuram Amaranath" <Amaranath.Somalapuram@amd.com>,
"Matthew Brost" <matthew.brost@intel.com>,
dri-devel@lists.freedesktop.org,
"Paulo Zanoni" <paulo.r.zanoni@intel.com>,
"Simona Vetter" <simona.vetter@ffwll.ch>
Subject: Re: [PATCH v13 2/8] drm/ttm: Provide a shmem backup implementation
Date: Thu, 14 Nov 2024 06:50:38 +0800 [thread overview]
Message-ID: <202411140637.T225Mshs-lkp@intel.com> (raw)
In-Reply-To: <20241113183550.6228-3-thomas.hellstrom@linux.intel.com>
Hi Thomas,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-xe/drm-xe-next]
[also build test WARNING on linus/master v6.12-rc7 next-20241113]
[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/Thomas-Hellstr-m/drm-ttm-Balance-ttm_resource_cursor_init-and-ttm_resource_cursor_fini/20241114-023727
base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link: https://lore.kernel.org/r/20241113183550.6228-3-thomas.hellstrom%40linux.intel.com
patch subject: [PATCH v13 2/8] drm/ttm: Provide a shmem backup implementation
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20241114/202411140637.T225Mshs-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241114/202411140637.T225Mshs-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/202411140637.T225Mshs-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/ttm/ttm_backup.c:172: warning: expecting prototype for ttm_backup_shmem_bytes_avail(). Prototype was for ttm_backup_bytes_avail() instead
vim +172 drivers/gpu/drm/ttm/ttm_backup.c
161
162 /**
163 * ttm_backup_shmem_bytes_avail() - Report the approximate number of bytes of backup space
164 * left for backup.
165 *
166 * This function is intended also for driver use to indicate whether a
167 * backup attempt is meaningful.
168 *
169 * Return: An approximate size of backup space available.
170 */
171 u64 ttm_backup_bytes_avail(void)
> 172 {
173 /*
174 * The idea behind backing up to shmem is that shmem objects may
175 * eventually be swapped out. So no point swapping out if there
176 * is no or low swap-space available. But the accuracy of this
177 * number also depends on shmem actually swapping out backed-up
178 * shmem objects without too much buffering.
179 */
180 return (u64)get_nr_swap_pages() << PAGE_SHIFT;
181 }
182 EXPORT_SYMBOL_GPL(ttm_backup_bytes_avail);
183
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-11-13 22:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 18:35 [PATCH v13 0/8] TTM shrinker helpers and xe buffer object shrinker Thomas Hellström
2024-11-13 18:35 ` [PATCH v13 1/8] drm/ttm: Balance ttm_resource_cursor_init() and ttm_resource_cursor_fini() Thomas Hellström
2024-11-13 18:35 ` [PATCH v13 2/8] drm/ttm: Provide a shmem backup implementation Thomas Hellström
2024-11-13 22:50 ` kernel test robot [this message]
2024-11-13 23:32 ` kernel test robot
2024-11-13 18:35 ` [PATCH v13 3/8] drm/ttm/pool: Provide a helper to shrink pages Thomas Hellström
2024-11-13 18:35 ` [PATCH v13 4/8] drm/ttm: Use fault-injection to test error paths Thomas Hellström
2024-11-13 18:35 ` [PATCH v13 5/8] drm/ttm: Add a macro to perform LRU iteration Thomas Hellström
2024-11-13 18:35 ` [PATCH v13 6/8] drm/ttm: Add helpers for shrinking Thomas Hellström
2024-11-13 18:35 ` [PATCH v13 7/8] drm/xe: Add a shrinker for xe bos Thomas Hellström
2024-11-13 18:35 ` [PATCH v13 8/8] drm/xe: Increase the XE_PL_TT watermark Thomas Hellström
2024-11-13 21:22 ` ✓ CI.Patch_applied: success for TTM shrinker helpers and xe buffer object shrinker (rev12) Patchwork
2024-11-13 21:22 ` ✗ CI.checkpatch: warning " Patchwork
2024-11-13 21:23 ` ✓ CI.KUnit: success " Patchwork
2024-11-13 21:35 ` ✓ CI.Build: " Patchwork
2024-11-13 21:37 ` ✓ CI.Hooks: " Patchwork
2024-11-13 21:39 ` ✗ CI.checksparse: warning " Patchwork
2024-11-13 21:59 ` ✗ CI.BAT: failure " Patchwork
2024-11-14 10:21 ` ✗ CI.FULL: " Patchwork
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=202411140637.T225Mshs-lkp@intel.com \
--to=lkp@intel.com \
--cc=Amaranath.Somalapuram@amd.com \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.brost@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=paulo.r.zanoni@intel.com \
--cc=simona.vetter@ffwll.ch \
--cc=thomas.hellstrom@linux.intel.com \
/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.