tree: git://people.freedesktop.org/~airlied/linux.git not-butter head: f9de02ab2d4b7fc8d05e5fff0d5b4d8e474bbba5 commit: d6c6b836c1d7cca965338f63eda9db568eb9c78e [7/12] i915/ttm: fbcon works config: i386-randconfig-m021-20200630 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): 74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL }; | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=] 73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL }; | ^~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=] 72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL }; | ^~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=] 67 | static const struct fixed31_32 dc_fixpt_zero = { 0 }; | ^~~~~~~~~~~~~ In file included from <command-line>: drivers/gpu/drm/i915/ttm/i915_ttm.h:8:26: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 8 | int i915_ttm_init(struct drm_i915_private *i915); | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:9:27: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 9 | void i915_ttm_fini(struct drm_i915_private *i915); | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h: In function 'i915_ttm_bo_reserve': drivers/gpu/drm/i915/ttm/i915_ttm.h:30:34: error: implicit declaration of function 'to_i915_ttm_dev' [-Werror=implicit-function-declaration] 30 | struct drm_i915_private *i915 = to_i915_ttm_dev(bo->tbo.bdev); | ^~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:30:34: error: initialization of 'struct drm_i915_private *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] In file included from include/linux/device.h:15, from include/drm/drm_print.h:32, from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/drm/drm_gem.h:40, from include/drm/ttm/ttm_bo_api.h:34, from drivers/gpu/drm/i915/ttm/i915_ttm_object_types.h:4, from drivers/gpu/drm/i915/ttm/i915_ttm.h:4, from <command-line>: drivers/gpu/drm/i915/ttm/i915_ttm.h:36:16: error: dereferencing pointer to incomplete type 'struct drm_i915_private' 36 | dev_err(i915->drm.dev, "%p reserve failed\n", bo); | ^~ include/linux/dev_printk.h:104:11: note: in definition of macro 'dev_err' 104 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~ In file included from <command-line>: drivers/gpu/drm/i915/ttm/i915_ttm.h: In function 'i915_ttm_mem_type_to_region': drivers/gpu/drm/i915/ttm/i915_ttm.h:57:10: error: 'REGION_LMEM' undeclared (first use in this function); did you mean 'REGION_MIXED'? 57 | return REGION_LMEM; | ^~~~~~~~~~~ | REGION_MIXED drivers/gpu/drm/i915/ttm/i915_ttm.h:57:10: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu/drm/i915/ttm/i915_ttm.h:59:10: error: 'REGION_SMEM' undeclared (first use in this function); did you mean 'REGION_MIXED'? 59 | return REGION_SMEM; | ^~~~~~~~~~~ | REGION_MIXED drivers/gpu/drm/i915/ttm/i915_ttm.h: At top level: drivers/gpu/drm/i915/ttm/i915_ttm.h:68:40: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 68 | int i915_ttm_bo_create_reserved(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:73:54: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 73 | uint32_t i915_ttm_bo_get_preferred_pin_region(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:76:38: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 76 | int i915_ttm_bo_create_kernel(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:80:39: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 80 | int i915_ttm_gem_object_create(struct drm_i915_private *i915, unsigned long size, | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [drivers/gpu/drm/i915/Makefile:307: drivers/gpu/drm/i915/ttm/i915_ttm.hdrtest] Error 1 drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_init': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:20:6: error: unused variable 'ret' [-Werror=unused-variable] 20 | int ret; | ^~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:17:27: error: unused variable 'i915' [-Werror=unused-variable] 17 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_fini': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:35:27: error: unused variable 'i915' [-Werror=unused-variable] 35 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: At top level: drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:52:6: error: no previous prototype for 'i915_ttm_gtt_mgr_has_gart_addr' [-Werror=missing-prototypes] 52 | bool i915_ttm_gtt_mgr_has_gart_addr(struct ttm_mem_reg *mem) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_alloc': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:64:27: error: unused variable 'i915' [-Werror=unused-variable] 64 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_new': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:105:17: error: unused variable 'mm' [-Werror=unused-variable] 105 | struct drm_mm *mm = &mgr->mm; | ^~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:103:27: error: unused variable 'i915' [-Werror=unused-variable] 103 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_del': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:148:27: error: unused variable 'i915' [-Werror=unused-variable] 148 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/drm/drm_gem.h:40, from drivers/gpu/drm/i915/i915_drv.h:53, from drivers/gpu/drm/i915/display/intel_fbdev.c:44: drivers/gpu/drm/i915/display/intel_fbdev.c: In function 'intelfb_create': >> drivers/gpu/drm/i915/display/intel_fbdev.c:350:30: error: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'u64' {aka 'long long unsigned int'} [-Werror=format=] 350 | drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | ifbdev->fb->base.width, ifbdev->fb->base.height, 352 | vma ? i915_ggtt_offset(vma) : i915_ttm_bo_gpu_offset(bo)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long long unsigned int} include/drm/drm_print.h:436:38: note: in definition of macro 'drm_dbg_kms' 436 | drm_dev_dbg((drm)->dev, DRM_UT_KMS, fmt, ##__VA_ARGS__) | ^~~ drivers/gpu/drm/i915/display/intel_fbdev.c:350:56: note: format string is defined here 350 | drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n", | ~~~^ | | | unsigned int | %08llx cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.o] Error 1 drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c: In function 'i915_ttm_vram_mgr_init': drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:38:6: error: unused variable 'ret' [-Werror=unused-variable] 38 | int ret; | ^~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:35:27: error: unused variable 'i915' [-Werror=unused-variable] 35 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c: In function 'i915_ttm_vram_mgr_fini': drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:53:27: error: unused variable 'i915' [-Werror=unused-variable] 53 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c: In function 'i915_ttm_vram_mgr_new': drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:75:22: error: unused variable 'max_bytes' [-Werror=unused-variable] 75 | uint64_t mem_bytes, max_bytes; | ^~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:69:27: error: unused variable 'i915' [-Werror=unused-variable] 69 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c: In function 'i915_ttm_vram_mgr_del': drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:164:27: error: unused variable 'i915' [-Werror=unused-variable] 164 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/i915/display/intel_fbdev.o] Error 1 cc1: all warnings being treated as errors drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_init_mem_type': make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.o] Error 1 drivers/gpu/drm/i915/ttm/i915_ttm.c:28:27: error: unused variable 'i915' [-Werror=unused-variable] 28 | struct drm_i915_private *i915 = to_i915_ttm_dev(bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_evict_flags': >> drivers/gpu/drm/i915/ttm/i915_ttm.c:67:32: error: unused variable 'placements' [-Werror=unused-variable] 67 | static const struct ttm_place placements = { | ^~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c:65:27: error: unused variable 'i915' [-Werror=unused-variable] 65 | struct drm_i915_private *i915 = to_i915_ttm_dev(tbo->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_bo_destroy': drivers/gpu/drm/i915/ttm/i915_ttm.c:440:27: error: unused variable 'i915' [-Werror=unused-variable] 440 | struct drm_i915_private *i915 = to_i915_ttm_dev(tbo->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: At top level: drivers/gpu/drm/i915/ttm/i915_ttm.c:503:5: error: no previous prototype for 'i915_ttm_bo_create' [-Werror=missing-prototypes] 503 | int i915_ttm_bo_create(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_bo_placement_from_region': drivers/gpu/drm/i915/ttm/i915_ttm.c:521:27: error: unused variable 'i915' [-Werror=unused-variable] 521 | struct drm_i915_private *i915 = to_i915_ttm_dev(bo->tbo.bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: At top level: drivers/gpu/drm/i915/ttm/i915_ttm.c:816:5: error: no previous prototype for 'i915_ttm_bo_pin_restricted' [-Werror=missing-prototypes] 816 | int i915_ttm_bo_pin_restricted(struct i915_ttm_bo *bo, u32 region, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c:995:6: error: no previous prototype for 'i915_ttm_gem_object_free' [-Werror=missing-prototypes] 995 | void i915_ttm_gem_object_free(struct drm_gem_object *gobj) | ^~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/i915/ttm/i915_ttm.c:67:32: error: 'placements' defined but not used [-Werror=unused-const-variable=] 67 | static const struct ttm_place placements = { | ^~~~~~~~~~ >> drivers/gpu/drm/i915/ttm/i915_ttm.c:109:17: error: 'i915_ttm_mm_node_addr' defined but not used [-Werror=unused-function] 109 | static uint64_t i915_ttm_mm_node_addr(struct ttm_buffer_object *bo, | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/i915/ttm/i915_ttm.o] Error 1 make[4]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1756: drivers/gpu] Error 2 make[1]: Target '__all' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/gpu/drm] Error 2 make[2]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/gpu/drm/i915] Error 2 make[3]: Target '__build' not remade because of errors. -- 74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL }; | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=] 73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL }; | ^~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=] 72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL }; | ^~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=] 67 | static const struct fixed31_32 dc_fixpt_zero = { 0 }; | ^~~~~~~~~~~~~ In file included from <command-line>: drivers/gpu/drm/i915/ttm/i915_ttm.h:8:26: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 8 | int i915_ttm_init(struct drm_i915_private *i915); | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:9:27: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 9 | void i915_ttm_fini(struct drm_i915_private *i915); | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h: In function 'i915_ttm_bo_reserve': drivers/gpu/drm/i915/ttm/i915_ttm.h:30:34: error: implicit declaration of function 'to_i915_ttm_dev' [-Werror=implicit-function-declaration] 30 | struct drm_i915_private *i915 = to_i915_ttm_dev(bo->tbo.bdev); | ^~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:30:34: error: initialization of 'struct drm_i915_private *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] In file included from include/linux/device.h:15, from include/drm/drm_print.h:32, from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/drm/drm_gem.h:40, from include/drm/ttm/ttm_bo_api.h:34, from drivers/gpu/drm/i915/ttm/i915_ttm_object_types.h:4, from drivers/gpu/drm/i915/ttm/i915_ttm.h:4, from <command-line>: drivers/gpu/drm/i915/ttm/i915_ttm.h:36:16: error: dereferencing pointer to incomplete type 'struct drm_i915_private' 36 | dev_err(i915->drm.dev, "%p reserve failed\n", bo); | ^~ include/linux/dev_printk.h:104:11: note: in definition of macro 'dev_err' 104 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~ In file included from <command-line>: drivers/gpu/drm/i915/ttm/i915_ttm.h: In function 'i915_ttm_mem_type_to_region': drivers/gpu/drm/i915/ttm/i915_ttm.h:57:10: error: 'REGION_LMEM' undeclared (first use in this function); did you mean 'REGION_MIXED'? 57 | return REGION_LMEM; | ^~~~~~~~~~~ | REGION_MIXED drivers/gpu/drm/i915/ttm/i915_ttm.h:57:10: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu/drm/i915/ttm/i915_ttm.h:59:10: error: 'REGION_SMEM' undeclared (first use in this function); did you mean 'REGION_MIXED'? 59 | return REGION_SMEM; | ^~~~~~~~~~~ | REGION_MIXED drivers/gpu/drm/i915/ttm/i915_ttm.h: At top level: drivers/gpu/drm/i915/ttm/i915_ttm.h:68:40: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 68 | int i915_ttm_bo_create_reserved(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:73:54: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 73 | uint32_t i915_ttm_bo_get_preferred_pin_region(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:76:38: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 76 | int i915_ttm_bo_create_kernel(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.h:80:39: error: 'struct drm_i915_private' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 80 | int i915_ttm_gem_object_create(struct drm_i915_private *i915, unsigned long size, | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [drivers/gpu/drm/i915/Makefile:307: drivers/gpu/drm/i915/ttm/i915_ttm.hdrtest] Error 1 drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_init': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:20:6: error: unused variable 'ret' [-Werror=unused-variable] 20 | int ret; | ^~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:17:27: error: unused variable 'i915' [-Werror=unused-variable] 17 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_fini': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:35:27: error: unused variable 'i915' [-Werror=unused-variable] 35 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: At top level: drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:52:6: error: no previous prototype for 'i915_ttm_gtt_mgr_has_gart_addr' [-Werror=missing-prototypes] 52 | bool i915_ttm_gtt_mgr_has_gart_addr(struct ttm_mem_reg *mem) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_alloc': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:64:27: error: unused variable 'i915' [-Werror=unused-variable] 64 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_new': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:105:17: error: unused variable 'mm' [-Werror=unused-variable] 105 | struct drm_mm *mm = &mgr->mm; | ^~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:103:27: error: unused variable 'i915' [-Werror=unused-variable] 103 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c: In function 'i915_ttm_gtt_mgr_del': drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.c:148:27: error: unused variable 'i915' [-Werror=unused-variable] 148 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/drm/drm_gem.h:40, from drivers/gpu/drm/i915/i915_drv.h:53, from drivers/gpu/drm/i915/display/intel_fbdev.c:44: drivers/gpu/drm/i915/display/intel_fbdev.c: In function 'intelfb_create': >> drivers/gpu/drm/i915/display/intel_fbdev.c:350:30: error: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'u64' {aka 'long long unsigned int'} [-Werror=format=] 350 | drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | ifbdev->fb->base.width, ifbdev->fb->base.height, 352 | vma ? i915_ggtt_offset(vma) : i915_ttm_bo_gpu_offset(bo)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u64 {aka long long unsigned int} include/drm/drm_print.h:436:38: note: in definition of macro 'drm_dbg_kms' 436 | drm_dev_dbg((drm)->dev, DRM_UT_KMS, fmt, ##__VA_ARGS__) | ^~~ drivers/gpu/drm/i915/display/intel_fbdev.c:350:56: note: format string is defined here 350 | drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n", | ~~~^ | | | unsigned int | %08llx cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/i915/ttm/i915_ttm_gtt_mgr.o] Error 1 drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c: In function 'i915_ttm_vram_mgr_init': drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:38:6: error: unused variable 'ret' [-Werror=unused-variable] 38 | int ret; | ^~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:35:27: error: unused variable 'i915' [-Werror=unused-variable] 35 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c: In function 'i915_ttm_vram_mgr_fini': drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:53:27: error: unused variable 'i915' [-Werror=unused-variable] 53 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c: In function 'i915_ttm_vram_mgr_new': drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:75:22: error: unused variable 'max_bytes' [-Werror=unused-variable] 75 | uint64_t mem_bytes, max_bytes; | ^~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:69:27: error: unused variable 'i915' [-Werror=unused-variable] 69 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c: In function 'i915_ttm_vram_mgr_del': drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.c:164:27: error: unused variable 'i915' [-Werror=unused-variable] 164 | struct drm_i915_private *i915 = to_i915_ttm_dev(man->bdev); | ^~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:281: drivers/gpu/drm/i915/display/intel_fbdev.o] Error 1 cc1: all warnings being treated as errors drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_init_mem_type': make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/i915/ttm/i915_ttm_vram_mgr.o] Error 1 drivers/gpu/drm/i915/ttm/i915_ttm.c:28:27: error: unused variable 'i915' [-Werror=unused-variable] 28 | struct drm_i915_private *i915 = to_i915_ttm_dev(bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_evict_flags': >> drivers/gpu/drm/i915/ttm/i915_ttm.c:67:32: error: unused variable 'placements' [-Werror=unused-variable] 67 | static const struct ttm_place placements = { | ^~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c:65:27: error: unused variable 'i915' [-Werror=unused-variable] 65 | struct drm_i915_private *i915 = to_i915_ttm_dev(tbo->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_bo_destroy': drivers/gpu/drm/i915/ttm/i915_ttm.c:440:27: error: unused variable 'i915' [-Werror=unused-variable] 440 | struct drm_i915_private *i915 = to_i915_ttm_dev(tbo->bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: At top level: drivers/gpu/drm/i915/ttm/i915_ttm.c:503:5: error: no previous prototype for 'i915_ttm_bo_create' [-Werror=missing-prototypes] 503 | int i915_ttm_bo_create(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: In function 'i915_ttm_bo_placement_from_region': drivers/gpu/drm/i915/ttm/i915_ttm.c:521:27: error: unused variable 'i915' [-Werror=unused-variable] 521 | struct drm_i915_private *i915 = to_i915_ttm_dev(bo->tbo.bdev); | ^~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c: At top level: drivers/gpu/drm/i915/ttm/i915_ttm.c:816:5: error: no previous prototype for 'i915_ttm_bo_pin_restricted' [-Werror=missing-prototypes] 816 | int i915_ttm_bo_pin_restricted(struct i915_ttm_bo *bo, u32 region, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/ttm/i915_ttm.c:995:6: error: no previous prototype for 'i915_ttm_gem_object_free' [-Werror=missing-prototypes] 995 | void i915_ttm_gem_object_free(struct drm_gem_object *gobj) | ^~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/i915/ttm/i915_ttm.c:67:32: error: 'placements' defined but not used [-Werror=unused-const-variable=] 67 | static const struct ttm_place placements = { | ^~~~~~~~~~ >> drivers/gpu/drm/i915/ttm/i915_ttm.c:109:17: error: 'i915_ttm_mm_node_addr' defined but not used [-Werror=unused-function] 109 | static uint64_t i915_ttm_mm_node_addr(struct ttm_buffer_object *bo, | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:280: drivers/gpu/drm/i915/ttm/i915_ttm.o] Error 1 make[4]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:497: drivers/gpu/drm] Error 2 make[2]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:497: drivers/gpu/drm/i915] Error 2 make[3]: Target '__build' not remade because of errors. .. vim +350 drivers/gpu/drm/i915/display/intel_fbdev.c 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 232 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 233 static int intelfb_create(struct drm_fb_helper *helper, 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 234 struct drm_fb_helper_surface_size *sizes) 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 235 { 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 236 struct intel_fbdev *ifbdev = 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 237 container_of(helper, struct intel_fbdev, helper); 8bcd45534ddf68a drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2014-02-07 238 struct intel_framebuffer *intel_fb = ifbdev->fb; 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 239 struct drm_device *dev = helper->dev; 72e96d6450c067f drivers/gpu/drm/i915/intel_fbdev.c Joonas Lahtinen 2016-03-30 240 struct drm_i915_private *dev_priv = to_i915(dev); 52a05c302bcfe57 drivers/gpu/drm/i915/intel_fbdev.c David Weinehall 2016-08-22 241 struct pci_dev *pdev = dev_priv->drm.pdev; 72e96d6450c067f drivers/gpu/drm/i915/intel_fbdev.c Joonas Lahtinen 2016-03-30 242 struct i915_ggtt *ggtt = &dev_priv->ggtt; f5929c5309a6a43 drivers/gpu/drm/i915/intel_fbdev.c Ville Syrjälä 2018-09-07 243 const struct i915_ggtt_view view = { f5929c5309a6a43 drivers/gpu/drm/i915/intel_fbdev.c Ville Syrjälä 2018-09-07 244 .type = I915_GGTT_VIEW_NORMAL, f5929c5309a6a43 drivers/gpu/drm/i915/intel_fbdev.c Ville Syrjälä 2018-09-07 245 }; 1d264d91befc313 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2019-01-14 246 intel_wakeref_t wakeref; 1d264d91befc313 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2019-01-14 247 struct fb_info *info; d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 248 struct i915_vma *vma = NULL; d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 249 struct i915_ttm_bo *bo = NULL; 5935485f8eee356 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2018-02-20 250 unsigned long flags = 0; d978ef14456a380 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2014-03-07 251 bool prealloc = false; 406ea8d22f9aeee drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-07-20 252 void __iomem *vaddr; 8ef8561f2c8a5e3 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-04-28 253 int ret; 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 254 edd586fe705e819 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2014-04-23 255 if (intel_fb && edd586fe705e819 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2014-04-23 256 (sizes->fb_width > intel_fb->base.width || edd586fe705e819 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2014-04-23 257 sizes->fb_height > intel_fb->base.height)) { ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 258 drm_dbg_kms(&dev_priv->drm, ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 259 "BIOS fb too small (%dx%d), we require (%dx%d)," edd586fe705e819 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2014-04-23 260 " releasing it\n", edd586fe705e819 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2014-04-23 261 intel_fb->base.width, intel_fb->base.height, edd586fe705e819 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2014-04-23 262 sizes->fb_width, sizes->fb_height); c3ed110386db97e drivers/gpu/drm/i915/intel_fbdev.c Harsha Sharma 2017-10-09 263 drm_framebuffer_put(&intel_fb->base); edd586fe705e819 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2014-04-23 264 intel_fb = ifbdev->fb = NULL; edd586fe705e819 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2014-04-23 265 } 5836019a87bfb31 drivers/gpu/drm/i915/display/intel_fbdev.c Pankaj Bharadiya 2020-01-28 266 if (!intel_fb || drm_WARN_ON(dev, !intel_fb_obj(&intel_fb->base))) { ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 267 drm_dbg_kms(&dev_priv->drm, ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 268 "no BIOS fb, allocating a new one\n"); 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 269 ret = intelfb_alloc(helper, sizes); cce13ff75969859 drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2010-08-08 270 if (ret) 51f1385b90c1ad3 drivers/gpu/drm/i915/intel_fbdev.c Tvrtko Ursulin 2015-06-30 271 return ret; 8bcd45534ddf68a drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2014-02-07 272 intel_fb = ifbdev->fb; 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 273 } else { ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 274 drm_dbg_kms(&dev_priv->drm, "re-using BIOS fb\n"); d978ef14456a380 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2014-03-07 275 prealloc = true; 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 276 sizes->fb_width = intel_fb->base.width; 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 277 sizes->fb_height = intel_fb->base.height; 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 278 } 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 279 d858d5695f3897d drivers/gpu/drm/i915/intel_fbdev.c Daniele Ceraolo Spurio 2019-06-13 280 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); 51f1385b90c1ad3 drivers/gpu/drm/i915/intel_fbdev.c Tvrtko Ursulin 2015-06-30 281 d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 282 if (!dev_priv->use_ttm) { 0c82312f3f15538 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2015-12-04 283 /* Pin the GGTT vma for our access via info->screen_base. 0c82312f3f15538 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2015-12-04 284 * This also validates that any existing fb inherited from the 0c82312f3f15538 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2015-12-04 285 * BIOS is suitable for own access. 0c82312f3f15538 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2015-12-04 286 */ 5935485f8eee356 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2018-02-20 287 vma = intel_pin_and_fence_fb_obj(&ifbdev->fb->base, f5929c5309a6a43 drivers/gpu/drm/i915/intel_fbdev.c Ville Syrjälä 2018-09-07 288 &view, false, &flags); 058d88c4330f963 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-08-15 289 if (IS_ERR(vma)) { 058d88c4330f963 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-08-15 290 ret = PTR_ERR(vma); 0c82312f3f15538 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2015-12-04 291 goto out_unlock; 058d88c4330f963 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-08-15 292 } 70998197c4f1270 drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-25 293 } 8e7cb1799b4f8bd drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-08-16 294 intel_frontbuffer_flush(to_frontbuffer(ifbdev), ORIGIN_DIRTYFB); 07bcd99b80477cc drivers/gpu/drm/i915/intel_fbdev.c Dhinakaran Pandiyan 2018-03-06 295 21cff14847421ff drivers/gpu/drm/i915/intel_fbdev.c Archit Taneja 2015-07-31 296 info = drm_fb_helper_alloc_fbi(helper); 21cff14847421ff drivers/gpu/drm/i915/intel_fbdev.c Archit Taneja 2015-07-31 297 if (IS_ERR(info)) { ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 298 drm_err(&dev_priv->drm, "Failed to allocate fb_info\n"); 21cff14847421ff drivers/gpu/drm/i915/intel_fbdev.c Archit Taneja 2015-07-31 299 ret = PTR_ERR(info); cce13ff75969859 drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2010-08-08 300 goto out_unpin; 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 301 } 8b4f49e03901e82 drivers/gpu/drm/i915/intel_fbdev.c Jesse Barnes 2013-11-25 302 8e7cb1799b4f8bd drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-08-16 303 ifbdev->helper.fb = &ifbdev->fb->base; 785b93ef8c30973 drivers/gpu/drm/i915/intel_fb.c Dave Airlie 2009-08-28 304 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 305 info->fbops = &intelfb_ops; 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 306 4410f3910947dce drivers/gpu/drm/i915/intel_fb.c Dave Airlie 2009-06-16 307 /* setup aperture base/size for vesafb takeover */ 5f889b9a61dd706 drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-08-13 308 info->apertures->ranges[0].base = ggtt->gmadr.start; 72e96d6450c067f drivers/gpu/drm/i915/intel_fbdev.c Joonas Lahtinen 2016-03-30 309 info->apertures->ranges[0].size = ggtt->mappable_end; 4410f3910947dce drivers/gpu/drm/i915/intel_fb.c Dave Airlie 2009-06-16 310 d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 311 d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 312 if (vma) { 9faf5fa4d3dad3b drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-11-13 313 /* Our framebuffer is the entirety of fbdev's system memory */ 9faf5fa4d3dad3b drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-11-13 314 info->fix.smem_start = 9faf5fa4d3dad3b drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-11-13 315 (unsigned long)(ggtt->gmadr.start + vma->node.start); 9faf5fa4d3dad3b drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-11-13 316 info->fix.smem_len = vma->node.size; 9faf5fa4d3dad3b drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-11-13 317 8ef8561f2c8a5e3 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-04-28 318 vaddr = i915_vma_pin_iomap(vma); 8ef8561f2c8a5e3 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-04-28 319 if (IS_ERR(vaddr)) { ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 320 drm_err(&dev_priv->drm, ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 321 "Failed to remap framebuffer into virtual memory\n"); 8ef8561f2c8a5e3 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-04-28 322 ret = PTR_ERR(vaddr); da7bdda2afdf1ae drivers/gpu/drm/i915/intel_fbdev.c Daniel Vetter 2017-02-07 323 goto out_unpin; 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 324 } 8ef8561f2c8a5e3 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-04-28 325 info->screen_base = vaddr; 8ef8561f2c8a5e3 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2016-04-28 326 info->screen_size = vma->node.size; 70998197c4f1270 drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-25 327 ifbdev->vma = vma; 70998197c4f1270 drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-25 328 ifbdev->vma_flags = flags; 70998197c4f1270 drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-25 329 } else { d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 330 bo = intel_fb_bo(&ifbdev->fb->base); d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 331 d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 332 drm_dbg_kms(&dev_priv->drm, "yo yo 2"); d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 333 info->fix.smem_start = ggtt->gmadr.start + i915_ttm_bo_gpu_offset(bo); d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 334 info->fix.smem_len = i915_ttm_bo_size(bo); 70998197c4f1270 drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-25 335 info->screen_base = i915_ttm_bo_kptr(bo); 70998197c4f1270 drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-25 336 info->screen_size = i915_ttm_bo_size(bo); 70998197c4f1270 drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-25 337 } 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 338 7a0f9ef9703d4ac drivers/gpu/drm/i915/intel_fbdev.c Daniel Vetter 2019-03-26 339 drm_fb_helper_fill_info(info, &ifbdev->helper, sizes); 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 340 88afe715dd5469b drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2012-12-16 341 /* If the object is shmemfs backed, it will have given us zeroed pages. 88afe715dd5469b drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2012-12-16 342 * If the object is stolen however, it will be full of whatever 88afe715dd5469b drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2012-12-16 343 * garbage was left in there. 88afe715dd5469b drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2012-12-16 344 */ d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 345 if (vma && vma->obj->stolen && !prealloc) 88afe715dd5469b drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2012-12-16 346 memset_io(info->screen_base, 0, info->screen_size); 88afe715dd5469b drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2012-12-16 347 fb2a99e15ff0d34 drivers/gpu/drm/i915/intel_fb.c Sascha Hauer 2012-02-06 348 /* Use default scratch pixmap (info->pixmap.flags = FB_PIXMAP_SYSTEM) */ 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 349 ac467612f40377c drivers/gpu/drm/i915/display/intel_fbdev.c Wambui Karuga 2020-03-10 @350 drm_dbg_kms(&dev_priv->drm, "allocated %dx%d fb: 0x%08x\n", 8e7cb1799b4f8bd drivers/gpu/drm/i915/display/intel_fbdev.c Chris Wilson 2019-08-16 351 ifbdev->fb->base.width, ifbdev->fb->base.height, d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 352 vma ? i915_ggtt_offset(vma) : i915_ttm_bo_gpu_offset(bo)); 70998197c4f1270 drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-25 353 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 354 d858d5695f3897d drivers/gpu/drm/i915/intel_fbdev.c Daniele Ceraolo Spurio 2019-06-13 355 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); 52a05c302bcfe57 drivers/gpu/drm/i915/intel_fbdev.c David Weinehall 2016-08-22 356 vga_switcheroo_client_fb_set(pdev, info); 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 357 return 0; 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 358 b4476f52e43fadc drivers/gpu/drm/i915/intel_fb.c Chris Wilson 2009-02-11 359 out_unpin: d6c6b836c1d7cca drivers/gpu/drm/i915/display/intel_fbdev.c Dave Airlie 2020-06-26 360 if (vma) 5935485f8eee356 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2018-02-20 361 intel_unpin_fb_vma(vma, flags); 0c82312f3f15538 drivers/gpu/drm/i915/intel_fbdev.c Chris Wilson 2015-12-04 362 out_unlock: d858d5695f3897d drivers/gpu/drm/i915/intel_fbdev.c Daniele Ceraolo Spurio 2019-06-13 363 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 364 return ret; 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 365 } 79e539453b34e35 drivers/gpu/drm/i915/intel_fb.c Jesse Barnes 2008-11-07 366 :::::: The code at line 350 was first introduced by commit :::::: ac467612f40377c48311664303d56039c54ab8ec drm/i915/fbdev: convert to drm_device based logging. :::::: TO: Wambui Karuga <wambui.karugax@xxxxxxxxx> :::::: CC: Jani Nikula <jani.nikula@xxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel