[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202408161951.81zgvcJ5-lkp@intel.com>
Date: Fri, 16 Aug 2024 20:23:36 +0800
From: kernel test robot <lkp@...el.com>
To: Antonino Maniscalco <antomani103@...il.com>,
Rob Clark <robdclark@...il.com>, Sean Paul <sean@...rly.run>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Abhinav Kumar <quic_abhinavk@...cinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Marijn Suijten <marijn.suijten@...ainline.org>,
David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>
Cc: oe-kbuild-all@...ts.linux.dev, linux-arm-msm@...r.kernel.org,
dri-devel@...ts.freedesktop.org, freedreno@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
Antonino Maniscalco <antomani103@...il.com>,
Sharat Masetty <smasetty@...eaurora.org>
Subject: Re: [PATCH 4/7] drm/msm/A6xx: Implement preemption for A7XX targets
Hi Antonino,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 7c626ce4bae1ac14f60076d00eafe71af30450ba]
url: https://github.com/intel-lab-lkp/linux/commits/Antonino-Maniscalco/drm-msm-Fix-bv_fence-being-used-as-bv_rptr/20240816-023442
base: 7c626ce4bae1ac14f60076d00eafe71af30450ba
patch link: https://lore.kernel.org/r/20240815-preemption-a750-t-v1-4-7bda26c34037%40gmail.com
patch subject: [PATCH 4/7] drm/msm/A6xx: Implement preemption for A7XX targets
config: i386-buildonly-randconfig-001-20240816 (https://download.01.org/0day-ci/archive/20240816/202408161951.81zgvcJ5-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240816/202408161951.81zgvcJ5-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/202408161951.81zgvcJ5-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/msm/adreno/a6xx_preempt.c: In function 'update_wptr':
>> drivers/gpu/drm/msm/adreno/a6xx_preempt.c:49:24: warning: unused variable 'cur_wptr' [-Wunused-variable]
49 | uint32_t wptr, cur_wptr;
| ^~~~~~~~
vim +/cur_wptr +49 drivers/gpu/drm/msm/adreno/a6xx_preempt.c
44
45 /* Write the most recent wptr for the given ring into the hardware */
46 static inline void update_wptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring)
47 {
48 unsigned long flags;
> 49 uint32_t wptr, cur_wptr;
50
51 if (!ring)
52 return;
53
54 spin_lock_irqsave(&ring->preempt_lock, flags);
55
56 if (ring->skip_inline_wptr) {
57 wptr = get_wptr(ring);
58
59 gpu_write(gpu, REG_A6XX_CP_RB_WPTR, wptr);
60
61 ring->skip_inline_wptr = false;
62 }
63
64 spin_unlock_irqrestore(&ring->preempt_lock, flags);
65 }
66
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists