Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3401120rdb; Sun, 10 Dec 2023 04:30:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiT7p+X2cl7DzUEmrpIce8tHjvlSlqICK52oODV2zHq+3LmzhfNF+AcWIAH/8q5IVihzG1 X-Received: by 2002:a17:90b:2343:b0:280:735:bece with SMTP id ms3-20020a17090b234300b002800735becemr3291961pjb.16.1702211427202; Sun, 10 Dec 2023 04:30:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702211427; cv=none; d=google.com; s=arc-20160816; b=eeg4CeyEluJtZADdSSdwAfVRPeD/eMcN1yKaQQPaiLVfzQYV9Gu1DUC5NRJaXIPjHD DYsHjvFwBzlCNDMMfxiIZspoLAo4Qi+pU4fAfLy//nkpK41E6WJGqaryhxG1Wx4bSjMG kch6ezNmtxyPxodHv+IlSnjDFUPLiOunWF9xwiKAQ5DE4LGqtcQjCNWUiyARf0RiLDnM cC5WqB8GdrLIxFAd4/+JS6jmrfbjdBKjKwe/nJ6REuGaqMlQw6eVfcOb7DwElpcjCGgY kxNM7X9cUCZPVsj1z8FbWPvEP8MiZN5/WXKfy0LjRD3Lnb+NrHGIiwcu7TFUwoQyV/jL KorA== 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=Io3j2CPOV8TLvfwg4XrkF7QMlHXo4za6VSdcs0ILaSM=; fh=MJeJrAAHnYE+5Z0oSwEn77FFop2UM8KLpOLxmCvxzco=; b=qwFnRU1m4PkTOPrDmRjkYLOQ+4mDbmmxF/+Lq1kn4cHqrvoxUmEG7epnBD/oO9elTu x6rwDj4IH3Qw0qbelJH2fkwFw786hW8oUyFhcJsO3Av84fPHlbwZ/h+1Qr0j8ZNSwWQA nOUqxmrghOyedf6mJZtYLjHCFpFseeVjwa5S73Znu6UTCQ7vBk21QvPmTtxNkz6RCXEe wjOf7J7NsidxafWHtOhj06+5j2hk9o0cgTvkdK7RNZZewxAqemNE0BaWJc+6t7j5QEes 5FyysN2ye0p7UQcpwYHEueynLfHoeRa8nE1TlKaOZKDp+xNmciSt2u1fRcUivZjmNIKB akHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RUG1I/mu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id o11-20020a17090ab88b00b002868f5b2c7csi4034096pjr.33.2023.12.10.04.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 04:30:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RUG1I/mu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id E36A5807C550; Sun, 10 Dec 2023 04:30:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231778AbjLJMaE (ORCPT + 99 others); Sun, 10 Dec 2023 07:30:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjLJMaD (ORCPT ); Sun, 10 Dec 2023 07:30:03 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E897310E; Sun, 10 Dec 2023 04:30:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702211410; x=1733747410; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1hFKZaaYa0isYOfuRccRS7bdXdTSP+jzodb5aJcq+Mo=; b=RUG1I/muz6cT8eihjn9A6NXShrQdHopGDqrQDWcvGUy8jc0+O8DUzMsd yqeW7ZM0Yht9iyzxqaT+MxGgC5boiGoYvTeqxuz1Vs5FbcqKF0xI7QLgj xbBoALEXVpVjUQfAXCcqV9MOPXJVBBaEJDceiErtH/CuWNppx0jyYFbAi d3erj4NKyos1xsUzI5hYK9KE6tfoGTqgUt/ITtnAn3is8wxsre9LNHalS i22QJQDE3NW6Ge+//TQIXG7tNfyP8v2JwC0cF5Q0rvyWsuBM+TdrbaKqt +CdbrVvWdSUjBcmocKk2hQDZcos+m4uLoUFib7G0ukLCWqeWneBOfSTlY g==; X-IronPort-AV: E=McAfee;i="6600,9927,10919"; a="7910833" X-IronPort-AV: E=Sophos;i="6.04,265,1695711600"; d="scan'208";a="7910833" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2023 04:30:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10919"; a="1104116213" X-IronPort-AV: E=Sophos;i="6.04,265,1695711600"; d="scan'208";a="1104116213" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 10 Dec 2023 04:30:05 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rCIwd-000Gp8-0G; Sun, 10 Dec 2023 12:30:03 +0000 Date: Sun, 10 Dec 2023 20:29:23 +0800 From: kernel test robot To: Abhinav Kumar , freedreno@lists.freedesktop.org, Rob Clark , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, quic_jesszhan@quicinc.com, quic_parellan@quicinc.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2 10/16] drm/msm/dpu: add CDM related logic to dpu_hw_ctl layer Message-ID: <202312102047.S0I69pCs-lkp@intel.com> References: <20231208050641.32582-11-quic_abhinavk@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231208050641.32582-11-quic_abhinavk@quicinc.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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Sun, 10 Dec 2023 04:30:24 -0800 (PST) Hi Abhinav, kernel test robot noticed the following build warnings: [auto build test WARNING on next-20231207] [also build test WARNING on v6.7-rc4] [cannot apply to drm-misc/drm-misc-next linus/master v6.7-rc4 v6.7-rc3 v6.7-rc2] [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/Abhinav-Kumar/drm-msm-dpu-add-formats-check-for-writeback-encoder/20231208-130820 base: next-20231207 patch link: https://lore.kernel.org/r/20231208050641.32582-11-quic_abhinavk%40quicinc.com patch subject: [PATCH v2 10/16] drm/msm/dpu: add CDM related logic to dpu_hw_ctl layer config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231210/202312102047.S0I69pCs-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231210/202312102047.S0I69pCs-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/202312102047.S0I69pCs-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c:537:6: warning: variable 'cdm_active' set but not used [-Wunused-but-set-variable] u32 cdm_active = 0; ^ 1 warning generated. vim +/cdm_active +537 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c 528 529 530 static void dpu_hw_ctl_intf_cfg_v1(struct dpu_hw_ctl *ctx, 531 struct dpu_hw_intf_cfg *cfg) 532 { 533 struct dpu_hw_blk_reg_map *c = &ctx->hw; 534 u32 intf_active = 0; 535 u32 wb_active = 0; 536 u32 mode_sel = 0; > 537 u32 cdm_active = 0; 538 539 /* CTL_TOP[31:28] carries group_id to collate CTL paths 540 * per VM. Explicitly disable it until VM support is 541 * added in SW. Power on reset value is not disable. 542 */ 543 if ((test_bit(DPU_CTL_VM_CFG, &ctx->caps->features))) 544 mode_sel = CTL_DEFAULT_GROUP_ID << 28; 545 546 if (cfg->intf_mode_sel == DPU_CTL_MODE_SEL_CMD) 547 mode_sel |= BIT(17); 548 549 intf_active = DPU_REG_READ(c, CTL_INTF_ACTIVE); 550 wb_active = DPU_REG_READ(c, CTL_WB_ACTIVE); 551 cdm_active = DPU_REG_READ(c, CTL_CDM_ACTIVE); 552 553 if (cfg->intf) 554 intf_active |= BIT(cfg->intf - INTF_0); 555 556 if (cfg->wb) 557 wb_active |= BIT(cfg->wb - WB_0); 558 559 DPU_REG_WRITE(c, CTL_TOP, mode_sel); 560 DPU_REG_WRITE(c, CTL_INTF_ACTIVE, intf_active); 561 DPU_REG_WRITE(c, CTL_WB_ACTIVE, wb_active); 562 563 if (cfg->merge_3d) 564 DPU_REG_WRITE(c, CTL_MERGE_3D_ACTIVE, 565 BIT(cfg->merge_3d - MERGE_3D_0)); 566 567 if (cfg->dsc) 568 DPU_REG_WRITE(c, CTL_DSC_ACTIVE, cfg->dsc); 569 570 if (cfg->cdm) 571 DPU_REG_WRITE(c, CTL_CDM_ACTIVE, cfg->cdm); 572 } 573 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki