Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp706974rdf; Fri, 3 Nov 2023 12:29:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIjCVIoVR6QiqReeYeDTd1yVC6jhenYZc6PhlfhAlm6IYbzNuWvEwUSMBvh4XpvyMejXpQ X-Received: by 2002:a05:6808:2981:b0:3ad:fc0f:e852 with SMTP id ex1-20020a056808298100b003adfc0fe852mr23019702oib.23.1699039746998; Fri, 03 Nov 2023 12:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699039746; cv=none; d=google.com; s=arc-20160816; b=ue0n3vkyBWxGuEr2vN3gGfBn/VDR29Avcl6yI14+JNnlwvLmEIUAp9ZxaYLcVbMaUE dKigCOkrt7s+HK/zBSagY5eD5b50UXIUh2gSNStHsfIGWl3KR5D5aMfZ5EYbR/xfPyfw epaHTlEf5j3nCzNqQHvuLOvsE9SHk87okTd2zgRUWt3C7zvVIGLOhucu8a5EnPgvxXY4 e9OPZQ1+3+o8H/VWTGGLtcLIAQl4r13At5s8o23+p4eIB3VJYv04n6s5RsELfHkXAIL3 ahVBbyiZ3k8uYizlzaqU/w1bG/OH51Ps3N577iP56JkZPWADnWP88ornWjFUGdcZQ1FR PrTA== 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=9f57N+ip66LXBE3udSRXYJELcSLR0sD3VXA5dz/VesQ=; fh=NaRIZhfVGuJeHnyivrTiPD4IJBMbf1CWqNWq9oXzi3E=; b=fldUzMak6JSraMQIc5ZFq2E6q1xo3Ti0Q2bqf0F50DO8kZt0UJlxaEBEay/KtyA9Cp IsP9DWYYmQVQaUfH0ZPYTdxGUq3tF2as5Saffvu9+h6sQ6u0830YsvbRI+v4f/43UXvi 1lhgRRhaAqGswt73y/UiFpnegV4zKq3/2ZPbh/mRJKaJHlp/J3onJtNTiqCJJmubywpg E0dRSkJooB1Mkj1Hc+JFay7eUVnozhN4cJrPP970cFqoiT9jFSyC+ISOrTO5qxf1zmSw yoETj6SJ3Lhhyw76oIMXZcszn7MlboBdyZjxZC99E90SxdDKk1vWiyL+mTOwithp/UiM 8VSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FcDAsNP2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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. [23.128.96.35]) by mx.google.com with ESMTPS id h22-20020a056a00219600b006c33c8497casi2124287pfi.222.2023.11.03.12.29.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 12:29:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FcDAsNP2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 CA91E8269C60; Fri, 3 Nov 2023 12:28:59 -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 S231185AbjKCT2V (ORCPT + 99 others); Fri, 3 Nov 2023 15:28:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230155AbjKCT2U (ORCPT ); Fri, 3 Nov 2023 15:28:20 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2937C1BC for ; Fri, 3 Nov 2023 12:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699039694; x=1730575694; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ThhEdvjT1+j0oUILnpjOIFzFwnHfbfJKfong+lTksrA=; b=FcDAsNP2SGtWgFu7e2gp4MF0FE6n0CyvSR9WfBT8Rp2GW1Du42VW6qt7 TyHFs2lQKBD5tNPiNUPxPA484L/ai1bqmHr9QOGgy5XyXHEbHs4We/Gpz NLX4yEoohJCx1xNXuYusB1xPMUJcHrtLNoV4xo48wTUrKnQVFscjXN2Ci JGYLJA1bjbW6gQYYMSEJkva1pNq96bohEYfC70VqTkacw5afnNFQw1Hnk YoKxBPA6llfgtqtEEXDshs38uGjnW9og07yet70P5g2anaQbzvxsuOLjI DRBAo5SgWgCfTCHwJKV1IY3vOGmAgiCXyksSCgaY3T1OHQKpUm0MeXZjL Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="453305922" X-IronPort-AV: E=Sophos;i="6.03,275,1694761200"; d="scan'208";a="453305922" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2023 12:28:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="738169231" X-IronPort-AV: E=Sophos;i="6.03,275,1694761200"; d="scan'208";a="738169231" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 03 Nov 2023 12:28:10 -0700 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qyzpw-0002sg-02; Fri, 03 Nov 2023 19:28:08 +0000 Date: Sat, 4 Nov 2023 03:27:54 +0800 From: kernel test robot To: Andy Shevchenko , Jani Nikula , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , Hans de Goede Subject: Re: [PATCH v3 14/15] drm/i915/dsi: Replace poking of CHV GPIOs behind the driver's back Message-ID: <202311040312.Tf6bTkw0-lkp@intel.com> References: <20231102151228.668842-15-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231102151228.668842-15-andriy.shevchenko@linux.intel.com> X-Spam-Status: No, score=-1.3 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 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]); Fri, 03 Nov 2023 12:29:00 -0700 (PDT) Hi Andy, kernel test robot noticed the following build errors: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on drm-intel/for-linux-next-fixes linus/master v6.6 next-20231103] [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/Andy-Shevchenko/drm-i915-dsi-assume-BXT-gpio-works-for-non-native-GPIO/20231103-064642 base: git://anongit.freedesktop.org/drm-intel for-linux-next patch link: https://lore.kernel.org/r/20231102151228.668842-15-andriy.shevchenko%40linux.intel.com patch subject: [PATCH v3 14/15] drm/i915/dsi: Replace poking of CHV GPIOs behind the driver's back config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20231104/202311040312.Tf6bTkw0-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/20231104/202311040312.Tf6bTkw0-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/202311040312.Tf6bTkw0-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_dsi_vbt.c:272:4: error: call to undeclared function 'soc_exec_opaque_gpio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:03", "Panel SE", ^ drivers/gpu/drm/i915/display/intel_dsi_vbt.c:275:4: error: call to undeclared function 'soc_exec_opaque_gpio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:00", "Panel SW", ^ drivers/gpu/drm/i915/display/intel_dsi_vbt.c:278:4: error: call to undeclared function 'soc_exec_opaque_gpio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:02", "Panel E", ^ drivers/gpu/drm/i915/display/intel_dsi_vbt.c:281:4: error: call to undeclared function 'soc_exec_opaque_gpio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:01", "Panel N", ^ drivers/gpu/drm/i915/display/intel_dsi_vbt.c:299:3: error: call to undeclared function 'soc_exec_opaque_gpio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:01", "Panel N", ^ 5 errors generated. vim +/soc_exec_opaque_gpio +272 drivers/gpu/drm/i915/display/intel_dsi_vbt.c 263 264 static void chv_gpio_set_value(struct intel_connector *connector, 265 u8 gpio_source, u8 gpio_index, bool value) 266 { 267 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); 268 269 if (connector->panel.vbt.dsi.seq_version >= 3) { 270 if (gpio_index >= CHV_GPIO_IDX_START_SE) { 271 /* XXX: it's unclear whether 255->57 is part of SE. */ > 272 soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:03", "Panel SE", 273 gpio_index - CHV_GPIO_IDX_START_SW, value); 274 } else if (gpio_index >= CHV_GPIO_IDX_START_SW) { 275 soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:00", "Panel SW", 276 gpio_index - CHV_GPIO_IDX_START_SW, value); 277 } else if (gpio_index >= CHV_GPIO_IDX_START_E) { 278 soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:02", "Panel E", 279 gpio_index - CHV_GPIO_IDX_START_E, value); 280 } else { 281 soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:01", "Panel N", 282 gpio_index - CHV_GPIO_IDX_START_N, value); 283 } 284 } else { 285 /* XXX: The spec is unclear about CHV GPIO on seq v2 */ 286 if (gpio_source != 0) { 287 drm_dbg_kms(&dev_priv->drm, 288 "unknown gpio source %u\n", gpio_source); 289 return; 290 } 291 292 if (gpio_index >= CHV_GPIO_IDX_START_E) { 293 drm_dbg_kms(&dev_priv->drm, 294 "invalid gpio index %u for GPIO N\n", 295 gpio_index); 296 return; 297 } 298 299 soc_exec_opaque_gpio(connector, gpio_index, "INT33FF:01", "Panel N", 300 gpio_index - CHV_GPIO_IDX_START_N, value); 301 } 302 } 303 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki