tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f8550c0d35df3d027724b250a8c5888dfb2fa749 commit: c920888c604d72799d057bbcd9e28a6c003ccfbe [5607/7024] drm/amd/display: Expose new CRC window property config: microblaze-randconfig-r006-20201119 (attached as .config) compiler: microblaze-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c920888c604d72799d057bbcd9e28a6c003ccfbe git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout c920888c604d72799d057bbcd9e28a6c003ccfbe # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 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/../display/amdgpu_dm/amdgpu_dm.c: In function 'create_stream_for_sink': drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5077:11: warning: variable 'link_bandwidth_kbps' set but not used [-Wunused-but-set-variable] 5077 | uint32_t link_bandwidth_kbps; | ^~~~~~~~~~~~~~~~~~~ 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:5301:5: warning: no previous prototype for 'amdgpu_dm_crtc_atomic_set_property' [-Wmissing-prototypes] 5301 | int amdgpu_dm_crtc_atomic_set_property(struct drm_crtc *crtc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5325:5: warning: no previous prototype for 'amdgpu_dm_crtc_atomic_get_property' [-Wmissing-prototypes] 5325 | int amdgpu_dm_crtc_atomic_get_property(struct drm_crtc *crtc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:7575:44: warning: variable 'new_plane_state' set but not used [-Wunused-but-set-variable] 7575 | struct drm_plane_state *old_plane_state, *new_plane_state; | ^~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:86, from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:31: 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[] = { | ^~~~~~~~~~~~~~~~~~~~ vim +/amdgpu_dm_crtc_atomic_set_property +5301 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c 5299 5300 #ifdef CONFIG_DEBUG_FS > 5301 int amdgpu_dm_crtc_atomic_set_property(struct drm_crtc *crtc, 5302 struct drm_crtc_state *crtc_state, 5303 struct drm_property *property, 5304 uint64_t val) 5305 { 5306 struct drm_device *dev = crtc->dev; 5307 struct amdgpu_device *adev = drm_to_adev(dev); 5308 struct dm_crtc_state *dm_new_state = 5309 to_dm_crtc_state(crtc_state); 5310 5311 if (property == adev->dm.crc_win_x_start_property) 5312 dm_new_state->crc_window.x_start = val; 5313 else if (property == adev->dm.crc_win_y_start_property) 5314 dm_new_state->crc_window.y_start = val; 5315 else if (property == adev->dm.crc_win_x_end_property) 5316 dm_new_state->crc_window.x_end = val; 5317 else if (property == adev->dm.crc_win_y_end_property) 5318 dm_new_state->crc_window.y_end = val; 5319 else 5320 return -EINVAL; 5321 5322 return 0; 5323 } 5324 > 5325 int amdgpu_dm_crtc_atomic_get_property(struct drm_crtc *crtc, 5326 const struct drm_crtc_state *state, 5327 struct drm_property *property, 5328 uint64_t *val) 5329 { 5330 struct drm_device *dev = crtc->dev; 5331 struct amdgpu_device *adev = drm_to_adev(dev); 5332 struct dm_crtc_state *dm_state = 5333 to_dm_crtc_state(state); 5334 5335 if (property == adev->dm.crc_win_x_start_property) 5336 *val = dm_state->crc_window.x_start; 5337 else if (property == adev->dm.crc_win_y_start_property) 5338 *val = dm_state->crc_window.y_start; 5339 else if (property == adev->dm.crc_win_x_end_property) 5340 *val = dm_state->crc_window.x_end; 5341 else if (property == adev->dm.crc_win_y_end_property) 5342 *val = dm_state->crc_window.y_end; 5343 else 5344 return -EINVAL; 5345 5346 return 0; 5347 } 5348 #endif 5349 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip