[Freedreno] [PATCH 2/8] drm/msm/dpu: update UBWC config for sm8150 and sm8250

kbuild test robot lkp at intel.com
Fri May 29 06:50:15 UTC 2020


Hi Jonathan,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.7-rc7 next-20200528]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Jonathan-Marek/Initial-SM8150-and-SM8250-DPU-bringup/20200526-112725
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9cb1fd0efd195590b828b9b865421ad345a4a145
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp at intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: In function 'dpu_encoder_virt_mode_set':
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:958:30: warning: variable 'topology' set but not used [-Wunused-but-set-variable]
958 |  struct msm_display_topology topology;
|                              ^~~~~~~~
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: In function '_dpu_encoder_virt_enable_helper':
>> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1074:18: warning: variable 'dpu_kms' set but not used [-Wunused-but-set-variable]
1074 |  struct dpu_kms *dpu_kms;
|                  ^~~~~~~

vim +/dpu_kms +1074 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c

25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1069  
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1070  static void _dpu_encoder_virt_enable_helper(struct drm_encoder *drm_enc)
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1071  {
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1072  	struct dpu_encoder_virt *dpu_enc = NULL;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1073  	struct msm_drm_private *priv;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 @1074  	struct dpu_kms *dpu_kms;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1075  
422ed75581176c Drew Davenport    2019-09-06  1076  	if (!drm_enc || !drm_enc->dev) {
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1077  		DPU_ERROR("invalid parameters\n");
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1078  		return;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1079  	}
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1080  
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1081  	priv = drm_enc->dev->dev_private;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1082  	dpu_kms = to_dpu_kms(priv->kms);
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1083  
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1084  	dpu_enc = to_dpu_encoder_virt(drm_enc);
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1085  	if (!dpu_enc || !dpu_enc->cur_master) {
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1086  		DPU_ERROR("invalid dpu encoder/master\n");
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1087  		return;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1088  	}
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1089  
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1090  	_dpu_encoder_update_vsync_source(dpu_enc, &dpu_enc->disp_info);
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1091  }
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27  1092  

:::::: The code at line 1074 was first introduced by commit
:::::: 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef drm/msm: Add SDM845 DPU support

:::::: TO: Jeykumar Sankaran <jsanka at codeaurora.org>
:::::: CC: Sean Paul <seanpaul at chromium.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 51919 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/freedreno/attachments/20200529/a53428e3/attachment-0001.gz>


More information about the Freedreno mailing list