Skip to contentSkip to conversation

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:104:1: warning: the frame size of 1372 bytes is larger than 1280 bytes

PATCH kernel test robot 1 participant 1 message Jun 23

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   948efecf22e49aa4bf55bb73ec79a0ddcfd38571
commit: 1c37d1b6c74116f2e6adcb675426eb36e60ae4d1 [14104/14955] drm/amd/display: Add KUnit tests for amdgpu_dm_mst_types
config: openrisc-allmodconfig (https://download.01.org/0day-ci/archive/20260623/[email protected]/config)
compiler: or1k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260623/[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/tests/amdgpu_dm_mst_types_test.c: In function 'dm_mst_test_needs_dsc_aux_workaround_low_sink_count':

>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:104:1: warning: the frame size of 1372 bytes is larger than 1280 bytes [-Wframe-larger-than=]
     104 | }
         | ^
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c: In function 'dm_mst_test_needs_dsc_aux_workaround_wrong_rev':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:86:1: warning: the frame size of 1372 bytes is larger than 1280 bytes [-Wframe-larger-than=]
      86 | }
         | ^
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c: In function 'dm_mst_test_needs_dsc_aux_workaround_wrong_dev_id':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:68:1: warning: the frame size of 1372 bytes is larger than 1280 bytes [-Wframe-larger-than=]
      68 | }
         | ^
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c: In function 'dm_mst_test_needs_dsc_aux_workaround_rev12':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:50:1: warning: the frame size of 1372 bytes is larger than 1280 bytes [-Wframe-larger-than=]
      50 | }
         | ^
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c: In function 'dm_mst_test_needs_dsc_aux_workaround_match':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c:32:1: warning: the frame size of 1372 bytes is larger than 1280 bytes [-Wframe-larger-than=]
      32 | }
         | ^

vim +104 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c

    87	
    88	/**
    89	 * dm_mst_test_needs_dsc_aux_workaround_low_sink_count - Test workaround skipped for single sink
    90	 * @test: KUnit test context
    91	 *
    92	 * Verify that needs_dsc_aux_workaround() returns false when the sink
    93	 * count is less than 2, even if device ID and DPCD rev match.
    94	 */
    95	static void dm_mst_test_needs_dsc_aux_workaround_low_sink_count(struct kunit *test)
    96	{
    97		struct dc_link link = {0};
    98	
    99		link.dpcd_caps.branch_dev_id = DP_BRANCH_DEVICE_ID_90CC24;
   100		link.dpcd_caps.dpcd_rev.raw = DPCD_REV_14;
   101		link.dpcd_caps.sink_count.bits.SINK_COUNT = 1;
   102	
   103		KUNIT_EXPECT_FALSE(test, needs_dsc_aux_workaround(&link));
 > 104	}

105

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki