mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Mikita Lipski <mikita.lipski@amd.com>
Cc: linux-kernel@vger.kernel.org,
	Alex Deucher <alexander.deucher@amd.com>,
	Hersen Wu <hersenxs.wu@amd.com>,
	kbuild-all@01.org
Subject: drivers/gpu/drm/amd/display/dc/core/dc_resource.c:352:1-14: code aligned with following code on line 354 (fwd)
Date: Thu, 6 Sep 2018 23:50:07 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1809062349170.25742@hadrien> (raw)

It looks like line 352 needs to be indented more.

julia

---------- Forwarded message ----------
Date: Fri, 7 Sep 2018 05:47:25 +0800
From: kbuild test robot <lkp@intel.com>
To: kbuild@01.org
Cc: Julia Lawall <julia.lawall@lip6.fr>
Subject: drivers/gpu/drm/amd/display/dc/core/dc_resource.c:352:1-14: code
    aligned with following code on line 354

CC: kbuild-all@01.org
CC: linux-kernel@vger.kernel.org
TO: Mikita Lipski <mikita.lipski@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: Hersen Wu <hersenxs.wu@amd.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   db44bf4b4768a0664d3c9d9000ecb747de31ded8
commit: 3e27e10e2ecee0d3a0083f8ae76354ac9c6ad15c drm/amd/display: Don't share clk source between DP and HDMI
date:   4 weeks ago
:::::: branch date: 5 hours ago
:::::: commit date: 4 weeks ago

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

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3e27e10e2ecee0d3a0083f8ae76354ac9c6ad15c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 3e27e10e2ecee0d3a0083f8ae76354ac9c6ad15c
vim +352 drivers/gpu/drm/amd/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

                 reply	other threads:[~2018-09-06 21:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1809062349170.25742@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=alexander.deucher@amd.com \
    --cc=hersenxs.wu@amd.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikita.lipski@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®