drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:366: warning: Function parameter or member 'update_type' not described in 'update_planes_and_stream_adapter'
kernel test robot
build botHi Rodrigo,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android14-kiwi-6.1 head: 402f2695349b32e867ee7056eb8925b3d243c0e4 commit: e538342002cbe468224f71b7ae116586e55c1134 [527/527] drm/amd/display: Add wrapper to call planes and stream update config: x86_64-randconfig-2003-20261126 (https://download.01.org/0day-ci/archive/20261126/[email protected]/config) compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261126/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:366: warning: Function parameter or member 'dc' not described in 'update_planes_and_stream_adapter'
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:366: warning: Function parameter or member 'update_type' not described in 'update_planes_and_stream_adapter' drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:366: warning: Function parameter or member 'planes_count' not described in 'update_planes_and_stream_adapter' drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:366: warning: Function parameter or member 'stream' not described in 'update_planes_and_stream_adapter' >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:366: warning: Function parameter or member 'stream_update' not described in 'update_planes_and_stream_adapter' >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:366: warning: Function parameter or member 'array_of_surface_update' not described in 'update_planes_and_stream_adapter'
vim +366 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c
350
351 /**
352 * update_planes_and_stream_adapter() - Send planes to be updated in DC
353 *
354 * DC has a generic way to update planes and stream via
355 * dc_update_planes_and_stream function; however, DM might need some
356 * adjustments and preparation before calling it. This function is a wrapper
357 * for the dc_update_planes_and_stream that does any required configuration
358 * before passing control to DC.
359 */
360 static inline bool update_planes_and_stream_adapter(struct dc *dc,
361 int update_type,
362 int planes_count,
363 struct dc_stream_state *stream,
364 struct dc_stream_update *stream_update,
365 struct dc_surface_update *array_of_surface_update)
> 366 {
367 /*
368 * Previous frame finished and HW is ready for optimization.
369 */
370 if (update_type == UPDATE_TYPE_FAST)
371 dc_post_update_surfaces_to_stream(dc);
372
373 return dc_update_planes_and_stream(dc,
374 array_of_surface_update,
375 planes_count,
376 stream,
377 stream_update); 378 }
379
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki