Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1173642imm; Thu, 6 Sep 2018 17:10:45 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb4MUPS4vAul1lg+qxYhskc8zp9QFKYg3FHQ2rOaxRVyx0QrveQvdwNmmvApf9Uui70Dfj6 X-Received: by 2002:a17:902:d24:: with SMTP id 33-v6mr5182140plu.211.1536279045749; Thu, 06 Sep 2018 17:10:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536279045; cv=none; d=google.com; s=arc-20160816; b=Klerd8VZFNrA9ScF9K3zhLKPI+qJikKuWqELs/xK2bTALPdp4jXx1iwYpOuNhQ0/YC ST0NUjbffGG4bBExpE0RJCaIF7hxHSI27XHmjhqRL7PsNSC8D2O08JCqdGjyfMmyvYpW 87qLzgh1oEoN6dIu3EcUMNm79GXKW86Xu1HRNYt/rqQw9ZrE48tNHKqUGCm7sm1CZcc+ NOaXnrkn5P90LMlEfjK/88beJ7EaX+cr/pWE9TadcVjZBkjby6fg+sHPKLx4m8b1gx+a nsvsCnnekLY520U1a57iTzvqvoTNMTdrJJ8tYMuKxS8X0FX5sTJIgR3CgRr+pwVkU0LO thdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=whGGkKOFT8ym+vq5A5XV/grkvxz7Om0+ruXh/U0GAJo=; b=CKeCQHVAbCqhyet/rpuPBdBL7aSNq5SiEh5eodPMt/4M+OZ7onu21WYuum82dCJSPx iiaN1pyu4OA233wPVXohNaZUdESVWAoR9rdP8zu9qQqWwS+X2vlKg9toLuxeiXQ/6hCs mmjk2ADBLnTbZuOiQHb2hQqFtPn8kVlwKbeW95UtZlpB43c3gpt/Q4gI64LYHh3GeYeY vHlAlKs2PGvoUrNbNBsTCSj6MwCLjoQOtBCQFgZcdF09Ts0J36zrhJsuLwZvNJIQSo70 qdMWoDfrC9ee7+9T7u3ZtBrdwGZmuZkoJxP7Itl6SIP7GZ1jdFgKbga5UI/DHd1GbRgk Amvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7-v6si6767855pgm.677.2018.09.06.17.10.30; Thu, 06 Sep 2018 17:10:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727285AbeIGC1j (ORCPT + 99 others); Thu, 6 Sep 2018 22:27:39 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:15841 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726361AbeIGC1j (ORCPT ); Thu, 6 Sep 2018 22:27:39 -0400 X-IronPort-AV: E=Sophos;i="5.53,339,1531778400"; d="scan'208";a="345310021" Received: from lneuilly-657-1-24-134.w92-154.abo.wanadoo.fr (HELO hadrien) ([92.154.38.134]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2018 23:50:07 +0200 Date: Thu, 6 Sep 2018 23:50:07 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Mikita Lipski cc: linux-kernel@vger.kernel.org, Alex Deucher , Hersen Wu , 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) Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 To: kbuild@01.org Cc: Julia Lawall 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 CC: Alex Deucher CC: Hersen Wu 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