Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1538459rwl; Fri, 7 Apr 2023 19:01:26 -0700 (PDT) X-Google-Smtp-Source: AKy350bL8WiPfnASYZYX2+sMYYyXKewhRVoDI2m1qs+fx0S7tE/x8FlF392urhJuMgE3rDgAGAeP X-Received: by 2002:a17:907:76c5:b0:931:f9f8:bf9e with SMTP id kf5-20020a17090776c500b00931f9f8bf9emr1081103ejc.74.1680919286420; Fri, 07 Apr 2023 19:01:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680919286; cv=none; d=google.com; s=arc-20160816; b=Vgkw1YzTSewQ7Mmqd2UymwEAKQCb5JZXKfdp8NJv0HlGqhXS9q3QMDVQ5g8I+rKtmb C8brswKxjwbujUhfgGc0gNGlCuwoDM/yZqrttPDgBWzEE6tu85+voHhqiV8SIh4fmo9u dLcjVeXr3y58KsCyXBDsZg8hbBe7ic3HRlPVNZLsJPEcWBoMvEX4ZqxORlT4FtyFnTnQ 2E7ZAJ1znkliNuPsFqZq5u+X4q4WVnVmhdRBnn5+V9MeOm2C4U8SPv3OZL3DTXV+UDJ0 tJ7onabP6FGoCACdokUMhYIiN1qHL3KfjuD9Zx827JlLItny4HX2J7u3/pVWEwPRa6+j aPzw== 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=+85xZfI3Sg3y3Oh5K6S8ifuRrwiDNm2V0BnVxDSa2Ps=; b=nZ6EjlOHTIXZyOsNuxwzzw+GPVRy2ylgcw10Dor39Q2jFyOq3a4plDPliFbo5hZfU2 N8cIrCbDk+Zr5hHAFONEFZtH0ifycm0adAS1OJgvPHlp9/AgrPWYLLsno5FjLdjZhQ6p 7KI5eevpFHnZeqjnU5MlGubZgqOyfPRyJheaXmVlX8KPRQYdWLI9VkuwPTgGXOHKme6h 2E19qeBAT8QIMyjM5VcUyJ1GfvNPxPkmeuErOq1iOFq+e2qlHjF2UirW6M2eAr8P5T+T DjF4lmePf4e3h90cDxLT3w2VfAAHj/OCYXWduVeuYQsMWiaPTwalcPJrdRo/0cIqabPQ c71g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=N34niOKZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i19-20020a170906091300b008d0378ec19fsi3220960ejd.650.2023.04.07.19.01.01; Fri, 07 Apr 2023 19:01:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=N34niOKZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229768AbjDHBq1 (ORCPT + 99 others); Fri, 7 Apr 2023 21:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjDHBqZ (ORCPT ); Fri, 7 Apr 2023 21:46:25 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65F6483F6 for ; Fri, 7 Apr 2023 18:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680918384; x=1712454384; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=YfUtNEwJ9JQoeQFPeGky5RqHKjakQODVtB8RgU/JkTc=; b=N34niOKZo4P7iCYP0O6ZWcRG5Jzeds1L2wMTvT6MJ5vlaa/iRainBfZg qJH2TJ3xeE/H3/y13KjmlTAEfXQn+zl2bhRWUFBJ8olbluwPUalWCgZzo v6kDEluuiKQE8P3tj/TmKCLGld81MoAtE2JWNWtCaGcT+9Nnyb8E55yKJ iBckJKTIomX5LOfuH7jNTiD1PkiE3ldnA8dXYs6glYicyJeS+Txt3CGGo 2SBLjJbJT9PU1I6uMXg5ljFm6UZA53mivuaJFw2POgpn57wSxwbFsk/L0 ajl8a4JxOhlYIw4QbEalKSPIk3GogNSMIsB9RsZdkVTtDJfNr/yXcmzfP A==; X-IronPort-AV: E=McAfee;i="6600,9927,10673"; a="344877353" X-IronPort-AV: E=Sophos;i="5.98,328,1673942400"; d="scan'208";a="344877353" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2023 18:46:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10673"; a="665071624" X-IronPort-AV: E=Sophos;i="5.98,328,1673942400"; d="scan'208";a="665071624" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 07 Apr 2023 18:46:20 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pkxel-000T8j-0J; Sat, 08 Apr 2023 01:46:19 +0000 Date: Sat, 8 Apr 2023 09:45:41 +0800 From: kernel test robot To: Lyude Paul , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org Cc: oe-kbuild-all@lists.linux.dev, Thomas Zimmermann , Karol Herbst , Jani Nikula , open list , Ben Skeggs , Dave Airlie , Kees Cook Subject: Re: [PATCH 2/2] drm/nouveau/kms: Add INHERIT ioctl to nvkm/nvif for reading IOR state Message-ID: <202304080927.xI7Meodx-lkp@intel.com> References: <20230407222133.1425969-2-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230407222133.1425969-2-lyude@redhat.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lyude, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.3-rc5 next-20230406] [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/Lyude-Paul/drm-nouveau-kms-Add-INHERIT-ioctl-to-nvkm-nvif-for-reading-IOR-state/20230408-062329 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230407222133.1425969-2-lyude%40redhat.com patch subject: [PATCH 2/2] drm/nouveau/kms: Add INHERIT ioctl to nvkm/nvif for reading IOR state config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230408/202304080927.xI7Meodx-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/a3d963915cf6f2d87b57146f7bc57a6a89d90cf6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Lyude-Paul/drm-nouveau-kms-Add-INHERIT-ioctl-to-nvkm-nvif-for-reading-IOR-state/20230408-062329 git checkout a3d963915cf6f2d87b57146f7bc57a6a89d90cf6 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304080927.xI7Meodx-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/nouveau/dispnv50/disp.c:2554:1: warning: no previous prototype for 'nv50_display_read_hw_state' [-Wmissing-prototypes] 2554 | nv50_display_read_hw_state(struct nouveau_drm *drm) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/nouveau/dispnv50/disp.c:2618:1: warning: no previous prototype for 'nv50_display_create' [-Wmissing-prototypes] 2618 | nv50_display_create(struct drm_device *dev) | ^~~~~~~~~~~~~~~~~~~ vim +/nv50_display_read_hw_state +2554 drivers/gpu/drm/nouveau/dispnv50/disp.c 2551 2552 /* Read back the currently programmed display state */ 2553 void > 2554 nv50_display_read_hw_state(struct nouveau_drm *drm) 2555 { 2556 struct drm_device *dev = drm->dev; 2557 struct drm_encoder *encoder; 2558 struct drm_modeset_acquire_ctx ctx; 2559 struct nv50_disp *disp = nv50_disp(dev); 2560 int ret; 2561 2562 DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, 0, ret); 2563 2564 drm_for_each_encoder(encoder, dev) { 2565 if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) 2566 continue; 2567 2568 nv50_display_read_hw_or_state(dev, disp, nouveau_encoder(encoder)); 2569 } 2570 2571 DRM_MODESET_LOCK_ALL_END(dev, ctx, ret); 2572 } 2573 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests