[radeon-alex:amd-staging-4.11 1374/1377] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:335:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?

kbuild test robot fengguang.wu at intel.com
Tue Jun 13 20:46:23 UTC 2017


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.11
head:   ee1356406141af842dcd7f689749fced30185cf4
commit: 42376247f5e6b8f95e70ae9caa8b1d799a836448 [1374/1377] drm/amd/display: add bw logging for dcn
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 42376247f5e6b8f95e70ae9caa8b1d799a836448
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c: In function 'context_clock_trace':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:335:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dispclk_khz,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:336:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dppclk_div,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:337:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dcfclk_khz,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:338:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dcfclk_deep_sleep_khz,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:339:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.fclk_khz,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:340:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dram_ccm_us,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:341:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.min_active_dram_ccm_us);
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:345:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dispclk_khz,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:346:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dppclk_div,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:347:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dcfclk_khz,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:348:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dcfclk_deep_sleep_khz,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:349:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.fclk_khz,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:350:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.dram_ccm_us,
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:351:15: error: 'union bw_context' has no member named 'dcn'; did you mean 'dce'?
       context->bw.dcn.calc_clk.min_active_dram_ccm_us);
                  ^
   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:36:7: note: in definition of macro 'CLOCK_TRACE'
        ##__VA_ARGS__); \
          ^~~~~~~~~~~

vim +335 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c

   319					pipe_ctx->stream->public.timing.h_total,
   320					pipe_ctx->stream->public.timing.v_total,
   321					h_pos[i], v_pos[i]);
   322		}
   323	}
   324	
   325	void context_clock_trace(
   326			const struct dc *dc,
   327			struct validate_context *context)
   328	{
   329		struct core_dc *core_dc = DC_TO_CORE(dc);
   330		struct dal_logger *logger =  core_dc->ctx->logger;
   331	
   332		CLOCK_TRACE("Current: dispclk_khz:%d  dppclk_div:%d  dcfclk_khz:%d\n"
   333				"dcfclk_deep_sleep_khz:%d  fclk_khz:%d\n"
   334				"dram_ccm_us:%d  min_active_dram_ccm_us:%d\n",
 > 335				context->bw.dcn.calc_clk.dispclk_khz,
   336				context->bw.dcn.calc_clk.dppclk_div,
   337				context->bw.dcn.calc_clk.dcfclk_khz,
   338				context->bw.dcn.calc_clk.dcfclk_deep_sleep_khz,
   339				context->bw.dcn.calc_clk.fclk_khz,
   340				context->bw.dcn.calc_clk.dram_ccm_us,
   341				context->bw.dcn.calc_clk.min_active_dram_ccm_us);
   342		CLOCK_TRACE("Calculated: dispclk_khz:%d  dppclk_div:%d  dcfclk_khz:%d\n"
   343				"dcfclk_deep_sleep_khz:%d  fclk_khz:%d\n"

---
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: 46774 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170614/35e21d61/attachment-0001.gz>


More information about the dri-devel mailing list