[radeon-alex:drm-next-4.19 52/60] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:352:1-14: code aligned with following code on line 354 (fwd)

Julia Lawall julia.lawall at lip6.fr
Fri Aug 10 13:19:23 UTC 2018


It seems that line 352 should have one more tab at the beginning of the
line.

julia

---------- Forwarded message ----------
Date: Fri, 10 Aug 2018 21:01:50 +0800
From: kbuild test robot <lkp at intel.com>
To: kbuild at 01.org
Cc: Julia Lawall <julia.lawall at lip6.fr>
Subject: [radeon-alex:drm-next-4.19 52/60]
    drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:352:1-14: code
    aligned with following code on line 354

CC: kbuild-all at 01.org
CC: dri-devel at lists.freedesktop.org
TO: Mikita Lipski <mikita.lipski at amd.com>
CC: Alex Deucher <alexander.deucher at amd.com>
CC: Hersen Wu <hersenxs.wu at amd.com>

tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.19
head:   b045d3af7d1f443dd5209a096568e0ce983127e9
commit: 3e27e10e2ecee0d3a0083f8ae76354ac9c6ad15c [52/60] drm/amd/display: Don't share clk source between DP and HDMI
:::::: branch date: 20 hours ago
:::::: commit date: 4 days ago

>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:352:1-14: code aligned with following code on line 354

git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git
git remote update radeon-alex
git checkout 3e27e10e2ecee0d3a0083f8ae76354ac9c6ad15c
vim +352 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c

4562236b Harry Wentland   2017-09-12  310
4562236b Harry Wentland   2017-09-12  311  bool resource_are_streams_timing_synchronizable(
0971c40e Harry Wentland   2017-07-27  312  	struct dc_stream_state *stream1,
0971c40e Harry Wentland   2017-07-27  313  	struct dc_stream_state *stream2)
4562236b Harry Wentland   2017-09-12  314  {
4fa086b9 Leo (Sunpeng  Li 2017-07-25  315) 	if (stream1->timing.h_total != stream2->timing.h_total)
4562236b Harry Wentland   2017-09-12  316  		return false;
4562236b Harry Wentland   2017-09-12  317
4fa086b9 Leo (Sunpeng  Li 2017-07-25  318) 	if (stream1->timing.v_total != stream2->timing.v_total)
4562236b Harry Wentland   2017-09-12  319  		return false;
4562236b Harry Wentland   2017-09-12  320
4fa086b9 Leo (Sunpeng  Li 2017-07-25  321) 	if (stream1->timing.h_addressable
4fa086b9 Leo (Sunpeng  Li 2017-07-25  322) 				!= stream2->timing.h_addressable)
4562236b Harry Wentland   2017-09-12  323  		return false;
4562236b Harry Wentland   2017-09-12  324
4fa086b9 Leo (Sunpeng  Li 2017-07-25  325) 	if (stream1->timing.v_addressable
4fa086b9 Leo (Sunpeng  Li 2017-07-25  326) 				!= stream2->timing.v_addressable)
4562236b Harry Wentland   2017-09-12  327  		return false;
4562236b Harry Wentland   2017-09-12  328
4fa086b9 Leo (Sunpeng  Li 2017-07-25  329) 	if (stream1->timing.pix_clk_khz
4fa086b9 Leo (Sunpeng  Li 2017-07-25  330) 				!= stream2->timing.pix_clk_khz)
4562236b Harry Wentland   2017-09-12  331  		return false;
4562236b Harry Wentland   2017-09-12  332
3e27e10e Mikita Lipski    2018-07-12  333  	if (stream1->clamping.c_depth != stream2->clamping.c_depth)
3e27e10e Mikita Lipski    2018-07-12  334  		return false;
3e27e10e Mikita Lipski    2018-07-12  335
4562236b Harry Wentland   2017-09-12  336  	if (stream1->phy_pix_clk != stream2->phy_pix_clk
7e2fe319 Charlene Liu     2017-03-17  337  			&& (!dc_is_dp_signal(stream1->signal)
7e2fe319 Charlene Liu     2017-03-17  338  			|| !dc_is_dp_signal(stream2->signal)))
4562236b Harry Wentland   2017-09-12  339  		return false;
4562236b Harry Wentland   2017-09-12  340
4562236b Harry Wentland   2017-09-12  341  	return true;
4562236b Harry Wentland   2017-09-12  342  }
3e27e10e Mikita Lipski    2018-07-12  343  static bool is_dp_and_hdmi_sharable(
3e27e10e Mikita Lipski    2018-07-12  344  		struct dc_stream_state *stream1,
3e27e10e Mikita Lipski    2018-07-12  345  		struct dc_stream_state *stream2)
3e27e10e Mikita Lipski    2018-07-12  346  {
3e27e10e Mikita Lipski    2018-07-12  347  	if (stream1->ctx->dc->caps.disable_dp_clk_share)
3e27e10e Mikita Lipski    2018-07-12  348  		return false;
3e27e10e Mikita Lipski    2018-07-12  349
3e27e10e Mikita Lipski    2018-07-12  350  	if (stream1->clamping.c_depth != COLOR_DEPTH_888 ||
3e27e10e Mikita Lipski    2018-07-12  351  	    stream2->clamping.c_depth != COLOR_DEPTH_888)
3e27e10e Mikita Lipski    2018-07-12 @352  	return false;
3e27e10e Mikita Lipski    2018-07-12  353
3e27e10e Mikita Lipski    2018-07-12 @354  	return true;
3e27e10e Mikita Lipski    2018-07-12  355

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


More information about the dri-devel mailing list