== Series Details == Series: Introduce memory region concept (including device local memory) URL : https://patchwork.freedesktop.org/series/56683/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: support 1G pages for the 48b PPGTT Okay! Commit: drm/i915: enable platform support for 1G pages Okay! Commit: drm/i915: buddy allocator +./include/linux/slab.h:664:13: error: undefined identifier '__builtin_mul_overflow' +./include/linux/slab.h:664:13: warning: call with no type! Commit: drm/i915: introduce intel_memory_region -drivers/gpu/drm/i915/selftests/../i915_drv.h:3566:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3567:16: warning: expression using sizeof(void) +./include/uapi/linux/perf_event.h:147:56: warning: cast truncates bits from constant value (8000000000000000 becomes 0) Commit: drm/i915/region: support basic eviction -drivers/gpu/drm/i915/selftests/../i915_drv.h:3567:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3569:16: warning: expression using sizeof(void) Commit: drm/i915/region: support continuous allocations Okay! Commit: drm/i915/region: support volatile objects Okay! Commit: drm/i915: Add memory region information to device_info -drivers/gpu/drm/i915/selftests/../i915_drv.h:3569:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3571:16: warning: expression using sizeof(void) Commit: drm/i915: support creating LMEM objects -drivers/gpu/drm/i915/selftests/../i915_drv.h:3571:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3576:16: warning: expression using sizeof(void) +./include/uapi/linux/perf_event.h:147:56: warning: cast truncates bits from constant value (8000000000000000 becomes 0) Commit: drm/i915/lmem: add helper to get CPU visible pfn Okay! Commit: drm/i915/selftests: exercise writes to LMEM +drivers/gpu/drm/i915/selftests/intel_memory_region.c:507:22: expected unsigned int [noderef] [usertype] <asn:2>*base +drivers/gpu/drm/i915/selftests/intel_memory_region.c:507:22: got void *<noident> +drivers/gpu/drm/i915/selftests/intel_memory_region.c:507:22: warning: incorrect type in assignment (different address spaces) Commit: drm/i915/selftests: exercise huge-pages for LMEM +drivers/gpu/drm/i915/selftests/huge_pages.c:1147:22: expected unsigned int [noderef] [usertype] <asn:2>*base +drivers/gpu/drm/i915/selftests/huge_pages.c:1147:22: got void *<noident> +drivers/gpu/drm/i915/selftests/huge_pages.c:1147:22: warning: incorrect type in assignment (different address spaces) Commit: drm/i915: support object clearing via blitter engine -drivers/gpu/drm/i915/selftests/../i915_drv.h:3576:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3578:16: warning: expression using sizeof(void) Commit: drm/i915: introduce kernel blitter_context -drivers/gpu/drm/i915/selftests/../i915_drv.h:3578:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3580:16: warning: expression using sizeof(void) Commit: drm/i915: support copying objects via blitter engine -drivers/gpu/drm/i915/selftests/../i915_drv.h:3580:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3583:16: warning: expression using sizeof(void) Commit: drm/i915: support basic object migration -drivers/gpu/drm/i915/selftests/../i915_drv.h:3583:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3588:16: warning: expression using sizeof(void) Commit: drm/i915/lmem: support kernel mapping +drivers/gpu/drm/i915/i915_gem.c:2261:42: expected void [noderef] <asn:2>*vaddr +drivers/gpu/drm/i915/i915_gem.c:2261:42: got void *[assigned] ptr +drivers/gpu/drm/i915/i915_gem.c:2261:42: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/i915/i915_gem.c:2645:51: expected void * +drivers/gpu/drm/i915/i915_gem.c:2645:51: got void [noderef] <asn:2>* +drivers/gpu/drm/i915/i915_gem.c:2645:51: warning: incorrect type in return expression (different address spaces) +drivers/gpu/drm/i915/i915_gem.c:2727:42: expected void [noderef] <asn:2>*vaddr +drivers/gpu/drm/i915/i915_gem.c:2727:42: got void *[assigned] ptr +drivers/gpu/drm/i915/i915_gem.c:2727:42: warning: incorrect type in argument 1 (different address spaces) -O:drivers/gpu/drm/i915/selftests/huge_pages.c:1147:22: expected unsigned int [noderef] [usertype] <asn:2>*base -O:drivers/gpu/drm/i915/selftests/huge_pages.c:1147:22: got void *<noident> -O:drivers/gpu/drm/i915/selftests/huge_pages.c:1147:22: warning: incorrect type in assignment (different address spaces) -O:drivers/gpu/drm/i915/selftests/intel_memory_region.c:507:22: expected unsigned int [noderef] [usertype] <asn:2>*base -O:drivers/gpu/drm/i915/selftests/intel_memory_region.c:507:22: got void *<noident> -O:drivers/gpu/drm/i915/selftests/intel_memory_region.c:507:22: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/selftests/intel_memory_region.c:716:15: expected unsigned int [noderef] [usertype] <asn:2>*vaddr +drivers/gpu/drm/i915/selftests/intel_memory_region.c:716:15: got void * +drivers/gpu/drm/i915/selftests/intel_memory_region.c:716:15: warning: incorrect type in assignment (different address spaces) Commit: drm/i915/lmem: support CPU relocations +drivers/gpu/drm/i915/i915_gem_execbuffer.c:1112:15: expected void *vaddr +drivers/gpu/drm/i915/i915_gem_execbuffer.c:1112:15: got void [noderef] <asn:2>* +drivers/gpu/drm/i915/i915_gem_execbuffer.c:1112:15: warning: incorrect type in assignment (different address spaces) Commit: drm/i915: add vfunc for pread Okay! Commit: drm/i915/lmem: support pread Okay! Commit: drm/i915/lmem: support pwrite Okay! Commit: drm/i915: define HAS_MAPPABLE_APERTURE -drivers/gpu/drm/i915/selftests/../i915_drv.h:3588:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/selftests/../i915_drv.h:3590:16: warning: expression using sizeof(void) Commit: drm/i915: do not map aperture if it is not available. Okay! Commit: drm/i915: expose missing map_gtt support to users Okay! Commit: drm/i915: set num_fence_regs to 0 if there is no aperture Okay! Commit: drm/i915: error capture with no ggtt slot +drivers/gpu/drm/i915/i915_gpu_error.c:1063:27: expected void *s +drivers/gpu/drm/i915/i915_gpu_error.c:1063:27: got void [noderef] <asn:2>* +drivers/gpu/drm/i915/i915_gpu_error.c:1063:27: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/i915_gpu_error.c:1065:49: expected void [noderef] <asn:2>*vaddr +drivers/gpu/drm/i915/i915_gpu_error.c:1065:49: got void *s +drivers/gpu/drm/i915/i915_gpu_error.c:1065:49: warning: incorrect type in argument 1 (different address spaces) Commit: drm/i915: Don't try to place HWS in non-existing mappable region Okay! Commit: drm/i915: Split out GTT fault handler to make it generic Okay! Commit: drm/i915: Set correct vmf source pages for gem objects + ^~ + ^~~~~~~~~~~~~~~~~~~~~~~ -drivers/gpu/drm/i915/gvt/gtt.c:757:9: expected void [noderef] <asn:4>**slot -drivers/gpu/drm/i915/gvt/gtt.c:757:9: expected void **slot -drivers/gpu/drm/i915/gvt/gtt.c:757:9: expected void **slot -drivers/gpu/drm/i915/gvt/gtt.c:757:9: expected void **slot -drivers/gpu/drm/i915/gvt/gtt.c:757:9: got void [noderef] <asn:4>** -drivers/gpu/drm/i915/gvt/gtt.c:757:9: got void [noderef] <asn:4>** -drivers/gpu/drm/i915/gvt/gtt.c:757:9: got void [noderef] <asn:4>** -drivers/gpu/drm/i915/gvt/gtt.c:757:9: got void **slot -drivers/gpu/drm/i915/gvt/gtt.c:757:9: warning: incorrect type in argument 1 (different address spaces) -drivers/gpu/drm/i915/gvt/gtt.c:757:9: warning: incorrect type in assignment (different address spaces) -drivers/gpu/drm/i915/gvt/gtt.c:757:9: warning: incorrect type in assignment (different address spaces) -drivers/gpu/drm/i915/gvt/gtt.c:757:9: warning: incorrect type in assignment (different address spaces) -drivers/gpu/drm/i915/gvt/gtt.c:758:45: expected void [noderef] <asn:4>**slot -drivers/gpu/drm/i915/gvt/gtt.c:758:45: got void **slot -drivers/gpu/drm/i915/gvt/gtt.c:758:45: warning: incorrect type in argument 1 (different address spaces) -drivers/gpu/drm/i915/gvt/mmio.c:282:23: warning: memcpy with byte count of 279040 -drivers/gpu/drm/i915/gvt/mmio.c:283:23: warning: memcpy with byte count of 279040 -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/gvt/vgpu.c:196:48: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_drv.h:3591:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_drv.h:3591:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_drv.h:3591:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_drv.h:3591:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_drv.h:3591:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_drv.h:3591:16: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_gem.c:2182:10: error: ‘struct drm_i915_gem_object’ has no member named ‘mmap_origin’ +drivers/gpu/drm/i915/i915_gem.c:2182:24: error: no member 'mmap_origin' in struct drm_i915_gem_object +drivers/gpu/drm/i915/i915_gem.c:2182:24: warning: unknown expression (8 46) +drivers/gpu/drm/i915/i915_gem.c:2182:27: error: ‘I915_MMAP_ORIGIN_OFFSET’ undeclared (first use in this function); did you mean ‘DUMP_PREFIX_OFFSET’? +drivers/gpu/drm/i915/i915_gem.c:2182:27: note: each undeclared identifier is reported only once for each function it appears in +drivers/gpu/drm/i915/i915_gem.c: In function ‘i915_gem_mmap’: -drivers/gpu/drm/i915/i915_gpu_error.c:1023:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_gpu_error.c:1023:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_gpu_error.c:1063:27: expected void *s -drivers/gpu/drm/i915/i915_gpu_error.c:1063:27: got void [noderef] <asn:2>* -drivers/gpu/drm/i915/i915_gpu_error.c:1063:27: warning: incorrect type in assignment (different address spaces) -drivers/gpu/drm/i915/i915_gpu_error.c:1065:49: expected void [noderef] <asn:2>*vaddr -drivers/gpu/drm/i915/i915_gpu_error.c:1065:49: got void *s -drivers/gpu/drm/i915/i915_gpu_error.c:1065:49: warning: incorrect type in argument 1 (different address spaces) -drivers/gpu/drm/i915/i915_gpu_error.c:924:23: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_gpu_error.c:924:23: warning: expression using sizeof(void) -drivers/gpu/drm/i915/i915_perf.c:1422:15: warning: memset with byte count of 16777216 -drivers/gpu/drm/i915/i915_perf.c:1480:15: warning: memset with byte count of 16777216 -drivers/gpu/drm/i915/icl_dsi.c:129:33: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_ddi.c:652:24: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_ddi.c:654:24: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp_aux_backlight.c:157:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp_aux_backlight.c:157:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp_aux_backlight.c:157:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp_aux_backlight.c:157:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp_aux_backlight.c:157:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp_aux_backlight.c:157:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp_aux_backlight.c:157:21: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1405:39: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1405:39: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1405:39: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1405:39: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1405:39: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1405:39: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1405:39: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1405:39: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1775:23: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1775:23: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1928:23: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1948:25: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1948:25: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1970:58: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:1970:58: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:230:16: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:275:30: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:275:30: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:368:28: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:368:28: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:4317:26: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:4317:26: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:4360:27: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:4360:27: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:5778:30: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6163:31: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6192:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6192:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6192:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6192:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6193:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6193:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6193:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6193:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6194:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6194:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6194:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6194:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6195:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6195:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6195:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6195:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6196:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6196:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6196:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dp.c:6196:9: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:574:25: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:574:25: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:575:26: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:575:26: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:710:26: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:710:26: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:752:25: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:752:25: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:784:37: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_dsi_vbt.c:784:37: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_fbdev.c:342:30: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_hdmi.c:1503:34: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_hdmi.c:1503:34: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_hdmi.c:1520:42: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_hdmi.c:1520:42: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_hdmi.c:1524:42: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_hdmi.c:1524:42: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_hdmi.c:1527:42: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_i2c.c:442:31: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_i2c.c:444:31: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_i2c.c:444:31: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_i2c.c:506:23: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_i2c.c:506:23: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1485:15: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1485:15: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1485:15: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1485:15: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1485:15: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1485:15: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1485:15: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1534:34: warning: expression using sizeof(void) -drivers/gpu/drm/i915/intel_panel.c:1534:34: warning: expression using sizeof(void) -dri _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx