Hi Ramalingam, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [cannot apply to drm-tip/drm-tip v5.5-rc3 next-20191220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Ramalingam-C/drm-i915-lmem-debugfs-for-LMEM-details/20191223-230416 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: i386-randconfig-g003-20191223 (attached as .config) compiler: gcc-7 (Debian 7.5.0-3) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/gpu/drm/i915/i915_debugfs.c: In function 'i915_gem_object_info': >> drivers/gpu/drm/i915/i915_debugfs.c:377:33: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t {aka unsigned int}' [-Werror=format=] seq_printf(m, "LMEM total: %llu bytes, available %llu bytes\n", ~~~^ %u drivers/gpu/drm/i915/i915_debugfs.c:377:55: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'resource_size_t {aka unsigned int}' [-Werror=format=] seq_printf(m, "LMEM total: %llu bytes, available %llu bytes\n", ~~~^ %u cc1: all warnings being treated as errors vim +377 drivers/gpu/drm/i915/i915_debugfs.c 366 367 static int i915_gem_object_info(struct seq_file *m, void *data) 368 { 369 struct drm_i915_private *i915 = node_to_i915(m->private); 370 371 seq_printf(m, "%u shrinkable [%u free] objects, %llu bytes\n", 372 i915->mm.shrink_count, 373 atomic_read(&i915->mm.free_count), 374 i915->mm.shrink_memory); 375 376 if (HAS_LMEM(i915)) { > 377 seq_printf(m, "LMEM total: %llu bytes, available %llu bytes\n", 378 READ_ONCE(i915->mm.regions[INTEL_REGION_LMEM]->total), 379 READ_ONCE(i915->mm.regions[INTEL_REGION_LMEM]->avail)); 380 } 381 382 print_context_stats(m, i915); 383 384 return 0; 385 } 386 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx