[radeon-alex:amd-staging-4.7 1589/1595] drivers/gpu/drm/amd/amdgpu/../dal/dc/dc.h:82:11: warning: 'struct link_training_settings' declared inside parameter list will not be visible outside of this definition or declaration
kbuild test robot
fengguang.wu at intel.com
Thu Oct 6 23:53:14 UTC 2016
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.7
head: a776b1b07d41d92a8ea3d38b844300f25cd0aa8f
commit: 6d17ee73ce7fdcb89b84cf90ffc84eaa1f308647 [1589/1595] drm/amd/dal: DP Test Harness Link and Lane Settings
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 6d17ee73ce7fdcb89b84cf90ffc84eaa1f308647
# save the attached .config to linux build tree
make.cross ARCH=ia64
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/../dal/amdgpu_dm/amdgpu_dm_types.c:45:0:
>> drivers/gpu/drm/amd/amdgpu/../dal/dc/dc.h:82:11: warning: 'struct link_training_settings' declared inside parameter list will not be visible outside of this definition or declaration
struct link_training_settings *lt_settings);
^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../dal/dc/dc.h:562:9: warning: 'struct link_training_settings' declared inside parameter list will not be visible outside of this definition or declaration
struct link_training_settings *lt_settings);
^~~~~~~~~~~~~~~~~~~~~~
vim +82 drivers/gpu/drm/amd/amdgpu/../dal/dc/dc.h
66 const struct dc *dc,
67 const struct dc_stream *dc_stream,
68 const struct rect *src,
69 const struct rect *dst);
70 bool (*set_gamut_remap)(struct dc *dc,
71 const struct dc_stream **stream, int num_streams);
72 bool (*set_backlight)(struct dc *dc, unsigned int backlight_level,
73 unsigned int frame_ramp, const struct dc_stream *stream);
74 bool (*init_dmcu_backlight_settings)(struct dc *dc);
75 bool (*set_abm_level)(struct dc *dc, unsigned int abm_level);
76 bool (*set_psr_enable)(struct dc *dc, bool enable);
77 bool (*setup_psr)(struct dc *dc, const struct dc_stream *stream);
78 };
79
80 struct dc_link_funcs {
81 void (*set_drive_settings)(struct dc *dc,
> 82 struct link_training_settings *lt_settings);
83 void (*perform_link_training)(struct dc *dc,
84 struct dc_link_settings *link_setting,
85 bool skip_video_pattern);
86 void (*set_preferred_link_settings)(struct dc *dc,
87 struct dc_link_settings *link_setting);
88 };
89
90 /* Structure to hold configuration flags set by dm at dc creation. */
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 43764 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161007/f5197011/attachment-0001.gz>
More information about the dri-devel
mailing list