Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp112487rdh; Wed, 25 Oct 2023 18:26:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGT3Q0SG9T7SUBZ650tHQ41cwo1rSOJLEbCfgUpBJa8mLcqd1yoJHvUabwqTNx8u0oDK9cW X-Received: by 2002:a0d:c9c7:0:b0:59d:d85e:795d with SMTP id l190-20020a0dc9c7000000b0059dd85e795dmr15654253ywd.51.1698283571254; Wed, 25 Oct 2023 18:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698283571; cv=none; d=google.com; s=arc-20160816; b=mp/7WcZb9LMfcVeyYsRFLtfE+xg6cimcYZyL5olgaRHDUDkmB1oT1WYgj8w1UPBC5W JMyUb2McUoa0+KluLYW14UTUjT+8nDJuJzSWaaH3GIb2+lhWMN2HgIJ8JmGOHN2VIEdt 8xb5TPZj6inke/No6BnBvSpX03FgX0sGKn5Pe6Kp64ZoVemkF5uYVghm1wUufFVOf8Fe d//xanRi+Pn967GFQXaFyvrymHZo4s20OrdU+Bbj6Ltp5aGesGrkP+v82yzdzfclvI9g xOdod82XSBDdfeNzH/cmMgB9eRxqvOTiHAQFyB0SjEMP0STZfyi5RMs+5XTfXnY9lmtP dhUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=50EdHmYPsp04Cz0KZ+9GOapkHvC5O8qrXC+ZLfYD1aQ=; fh=B9fVjcXxw2jC3jv7uDyptGg89/RucSRTfKEZNzF/kpk=; b=iSD3OuE4ye5Q/2AT8Ll1ww/W7/RJY77GBTQN/gPr5yk2u1AQlsuAvwZ0D+xNyUIzX6 TtOGLygVJ60gE4V4OyQQFLRJu7cO3UbI3OGwBazSgPg+ApSEtmcdB8M+iEFimXSo4woa 60IXtvuf9AN6JjoOwhtcAo9Smd0tZjDjhRiBBzWHICUQtpGzobPvce+uU8MH6MWw3iUk LjgAGFQPKZxDmfJzaO+zFtbBT/Vfhzh5A2fXzreCxX6frGQk3RUT/lYZ+LD4ZdKE2UZY qI9K/2hFALzcv3T8HXD802UYSmCz5ABOi98RRbJd/BGdsJQ5kQEED/OeF6s7VDu1pPSd edaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=G4prrn55; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id x67-20020a817c46000000b005a20c61b88asi13798079ywc.127.2023.10.25.18.26.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 18:26:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=G4prrn55; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CE45B8028FEE; Wed, 25 Oct 2023 18:26:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230522AbjJZBZ4 (ORCPT + 99 others); Wed, 25 Oct 2023 21:25:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbjJZBZy (ORCPT ); Wed, 25 Oct 2023 21:25:54 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8E33136 for ; Wed, 25 Oct 2023 18:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698283553; x=1729819553; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=amRn4daTHQX0xyFE0A0SgaV8/g/JqTUm/9VBQw6e+oY=; b=G4prrn559aiGpd01ZexAOyh62Wks6dgJ4Zj1MDaASRacQEFXD6APT7vx tVuG8QMsWI2ggY8TVQnYjAIzVBdehisMEdwGesEDziT3QoQJv5L/+zweI RZ4HgIeNkboyIsox7TZCH7vcQCuTePfhXkSjZgq6mXjoAlKq+tQTpS4ws azGXH7ljCfQ/xG6prXpIhPnzGAYxKdwkKJlOmDvrEKcSEBormUvV+4gHK 1HXNB7v6P54WFP15Cg6KJpdc6P6oIdIaw3GcBzuNItsm4xfArL1AirvmK LbFJugrJL/9fvX4hB50Cb4mOALKdNqr9E68yEyDaWr86VEa/EzZkdMKEn A==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="224225" X-IronPort-AV: E=Sophos;i="6.03,252,1694761200"; d="scan'208";a="224225" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 18:25:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="932563473" X-IronPort-AV: E=Sophos;i="6.03,252,1694761200"; d="scan'208";a="932563473" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 25 Oct 2023 18:25:47 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qvp85-0009KA-0R; Thu, 26 Oct 2023 01:25:45 +0000 Date: Thu, 26 Oct 2023 09:25:12 +0800 From: kernel test robot To: Sagar Vashnav , Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH] drm/amd/display: add kernel docs for dc_stream_forward_crc_window Message-ID: <202310260912.JFR01gdE-lkp@intel.com> References: <20231025140419.21180-1-sagarvashnav72427@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231025140419.21180-1-sagarvashnav72427@gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 25 Oct 2023 18:26:08 -0700 (PDT) Hi Sagar, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.6-rc7 next-20231025] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Sagar-Vashnav/drm-amd-display-add-kernel-docs-for-dc_stream_forward_crc_window/20231026-001250 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231025140419.21180-1-sagarvashnav72427%40gmail.com patch subject: [PATCH] drm/amd/display: add kernel docs for dc_stream_forward_crc_window config: csky-randconfig-002-20231026 (https://download.01.org/0day-ci/archive/20231026/202310260912.JFR01gdE-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231026/202310260912.JFR01gdE-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310260912.JFR01gdE-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:536: warning: bad line: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:539: warning: bad line: vim +536 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c 530 531 /** 532 * dc_stream_forward_crc_window() - Forward CRC window configuration to DMUB or DMCU. 533 * @stream: The stream state to forward CRC window configuration for. 534 * @rect: Pointer to the rectangle defining the CRC window coordinates. 535 * @is_stop: Flag indicating whether the CRC capture should be stopped. > 536 537 * This function is responsible for forwarding the CRC window configuration 538 * for a given stream to either the DMUB or DMCU, depending on their availability. 539 540 * Return: 541 * %true if the CRC window configuration was successfully forwarded; 542 * %false if the stream was not found or CRC forwarding is not supported. 543 */ 544 bool 545 dc_stream_forward_crc_window(struct dc_stream_state *stream, 546 struct rect *rect, bool is_stop) 547 { 548 struct dmcu *dmcu; 549 struct dc_dmub_srv *dmub_srv; 550 struct otg_phy_mux mux_mapping; 551 struct pipe_ctx *pipe; 552 int i; 553 struct dc *dc = stream->ctx->dc; 554 555 for (i = 0; i < MAX_PIPES; i++) { 556 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; 557 if (pipe->stream == stream && !pipe->top_pipe && !pipe->prev_odm_pipe) 558 break; 559 } 560 561 /* Stream not found */ 562 if (i == MAX_PIPES) 563 return false; 564 565 mux_mapping.phy_output_num = stream->link->link_enc_hw_inst; 566 mux_mapping.otg_output_num = pipe->stream_res.tg->inst; 567 568 dmcu = dc->res_pool->dmcu; 569 dmub_srv = dc->ctx->dmub_srv; 570 571 /* forward to dmub */ 572 if (dmub_srv) 573 dc_stream_forward_dmub_crc_window(dmub_srv, rect, &mux_mapping, is_stop); 574 /* forward to dmcu */ 575 else if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) 576 dc_stream_forward_dmcu_crc_window(dmcu, rect, &mux_mapping, is_stop); 577 else 578 return false; 579 580 return true; 581 } 582 #endif /* CONFIG_DRM_AMD_SECURE_DISPLAY */ 583 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki