* drivers/gpu/drm/amd/display/dc/core/dc_resource.c:352:1-14: code aligned with following code on line 354 (fwd)
@ 2018-09-06 21:50 Julia Lawall
0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2018-09-06 21:50 UTC (permalink / raw)
To: Mikita Lipski; +Cc: linux-kernel, Alex Deucher, Hersen Wu, kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-09-06 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-06 21:50 drivers/gpu/drm/amd/display/dc/core/dc_resource.c:352:1-14: code aligned with following code on line 354 (fwd) Julia Lawall
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.