[Intel-gfx] [PATCH] dma-buf: Replace reservation shared fence array with a compressed radix tree
kbuild test robot
lkp at intel.com
Mon Nov 14 09:19:57 UTC 2016
Hi Chris,
[auto build test WARNING on drm/drm-next]
[also build test WARNING on next-20161114]
[cannot apply to v4.9-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Chris-Wilson/dma-buf-Replace-reservation-shared-fence-array-with-a-compressed-radix-tree/20161114-163437
base: git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x008-201646 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/gpu/drm/qxl/qxl_debugfs.c: In function 'qxl_debugfs_buffers_info':
>> drivers/gpu/drm/qxl/qxl_debugfs.c:70:49: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
seq_printf(m, "size %ld, pc %d, num releases %d\n",
^
vim +70 drivers/gpu/drm/qxl/qxl_debugfs.c
f64122c1 Dave Airlie 2013-02-25 54 qxl_debugfs_buffers_info(struct seq_file *m, void *data)
f64122c1 Dave Airlie 2013-02-25 55 {
f64122c1 Dave Airlie 2013-02-25 56 struct drm_info_node *node = (struct drm_info_node *) m->private;
f64122c1 Dave Airlie 2013-02-25 57 struct qxl_device *qdev = node->minor->dev->dev_private;
f64122c1 Dave Airlie 2013-02-25 58 struct qxl_bo *bo;
f64122c1 Dave Airlie 2013-02-25 59
f64122c1 Dave Airlie 2013-02-25 60 list_for_each_entry(bo, &qdev->gem.objects, list) {
3c911823 Chris Wilson 2016-11-14 61 struct reservation_shared_iter iter;
3c911823 Chris Wilson 2016-11-14 62 unsigned long rel;
2f453ed4 Maarten Lankhorst 2014-04-02 63
3c911823 Chris Wilson 2016-11-14 64 rel = 0;
2f453ed4 Maarten Lankhorst 2014-04-02 65 rcu_read_lock();
3c911823 Chris Wilson 2016-11-14 66 reservation_object_for_each_shared(bo->tbo.resv, iter)
3c911823 Chris Wilson 2016-11-14 67 rel++;
2f453ed4 Maarten Lankhorst 2014-04-02 68 rcu_read_unlock();
2f453ed4 Maarten Lankhorst 2014-04-02 69
f2c24b83 Maarten Lankhorst 2014-04-02 @70 seq_printf(m, "size %ld, pc %d, num releases %d\n",
f2c24b83 Maarten Lankhorst 2014-04-02 71 (unsigned long)bo->gem_base.size,
f2c24b83 Maarten Lankhorst 2014-04-02 72 bo->pin_count, rel);
f64122c1 Dave Airlie 2013-02-25 73 }
f64122c1 Dave Airlie 2013-02-25 74 return 0;
f64122c1 Dave Airlie 2013-02-25 75 }
f64122c1 Dave Airlie 2013-02-25 76
f64122c1 Dave Airlie 2013-02-25 77 static struct drm_info_list qxl_debugfs_list[] = {
f64122c1 Dave Airlie 2013-02-25 78 { "irq_received", qxl_debugfs_irq_received, 0, NULL },
:::::: The code at line 70 was first introduced by commit
:::::: f2c24b83ae90292d315aa7ac029c6ce7929e01aa drm/ttm: flip the switch, and convert to dma_fence
:::::: TO: Maarten Lankhorst <maarten.lankhorst at canonical.com>
:::::: CC: Maarten Lankhorst <maarten.lankhorst at canonical.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 26798 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161114/218b8e15/attachment-0001.gz>
More information about the Intel-gfx
mailing list