From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A28FD291 for ; Tue, 31 Oct 2023 08:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HKVkQIuQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698742314; x=1730278314; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=0rcELH9wTkygIGf5Hlhr+4M1BwdozgJqHutiY4kxTbE=; b=HKVkQIuQUgczvrLG0j03/UIw1S+vd78c8dp8bQQZJ4N1/LrfoESBp1ry htrRKNOJZdNBIC/U3nNNuMLVkp7llOGgpZOV2p4Mj6RL5wyEWLohyjcCm bGvNsgmgz0cWHNt0LhAIKxMAovCrrHbKb+unUV3cXlxeCyiITndtVzwVo SxgrWG2YF86bQ56Uegh7NV8NV7zVfOnoGWH6oh3iKr7gk/nMRlu0Xp1pf 4Y/jwyF96UBrRU03So6m0LYVWdgyv5aqPNzvTIgjt8lk/2EwG6dTURFmN Ofj0FPAz3YWVNuDKnZ5vuTGJ6/6N8/XD0Ujf6icX3WOudolnWlwyC+RM/ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="368449905" X-IronPort-AV: E=Sophos;i="6.03,265,1694761200"; d="scan'208";a="368449905" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2023 01:51:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="789723342" X-IronPort-AV: E=Sophos;i="6.03,265,1694761200"; d="scan'208";a="789723342" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 31 Oct 2023 01:51:34 -0700 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qxkTE-000040-1B; Tue, 31 Oct 2023 08:51:32 +0000 Date: Tue, 31 Oct 2023 16:51:25 +0800 From: kernel test robot To: Danilo Krummrich , airlied@gmail.com, daniel@ffwll.ch, matthew.brost@intel.com, boris.brezillon@collabora.com, christian.koenig@amd.com, faith@gfxstrand.net, luben.tuikov@amd.com Cc: oe-kbuild-all@lists.linux.dev, Danilo Krummrich , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH drm-misc-next v4] drm/sched: implement dynamic job-flow control Message-ID: <202310311632.RpEHvHMk-lkp@intel.com> References: <20231031002655.38707-1-dakr@redhat.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231031002655.38707-1-dakr@redhat.com> Hi Danilo, kernel test robot noticed the following build errors: [auto build test ERROR on b2139fb5051554a7f297e4ad584ef1bc26c76d5d] url: https://github.com/intel-lab-lkp/linux/commits/Danilo-Krummrich/drm-sched-implement-dynamic-job-flow-control/20231031-082915 base: b2139fb5051554a7f297e4ad584ef1bc26c76d5d patch link: https://lore.kernel.org/r/20231031002655.38707-1-dakr%40redhat.com patch subject: [PATCH drm-misc-next v4] drm/sched: implement dynamic job-flow control config: loongarch-randconfig-002-20231031 (https://download.01.org/0day-ci/archive/20231031/202310311632.RpEHvHMk-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310311632.RpEHvHMk-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/202310311632.RpEHvHMk-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/etnaviv/etnaviv_gpu.c: In function 'etnaviv_gpu_rpm_suspend': >> drivers/gpu/drm/etnaviv/etnaviv_gpu.c:1920:36: error: 'struct drm_gpu_scheduler' has no member named 'hw_rq_count' 1920 | if (atomic_read(&gpu->sched.hw_rq_count)) | ^ vim +1920 drivers/gpu/drm/etnaviv/etnaviv_gpu.c a8c21a5451d831 The etnaviv authors 2015-12-03 1913 a8c21a5451d831 The etnaviv authors 2015-12-03 1914 static int etnaviv_gpu_rpm_suspend(struct device *dev) a8c21a5451d831 The etnaviv authors 2015-12-03 1915 { a8c21a5451d831 The etnaviv authors 2015-12-03 1916 struct etnaviv_gpu *gpu = dev_get_drvdata(dev); a8c21a5451d831 The etnaviv authors 2015-12-03 1917 u32 idle, mask; a8c21a5451d831 The etnaviv authors 2015-12-03 1918 f4163814813fb3 Lucas Stach 2018-11-05 1919 /* If there are any jobs in the HW queue, we're not idle */ f4163814813fb3 Lucas Stach 2018-11-05 @1920 if (atomic_read(&gpu->sched.hw_rq_count)) a8c21a5451d831 The etnaviv authors 2015-12-03 1921 return -EBUSY; a8c21a5451d831 The etnaviv authors 2015-12-03 1922 1a910c11d35bfa Guido Günther 2020-03-02 1923 /* Check whether the hardware (except FE and MC) is idle */ 1a910c11d35bfa Guido Günther 2020-03-02 1924 mask = gpu->idle_mask & ~(VIVS_HI_IDLE_STATE_FE | 1a910c11d35bfa Guido Günther 2020-03-02 1925 VIVS_HI_IDLE_STATE_MC); a8c21a5451d831 The etnaviv authors 2015-12-03 1926 idle = gpu_read(gpu, VIVS_HI_IDLE_STATE) & mask; 78f2bfa3181cd7 Guido Günther 2020-03-02 1927 if (idle != mask) { 78f2bfa3181cd7 Guido Günther 2020-03-02 1928 dev_warn_ratelimited(dev, "GPU not yet idle, mask: 0x%08x\n", 78f2bfa3181cd7 Guido Günther 2020-03-02 1929 idle); a8c21a5451d831 The etnaviv authors 2015-12-03 1930 return -EBUSY; 78f2bfa3181cd7 Guido Günther 2020-03-02 1931 } a8c21a5451d831 The etnaviv authors 2015-12-03 1932 7cb544946a138d Lucas Stach 2023-06-07 1933 etnaviv_gpu_hw_suspend(gpu); 7cb544946a138d Lucas Stach 2023-06-07 1934 647d817d807127 Lucas Stach 2023-06-07 1935 gpu->state = ETNA_GPU_STATE_IDENTIFIED; 647d817d807127 Lucas Stach 2023-06-07 1936 7cb544946a138d Lucas Stach 2023-06-07 1937 return etnaviv_gpu_clk_disable(gpu); a8c21a5451d831 The etnaviv authors 2015-12-03 1938 } a8c21a5451d831 The etnaviv authors 2015-12-03 1939 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EC4C0C4332F for ; Tue, 31 Oct 2023 08:51:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C45A10E11E; Tue, 31 Oct 2023 08:51:56 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3775E10E11E for ; Tue, 31 Oct 2023 08:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698742314; x=1730278314; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=0rcELH9wTkygIGf5Hlhr+4M1BwdozgJqHutiY4kxTbE=; b=HKVkQIuQUgczvrLG0j03/UIw1S+vd78c8dp8bQQZJ4N1/LrfoESBp1ry htrRKNOJZdNBIC/U3nNNuMLVkp7llOGgpZOV2p4Mj6RL5wyEWLohyjcCm bGvNsgmgz0cWHNt0LhAIKxMAovCrrHbKb+unUV3cXlxeCyiITndtVzwVo SxgrWG2YF86bQ56Uegh7NV8NV7zVfOnoGWH6oh3iKr7gk/nMRlu0Xp1pf 4Y/jwyF96UBrRU03So6m0LYVWdgyv5aqPNzvTIgjt8lk/2EwG6dTURFmN Ofj0FPAz3YWVNuDKnZ5vuTGJ6/6N8/XD0Ujf6icX3WOudolnWlwyC+RM/ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="368449900" X-IronPort-AV: E=Sophos;i="6.03,265,1694761200"; d="scan'208";a="368449900" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2023 01:51:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="789723342" X-IronPort-AV: E=Sophos;i="6.03,265,1694761200"; d="scan'208";a="789723342" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 31 Oct 2023 01:51:34 -0700 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qxkTE-000040-1B; Tue, 31 Oct 2023 08:51:32 +0000 Date: Tue, 31 Oct 2023 16:51:25 +0800 From: kernel test robot To: Danilo Krummrich , airlied@gmail.com, daniel@ffwll.ch, matthew.brost@intel.com, boris.brezillon@collabora.com, christian.koenig@amd.com, faith@gfxstrand.net, luben.tuikov@amd.com Subject: Re: [PATCH drm-misc-next v4] drm/sched: implement dynamic job-flow control Message-ID: <202310311632.RpEHvHMk-lkp@intel.com> References: <20231031002655.38707-1-dakr@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231031002655.38707-1-dakr@redhat.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Danilo Krummrich , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, oe-kbuild-all@lists.linux.dev Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Danilo, kernel test robot noticed the following build errors: [auto build test ERROR on b2139fb5051554a7f297e4ad584ef1bc26c76d5d] url: https://github.com/intel-lab-lkp/linux/commits/Danilo-Krummrich/drm-sched-implement-dynamic-job-flow-control/20231031-082915 base: b2139fb5051554a7f297e4ad584ef1bc26c76d5d patch link: https://lore.kernel.org/r/20231031002655.38707-1-dakr%40redhat.com patch subject: [PATCH drm-misc-next v4] drm/sched: implement dynamic job-flow control config: loongarch-randconfig-002-20231031 (https://download.01.org/0day-ci/archive/20231031/202310311632.RpEHvHMk-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310311632.RpEHvHMk-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/202310311632.RpEHvHMk-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/etnaviv/etnaviv_gpu.c: In function 'etnaviv_gpu_rpm_suspend': >> drivers/gpu/drm/etnaviv/etnaviv_gpu.c:1920:36: error: 'struct drm_gpu_scheduler' has no member named 'hw_rq_count' 1920 | if (atomic_read(&gpu->sched.hw_rq_count)) | ^ vim +1920 drivers/gpu/drm/etnaviv/etnaviv_gpu.c a8c21a5451d831 The etnaviv authors 2015-12-03 1913 a8c21a5451d831 The etnaviv authors 2015-12-03 1914 static int etnaviv_gpu_rpm_suspend(struct device *dev) a8c21a5451d831 The etnaviv authors 2015-12-03 1915 { a8c21a5451d831 The etnaviv authors 2015-12-03 1916 struct etnaviv_gpu *gpu = dev_get_drvdata(dev); a8c21a5451d831 The etnaviv authors 2015-12-03 1917 u32 idle, mask; a8c21a5451d831 The etnaviv authors 2015-12-03 1918 f4163814813fb3 Lucas Stach 2018-11-05 1919 /* If there are any jobs in the HW queue, we're not idle */ f4163814813fb3 Lucas Stach 2018-11-05 @1920 if (atomic_read(&gpu->sched.hw_rq_count)) a8c21a5451d831 The etnaviv authors 2015-12-03 1921 return -EBUSY; a8c21a5451d831 The etnaviv authors 2015-12-03 1922 1a910c11d35bfa Guido Günther 2020-03-02 1923 /* Check whether the hardware (except FE and MC) is idle */ 1a910c11d35bfa Guido Günther 2020-03-02 1924 mask = gpu->idle_mask & ~(VIVS_HI_IDLE_STATE_FE | 1a910c11d35bfa Guido Günther 2020-03-02 1925 VIVS_HI_IDLE_STATE_MC); a8c21a5451d831 The etnaviv authors 2015-12-03 1926 idle = gpu_read(gpu, VIVS_HI_IDLE_STATE) & mask; 78f2bfa3181cd7 Guido Günther 2020-03-02 1927 if (idle != mask) { 78f2bfa3181cd7 Guido Günther 2020-03-02 1928 dev_warn_ratelimited(dev, "GPU not yet idle, mask: 0x%08x\n", 78f2bfa3181cd7 Guido Günther 2020-03-02 1929 idle); a8c21a5451d831 The etnaviv authors 2015-12-03 1930 return -EBUSY; 78f2bfa3181cd7 Guido Günther 2020-03-02 1931 } a8c21a5451d831 The etnaviv authors 2015-12-03 1932 7cb544946a138d Lucas Stach 2023-06-07 1933 etnaviv_gpu_hw_suspend(gpu); 7cb544946a138d Lucas Stach 2023-06-07 1934 647d817d807127 Lucas Stach 2023-06-07 1935 gpu->state = ETNA_GPU_STATE_IDENTIFIED; 647d817d807127 Lucas Stach 2023-06-07 1936 7cb544946a138d Lucas Stach 2023-06-07 1937 return etnaviv_gpu_clk_disable(gpu); a8c21a5451d831 The etnaviv authors 2015-12-03 1938 } a8c21a5451d831 The etnaviv authors 2015-12-03 1939 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki