tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5fcb9628fd1227a5f11d87171cb1b8b5c414d9d9
commit: 84034ad4c0c0813c1350b43087eed036066edd5a [685/2089] drm/amd/display: combine
public interfaces into single header
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 84034ad4c0c0813c1350b43087eed036066edd5a
# 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(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67,
from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:33:
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function
'dmub_rb_flush_pending':
> drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:679:12:
warning: variable 'temp' set but not used [-Wunused-but-set-variable]
679 |
uint64_t temp;
| ^~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: At top level:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:699:6: warning: no previous
prototype for 'amdgpu_dm_audio_eld_notify' [-Wmissing-prototypes]
699 | void amdgpu_dm_audio_eld_notify(struct amdgpu_device *adev, int pin)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1579:16: warning: no previous
prototype for 'amdgpu_dm_commit_zero_streams' [-Wmissing-prototypes]
1579 | enum dc_status amdgpu_dm_commit_zero_streams(struct dc *dc)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2700:1: warning: no previous
prototype for 'dm_atomic_get_new_state' [-Wmissing-prototypes]
2700 | dm_atomic_get_new_state(struct drm_atomic_state *state)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2718:1: warning: no previous
prototype for 'dm_atomic_get_old_state' [-Wmissing-prototypes]
2718 | dm_atomic_get_old_state(struct drm_atomic_state *state)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function
'dm_update_mst_vcpi_slots_for_dsc':
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5449:46: warning: variable
'old_con_state' set but not used [-Wunused-but-set-variable]
5449 | struct drm_connector_state *new_con_state, *old_con_state;
| ^~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: At top level:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5542:6: warning: no previous
prototype for 'dm_drm_plane_destroy_state' [-Wmissing-prototypes]
5542 | void dm_drm_plane_destroy_state(struct drm_plane *plane,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function
'amdgpu_dm_commit_cursors':
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6788:44: warning: variable
'new_plane_state' set but not used [-Wunused-but-set-variable]
6788 | struct drm_plane_state *old_plane_state, *new_plane_state;
| ^~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:86:
At top level:
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:208:29: warning:
'FUSE_BASE' defined but not used [-Wunused-const-variable=]
208 | static const struct IP_BASE FUSE_BASE = { { { { 0x00017400, 0, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:203:29: warning:
'CLK_BASE' defined but not used [-Wunused-const-variable=]
203 | static const struct IP_BASE CLK_BASE = { { { { 0x00016C00, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:198:29: warning:
'PWR_BASE' defined but not used [-Wunused-const-variable=]
198 | static const struct IP_BASE PWR_BASE = { { { { 0x00016A00, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:193:29: warning:
'SMUIO_BASE' defined but not used [-Wunused-const-variable=]
193 | static const struct IP_BASE SMUIO_BASE = { { { { 0x00016800, 0, 0, 0, 0 } },
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:188:29: warning:
'THM_BASE' defined but not used [-Wunused-const-variable=]
188 | static const struct IP_BASE THM_BASE = { { { { 0x00016600, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:183:29: warning:
'UMC_BASE' defined but not used [-Wunused-const-variable=]
183 | static const struct IP_BASE UMC_BASE = { { { { 0x00014000, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:178:29: warning:
'XDMA_BASE' defined but not used [-Wunused-const-variable=]
178 | static const struct IP_BASE XDMA_BASE = { { { { 0x00003400, 0, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:173:29: warning:
'SDMA1_BASE' defined but not used [-Wunused-const-variable=]
173 | static const struct IP_BASE SDMA1_BASE = { { { { 0x00001460, 0, 0, 0, 0 } },
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:168:29: warning:
'SDMA0_BASE' defined but not used [-Wunused-const-variable=]
168 | static const struct IP_BASE SDMA0_BASE = { { { { 0x00001260, 0, 0, 0, 0 } },
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:163:29: warning:
'OSSSYS_BASE' defined but not used [-Wunused-const-variable=]
163 | static const struct IP_BASE OSSSYS_BASE = { { { { 0x000010A0, 0, 0, 0, 0 } },
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:158:29: warning:
'HDP_BASE' defined but not used [-Wunused-const-variable=]
158 | static const struct IP_BASE HDP_BASE = { { { { 0x00000F20, 0, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:153:29: warning:
'RSMU_BASE' defined but not used [-Wunused-const-variable=]
153 | static const struct IP_BASE RSMU_BASE = { { { { 0x00012000, 0, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/vega10_ip_offset.h:148:29: warning:
'MMHUB_BASE' defined but not used [-Wunused-const-variable=]
148 | static const struct IP_BASE MMHUB_BASE = { { { { 0x0001A000, 0, 0, 0, 0 } },
| ^~~~~~~~~~
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 } },
--
In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67,
from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:35:
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function
'dmub_rb_flush_pending':
> drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:679:12:
warning: variable 'temp' set but not used [-Wunused-but-set-variable]
679 |
uint64_t temp;
| ^~~~
In file included from
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:31:
At top level:
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/dc.h:29,
from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:30:
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/../display/dmub/dmub_srv.h:67,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.h:30,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:28:
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function
'dmub_rb_flush_pending':
> drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:679:12:
warning: variable 'temp' set but not used [-Wunused-but-set-variable]
679 |
uint64_t temp;
| ^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:86,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:30:
At top level:
drivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw/dpp.h:50:42: warning:
'dpp_input_csc_matrix' defined but not used [-Wunused-const-variable=]
50 | static const struct dpp_input_csc_matrix dpp_input_csc_matrix[] = {
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:30:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:124:22: warning:
'DP_DVI_CONVERTER_ID_4' defined but not used [-Wunused-const-variable=]
124 | static const uint8_t DP_DVI_CONVERTER_ID_4[] = "m2DVIa";
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:122:22: warning:
'DP_VGA_LVDS_CONVERTER_ID_3' defined but not used [-Wunused-const-variable=]
122 | static const uint8_t DP_VGA_LVDS_CONVERTER_ID_3[] = "dnomlA";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: warning:
'DP_VGA_LVDS_CONVERTER_ID_2' defined but not used [-Wunused-const-variable=]
120 | static const uint8_t DP_VGA_LVDS_CONVERTER_ID_2[] = "sivarT";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc.h:29,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_link.h:29,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.h:30,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:26:
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/../display/dmub/dmub_srv.h:67,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.h:30,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:28:
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function
'dmub_rb_flush_pending':
> drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:679:12:
warning: variable 'temp' set but not used [-Wunused-but-set-variable]
679 |
uint64_t temp;
| ^~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c: In function
'calculate_16_bit_backlight_from_pwm':
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:54:11: warning: variable
'bl_pwm_cntl' set but not used [-Wunused-but-set-variable]
54 | uint32_t bl_pwm_cntl, bl_pwm, fractional_duty_cycle_en;
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:53:11: warning: variable
'pwm_period_cntl' set but not used [-Wunused-but-set-variable]
53 | uint32_t pwm_period_cntl, bl_period, bl_int_count;
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c: At top level:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:98:10: warning: no previous
prototype for 'dce_panel_cntl_hw_init' [-Wmissing-prototypes]
98 | uint32_t dce_panel_cntl_hw_init(struct panel_cntl *panel_cntl)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:158:6: warning: no previous
prototype for 'dce_is_panel_backlight_on' [-Wmissing-prototypes]
158 | bool dce_is_panel_backlight_on(struct panel_cntl *panel_cntl)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:168:6: warning: no previous
prototype for 'dce_is_panel_powered_on' [-Wmissing-prototypes]
168 | bool dce_is_panel_powered_on(struct panel_cntl *panel_cntl)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:180:6: warning: no previous
prototype for 'dce_store_backlight_level' [-Wmissing-prototypes]
180 | void dce_store_backlight_level(struct panel_cntl *panel_cntl)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:195:6: warning: no previous
prototype for 'dce_driver_set_backlight' [-Wmissing-prototypes]
195 | void dce_driver_set_backlight(struct panel_cntl *panel_cntl,
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:86,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:27:
drivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw/dpp.h:50:42: warning:
'dpp_input_csc_matrix' defined but not used [-Wunused-const-variable=]
50 | static const struct dpp_input_csc_matrix dpp_input_csc_matrix[] = {
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:27:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:124:22: warning:
'DP_DVI_CONVERTER_ID_4' defined but not used [-Wunused-const-variable=]
124 | static const uint8_t DP_DVI_CONVERTER_ID_4[] = "m2DVIa";
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:122:22: warning:
'DP_VGA_LVDS_CONVERTER_ID_3' defined but not used [-Wunused-const-variable=]
122 | static const uint8_t DP_VGA_LVDS_CONVERTER_ID_3[] = "dnomlA";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: warning:
'DP_VGA_LVDS_CONVERTER_ID_2' defined but not used [-Wunused-const-variable=]
120 | static const uint8_t DP_VGA_LVDS_CONVERTER_ID_2[] = "sivarT";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
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/../display/dc/dm_services.h:37,
from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/reg_helper.h:28,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:26:
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/../display/dmub/dmub_srv.h:67,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.h:30,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:32:
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function
'dmub_rb_flush_pending':
> drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:679:12:
warning: variable 'temp' set but not used [-Wunused-but-set-variable]
679 |
uint64_t temp;
| ^~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c: At top level:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:186:6: warning: no previous
prototype for 'hubp21_set_viewport' [-Wmissing-prototypes]
186 | void hubp21_set_viewport(
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:228:6: warning: no previous
prototype for 'hubp21_set_vm_system_aperture_settings' [-Wmissing-prototypes]
228 | void hubp21_set_vm_system_aperture_settings(struct hubp *hubp,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:251:6: warning: no previous
prototype for 'hubp21_validate_dml_output' [-Wmissing-prototypes]
251 | void hubp21_validate_dml_output(struct hubp *hubp,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:667:6: warning: no previous
prototype for 'dmcub_PLAT_54186_wa' [-Wmissing-prototypes]
667 | void dmcub_PLAT_54186_wa(struct hubp *hubp, struct surface_flip_registers
*flip_regs)
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:700:6: warning: no previous
prototype for 'hubp21_program_surface_flip_and_addr' [-Wmissing-prototypes]
700 | bool hubp21_program_surface_flip_and_addr(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:808:6: warning: no previous
prototype for 'hubp21_init' [-Wmissing-prototypes]
808 | void hubp21_init(struct hubp *hubp)
| ^~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc.h:29,
from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw/mem_input.h:28,
from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw/hubp.h:29,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hubp.h:28,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:26:
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 };
| ^~~~~~~~~~~~~
..
vim +/temp +679 drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h
670
671 static inline void dmub_rb_flush_pending(const struct dmub_rb *rb)
672 {
673 uint32_t rptr = rb->rptr;
674 uint32_t wptr = rb->wrpt;
675
676 while (rptr != wptr) {
677 uint64_t volatile *data = (uint64_t volatile *)rb->base_address + rptr /
sizeof(uint64_t);
678 //uint64_t volatile *p = (uint64_t volatile *)data;
679 uint64_t temp;
680 int i;
681
682 for (i = 0; i < DMUB_RB_CMD_SIZE / sizeof(uint64_t); i++)
683 temp = *data++;
684
685 rptr += DMUB_RB_CMD_SIZE;
686 if (rptr >= rb->capacity)
687 rptr %= rb->capacity;
688 }
689 }
690
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org