[PATCH] drm/nouveau: Support reclocking on gp10b
kernel test robot
lkp at intel.com
Sat Aug 23 12:28:18 UTC 2025
Hi Aaron,
kernel test robot noticed the following build warnings:
[auto build test WARNING on c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9]
url: https://github.com/intel-lab-lkp/linux/commits/Aaron-Kling-via-B4-Relay/drm-nouveau-Support-reclocking-on-gp10b/20250823-090132
base: c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
patch link: https://lore.kernel.org/r/20250822-gp10b-reclock-v1-1-5b03eaf3735a%40gmail.com
patch subject: [PATCH] drm/nouveau: Support reclocking on gp10b
config: x86_64-buildonly-randconfig-005-20250823 (https://download.01.org/0day-ci/archive/20250823/202508232014.eQOclzLG-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/202508232014.eQOclzLG-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508232014.eQOclzLG-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c:30:1: warning: no previous prototype for 'gp10b_clk_read' [-Wmissing-prototypes]
30 | gp10b_clk_read(struct nvkm_clk *base, enum nv_clk_src src)
| ^~~~~~~~~~~~~~
vim +/gp10b_clk_read +30 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
28
29 int
> 30 gp10b_clk_read(struct nvkm_clk *base, enum nv_clk_src src)
31 {
32 struct gp10b_clk *clk = gp10b_clk(base);
33 struct nvkm_subdev *subdev = &clk->base.subdev;
34
35 switch (src) {
36 case nv_clk_src_gpc:
37 return clk_get_rate(clk->clk) / GK20A_CLK_GPC_MDIV;
38 default:
39 nvkm_error(subdev, "invalid clock source %d\n", src);
40 return -EINVAL;
41 }
42 }
43
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Nouveau
mailing list