tree: git://people.freedesktop.org/~airlied/linux.git not-butter head: f9de02ab2d4b7fc8d05e5fff0d5b4d8e474bbba5 commit: d6c6b836c1d7cca965338f63eda9db568eb9c78e [7/12] i915/ttm: fbcon works config: i386-allyesconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce (this is a W=1 build): git checkout d6c6b836c1d7cca965338f63eda9db568eb9c78e # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:143:29: warning: 'GC_BASE' defined but not used [-Wunused-const-variable=] 143 | static const struct IP_BASE GC_BASE = { { { { 0x00002000, 0x0000A000, 0, 0, 0 } }, | ^~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:138:29: warning: 'VCE_BASE' defined but not used [-Wunused-const-variable=] 138 | static const struct IP_BASE VCE_BASE = { { { { 0x00007E00, 0x00048800, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:133:29: warning: 'ATHUB_BASE' defined but not used [-Wunused-const-variable=] 133 | static const struct IP_BASE ATHUB_BASE = { { { { 0x00000C20, 0, 0, 0, 0 } }, | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:128:29: warning: 'IOHC_BASE' defined but not used [-Wunused-const-variable=] 128 | static const struct IP_BASE IOHC_BASE = { { { { 0x00010000, 0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:123:29: warning: 'L2IMU_BASE' defined but not used [-Wunused-const-variable=] 123 | static const struct IP_BASE L2IMU_BASE = { { { { 0x00007DC0, 0, 0, 0, 0 } }, | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:118:29: warning: 'SYSTEMHUB_BASE' defined but not used [-Wunused-const-variable=] 118 | static const struct IP_BASE SYSTEMHUB_BASE = { { { { 0x00000EA0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:113:29: warning: 'ISP_BASE' defined but not used [-Wunused-const-variable=] 113 | static const struct IP_BASE ISP_BASE = { { { { 0x00018000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:108:29: warning: 'DFX_BASE' defined but not used [-Wunused-const-variable=] 108 | static const struct IP_BASE DFX_BASE = { { { { 0x00000580, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:103:29: warning: 'DFX_DAP_BASE' defined but not used [-Wunused-const-variable=] 103 | static const struct IP_BASE DFX_DAP_BASE = { { { { 0x000005A0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:98:29: warning: 'DBGU_IO_BASE' defined but not used [-Wunused-const-variable=] 98 | static const struct IP_BASE DBGU_IO_BASE = { { { { 0x000001E0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:93:29: warning: 'DBGU_NBIO_BASE' defined but not used [-Wunused-const-variable=] 93 | static const struct IP_BASE DBGU_NBIO_BASE = { { { { 0x000001C0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:88:29: warning: 'DBGU_BASE' defined but not used [-Wunused-const-variable=] 88 | static const struct IP_BASE DBGU_BASE = { { { { 0x00000180, 0x000001A0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:83:29: warning: 'VCN_BASE' defined but not used [-Wunused-const-variable=] 83 | static const struct IP_BASE VCN_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:78:29: warning: 'UVD_BASE' defined but not used [-Wunused-const-variable=] 78 | static const struct IP_BASE UVD_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:73:29: warning: 'DF_BASE' defined but not used [-Wunused-const-variable=] 73 | static const struct IP_BASE DF_BASE = { { { { 0x00007000, 0, 0, 0, 0 } }, | ^~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:68:29: warning: 'MP2_BASE' defined but not used [-Wunused-const-variable=] 68 | static const struct IP_BASE MP2_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:63:29: warning: 'MP1_BASE' defined but not used [-Wunused-const-variable=] 63 | static const struct IP_BASE MP1_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:58:29: warning: 'MP0_BASE' defined but not used [-Wunused-const-variable=] 58 | static const struct IP_BASE MP0_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:53:29: warning: 'DCN_BASE' defined but not used [-Wunused-const-variable=] 53 | static const struct IP_BASE DCN_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:48:29: warning: 'DCE_BASE' defined but not used [-Wunused-const-variable=] 48 | static const struct IP_BASE DCE_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:43:29: warning: 'NBIO_BASE' defined but not used [-Wunused-const-variable=] 43 | static const struct IP_BASE NBIO_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:38:29: warning: 'NBIF_BASE' defined but not used [-Wunused-const-variable=] 38 | static const struct IP_BASE NBIF_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, | ^~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_baco.c:23: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=] 190 | static const int sched_policy = KFD_SCHED_POLICY_HWS; | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30, from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26, from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65, from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_baco.c:23: drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=] 76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL }; | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=] 75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL }; | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=] 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 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: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 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 In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_baco.c:23: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=] 190 | static const int sched_policy = KFD_SCHED_POLICY_HWS; | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30, from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26, from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65, from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_baco.c:23: drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=] 76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL }; | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=] 75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL }; | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=] 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 }; | ^~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:140: warning: Function parameter or member 'hwmgr' not described in 'smu7_get_mc_microcode_version' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:180: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_smc_voltage_controller' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:200: warning: Function parameter or member 'hwmgr' not described in 'smu7_voltage_control' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:214: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_voltage_control' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:252: warning: Function parameter or member 'hwmgr' not described in 'smu7_construct_voltage_tables' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:365: warning: Function parameter or member 'hwmgr' not described in 'smu7_program_static_screen_threshold_parameters' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:387: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_display_gap' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:411: warning: Function parameter or member 'hwmgr' not described in 'smu7_program_voting_clients' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:507: warning: Function parameter or member 'hwmgr' not described in 'smu7_initial_switch_from_arbf0_to_f1' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1702: warning: Function parameter or member 'hwmgr' not described in 'smu7_get_evv_voltages' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1800: warning: Function parameter or member 'hwmgr' not described in 'smu7_patch_ppt_v1_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1800: warning: Function parameter or member 'voltage' not described in 'smu7_patch_ppt_v1_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1800: warning: Function parameter or member 'leakage_table' not described in 'smu7_patch_ppt_v1_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1828: warning: Function parameter or member 'hwmgr' not described in 'smu7_patch_lookup_table_with_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1828: warning: Function parameter or member 'lookup_table' not described in 'smu7_patch_lookup_table_with_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1828: warning: Function parameter or member 'leakage_table' not described in 'smu7_patch_lookup_table_with_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:2250: warning: Function parameter or member 'hwmgr' not described in 'smu7_patch_ppt_v0_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:2250: warning: Function parameter or member 'voltage' not described in 'smu7_patch_ppt_v0_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:2250: warning: Function parameter or member 'leakage_table' not described in 'smu7_patch_ppt_v0_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4091: warning: Function parameter or member 'hwmgr' not described in 'smu7_program_display_gap' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4150: warning: Function parameter or member 'hwmgr' not described in 'smu7_set_max_fan_rpm_output' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4150: warning: Function parameter or member 'us_max_fan_rpm' not described in 'smu7_set_max_fan_rpm_output' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4344: warning: Function parameter or member 'hwmgr' not described in 'smu7_get_memory_type' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4360: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_acpi_power_management' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4374: warning: Function parameter or member 'hwmgr' not described in 'smu7_init_power_gate_state' In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ci_baco.c:23: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=] 190 | static const int sched_policy = KFD_SCHED_POLICY_HWS; | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30, from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26, from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65, from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ci_baco.c:23: drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=] 76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL }; | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=] 75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL }; | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=] 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 drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_baco.c:23: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=] 190 | static const int sched_policy = KFD_SCHED_POLICY_HWS; | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33, -- | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:143:29: warning: 'GC_BASE' defined but not used [-Wunused-const-variable=] 143 | static const struct IP_BASE GC_BASE = { { { { 0x00002000, 0x0000A000, 0, 0, 0 } }, | ^~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:138:29: warning: 'VCE_BASE' defined but not used [-Wunused-const-variable=] 138 | static const struct IP_BASE VCE_BASE = { { { { 0x00007E00, 0x00048800, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:133:29: warning: 'ATHUB_BASE' defined but not used [-Wunused-const-variable=] 133 | static const struct IP_BASE ATHUB_BASE = { { { { 0x00000C20, 0, 0, 0, 0 } }, | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:128:29: warning: 'IOHC_BASE' defined but not used [-Wunused-const-variable=] 128 | static const struct IP_BASE IOHC_BASE = { { { { 0x00010000, 0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:123:29: warning: 'L2IMU_BASE' defined but not used [-Wunused-const-variable=] 123 | static const struct IP_BASE L2IMU_BASE = { { { { 0x00007DC0, 0, 0, 0, 0 } }, | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:118:29: warning: 'SYSTEMHUB_BASE' defined but not used [-Wunused-const-variable=] 118 | static const struct IP_BASE SYSTEMHUB_BASE = { { { { 0x00000EA0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:113:29: warning: 'ISP_BASE' defined but not used [-Wunused-const-variable=] 113 | static const struct IP_BASE ISP_BASE = { { { { 0x00018000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:108:29: warning: 'DFX_BASE' defined but not used [-Wunused-const-variable=] 108 | static const struct IP_BASE DFX_BASE = { { { { 0x00000580, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:103:29: warning: 'DFX_DAP_BASE' defined but not used [-Wunused-const-variable=] 103 | static const struct IP_BASE DFX_DAP_BASE = { { { { 0x000005A0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:98:29: warning: 'DBGU_IO_BASE' defined but not used [-Wunused-const-variable=] 98 | static const struct IP_BASE DBGU_IO_BASE = { { { { 0x000001E0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:93:29: warning: 'DBGU_NBIO_BASE' defined but not used [-Wunused-const-variable=] 93 | static const struct IP_BASE DBGU_NBIO_BASE = { { { { 0x000001C0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:88:29: warning: 'DBGU_BASE' defined but not used [-Wunused-const-variable=] 88 | static const struct IP_BASE DBGU_BASE = { { { { 0x00000180, 0x000001A0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:83:29: warning: 'VCN_BASE' defined but not used [-Wunused-const-variable=] 83 | static const struct IP_BASE VCN_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:78:29: warning: 'UVD_BASE' defined but not used [-Wunused-const-variable=] 78 | static const struct IP_BASE UVD_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:73:29: warning: 'DF_BASE' defined but not used [-Wunused-const-variable=] 73 | static const struct IP_BASE DF_BASE = { { { { 0x00007000, 0, 0, 0, 0 } }, | ^~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:68:29: warning: 'MP2_BASE' defined but not used [-Wunused-const-variable=] 68 | static const struct IP_BASE MP2_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:63:29: warning: 'MP1_BASE' defined but not used [-Wunused-const-variable=] 63 | static const struct IP_BASE MP1_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:58:29: warning: 'MP0_BASE' defined but not used [-Wunused-const-variable=] 58 | static const struct IP_BASE MP0_BASE = { { { { 0x00016000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:53:29: warning: 'DCN_BASE' defined but not used [-Wunused-const-variable=] 53 | static const struct IP_BASE DCN_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:48:29: warning: 'DCE_BASE' defined but not used [-Wunused-const-variable=] 48 | static const struct IP_BASE DCE_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:43:29: warning: 'NBIO_BASE' defined but not used [-Wunused-const-variable=] 43 | static const struct IP_BASE NBIO_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:38:29: warning: 'NBIF_BASE' defined but not used [-Wunused-const-variable=] 38 | static const struct IP_BASE NBIF_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, | ^~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_baco.c:23: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=] 190 | static const int sched_policy = KFD_SCHED_POLICY_HWS; | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30, from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26, from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65, from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_baco.c:23: drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=] 76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL }; | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=] 75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL }; | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=] 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 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: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 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 In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_baco.c:23: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=] 190 | static const int sched_policy = KFD_SCHED_POLICY_HWS; | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30, from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26, from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65, from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_baco.c:23: drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=] 76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL }; | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=] 75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL }; | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=] 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 }; | ^~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:140: warning: Function parameter or member 'hwmgr' not described in 'smu7_get_mc_microcode_version' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:180: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_smc_voltage_controller' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:200: warning: Function parameter or member 'hwmgr' not described in 'smu7_voltage_control' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:214: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_voltage_control' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:252: warning: Function parameter or member 'hwmgr' not described in 'smu7_construct_voltage_tables' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:365: warning: Function parameter or member 'hwmgr' not described in 'smu7_program_static_screen_threshold_parameters' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:387: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_display_gap' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:411: warning: Function parameter or member 'hwmgr' not described in 'smu7_program_voting_clients' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:507: warning: Function parameter or member 'hwmgr' not described in 'smu7_initial_switch_from_arbf0_to_f1' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1702: warning: Function parameter or member 'hwmgr' not described in 'smu7_get_evv_voltages' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1800: warning: Function parameter or member 'hwmgr' not described in 'smu7_patch_ppt_v1_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1800: warning: Function parameter or member 'voltage' not described in 'smu7_patch_ppt_v1_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1800: warning: Function parameter or member 'leakage_table' not described in 'smu7_patch_ppt_v1_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1828: warning: Function parameter or member 'hwmgr' not described in 'smu7_patch_lookup_table_with_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1828: warning: Function parameter or member 'lookup_table' not described in 'smu7_patch_lookup_table_with_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:1828: warning: Function parameter or member 'leakage_table' not described in 'smu7_patch_lookup_table_with_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:2250: warning: Function parameter or member 'hwmgr' not described in 'smu7_patch_ppt_v0_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:2250: warning: Function parameter or member 'voltage' not described in 'smu7_patch_ppt_v0_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:2250: warning: Function parameter or member 'leakage_table' not described in 'smu7_patch_ppt_v0_with_vdd_leakage' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4091: warning: Function parameter or member 'hwmgr' not described in 'smu7_program_display_gap' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4150: warning: Function parameter or member 'hwmgr' not described in 'smu7_set_max_fan_rpm_output' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4150: warning: Function parameter or member 'us_max_fan_rpm' not described in 'smu7_set_max_fan_rpm_output' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4344: warning: Function parameter or member 'hwmgr' not described in 'smu7_get_memory_type' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4360: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_acpi_power_management' drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:4374: warning: Function parameter or member 'hwmgr' not described in 'smu7_init_power_gate_state' In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ci_baco.c:23: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=] 190 | static const int sched_policy = KFD_SCHED_POLICY_HWS; | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30, from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26, from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:65, from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ci_baco.c:23: drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=] 76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL }; | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=] 75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL }; | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=] 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 drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_baco.c:23: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=] 190 | static const int sched_policy = KFD_SCHED_POLICY_HWS; | ^~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33, .. 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