[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202310311632.RpEHvHMk-lkp@intel.com>
Date: Tue, 31 Oct 2023 16:51:25 +0800
From: kernel test robot <lkp@...el.com>
To: Danilo Krummrich <dakr@...hat.com>, airlied@...il.com,
daniel@...ll.ch, matthew.brost@...el.com,
boris.brezillon@...labora.com, christian.koenig@....com,
faith@...strand.net, luben.tuikov@....com
Cc: oe-kbuild-all@...ts.linux.dev, Danilo Krummrich <dakr@...hat.com>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH drm-misc-next v4] drm/sched: implement dynamic job-flow
control
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 <lkp@...el.com>
| 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
Powered by blists - more mailing lists