[Freedreno] [PATCH] drm/msm: Fix A6XX support for opp-level

kbuild test robot lkp at intel.com
Sun Jan 13 21:05:26 UTC 2019


Hi Douglas,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on robclark/msm-next]
[also build test ERROR on v5.0-rc1 next-20190111]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Douglas-Anderson/drm-msm-Fix-A6XX-support-for-opp-level/20190114-004951
base:   git://people.freedesktop.org/~robclark/linux msm-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/msm/adreno/a6xx_gmu.c: In function 'a6xx_gmu_get_arc_level':
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:964:8: error: implicit declaration of function 'dev_pm_opp_get_level'; did you mean 'dev_pm_opp_get_freq'? [-Werror=implicit-function-declaration]
     val = dev_pm_opp_get_level(opp);
           ^~~~~~~~~~~~~~~~~~~~
           dev_pm_opp_get_freq
   cc1: some warnings being treated as errors

vim +964 drivers/gpu/drm/msm/adreno/a6xx_gmu.c

   949	
   950	/* Return the 'arc-level' for the given frequency */
   951	static unsigned int a6xx_gmu_get_arc_level(struct device *dev,
   952						   unsigned long freq)
   953	{
   954		struct dev_pm_opp *opp;
   955		unsigned int val;
   956	
   957		if (!freq)
   958			return 0;
   959	
   960		opp = dev_pm_opp_find_freq_exact(dev, freq, true);
   961		if (IS_ERR(opp))
   962			return 0;
   963	
 > 964		val = dev_pm_opp_get_level(opp);
   965	
   966		dev_pm_opp_put(opp);
   967	
   968		return val;
   969	}
   970	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 44893 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/freedreno/attachments/20190114/65d4c94b/attachment-0001.gz>


More information about the Freedreno mailing list