[Freedreno] [kbuild] Re: [PATCH 7/8] drm/msm/dpu: add SM8150 to hw catalog

Dan Carpenter dan.carpenter at oracle.com
Wed May 27 11:09:43 UTC 2020


Hi Jonathan,

Thank you for the patch! Perhaps something to improve:

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: arm64-randconfig-s031-20200527 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-240-gf0fe1cd9-dirty
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=arm64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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

sparse warnings: (new ones prefixed by >>)

   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:98:26: sparse: sparse: undefined identifier 'DPU_SSPP_SMART_DMA_V2_5'
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:96:10: sparse: sparse: Initializer entry defined twice
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:104:10: sparse:   also defined here

# https://github.com/0day-ci/linux/commit/6a90302321af832ea18679e1b29b0301caade709
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 6a90302321af832ea18679e1b29b0301caade709
vim +104 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

7bdc0c4b812602f Kalyan Thota   2019-11-25   92  
6a90302321af832 Jonathan Marek 2020-05-25   93  static const struct dpu_caps sm8150_dpu_caps = {
6a90302321af832 Jonathan Marek 2020-05-25   94  	.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
6a90302321af832 Jonathan Marek 2020-05-25   95  	.max_mixer_blendstages = 0xb,
6a90302321af832 Jonathan Marek 2020-05-25   96  	.max_linewidth = 4096,
                                                        ^^^^^^^^^^^^^^^^^^^^^^

6a90302321af832 Jonathan Marek 2020-05-25   97  	.qseed_type = DPU_SSPP_SCALER_QSEED3,
6a90302321af832 Jonathan Marek 2020-05-25   98  	.smart_dma_rev = DPU_SSPP_SMART_DMA_V2_5,
6a90302321af832 Jonathan Marek 2020-05-25   99  	.ubwc_version = DPU_HW_UBWC_VER_30,
6a90302321af832 Jonathan Marek 2020-05-25  100  	.has_src_split = true,
6a90302321af832 Jonathan Marek 2020-05-25  101  	.has_dim_layer = true,
6a90302321af832 Jonathan Marek 2020-05-25  102  	.has_idle_pc = true,
6a90302321af832 Jonathan Marek 2020-05-25  103  	.has_3d_merge = true,
6a90302321af832 Jonathan Marek 2020-05-25 @104  	.max_linewidth = 4096,
                                                        ^^^^^^^^^^^^^^^^^^^^^^
Delete duplicate code.

6a90302321af832 Jonathan Marek 2020-05-25  105  	.pixel_ram_size = DEFAULT_PIXEL_RAM_SIZE,
6a90302321af832 Jonathan Marek 2020-05-25  106  	.max_hdeci_exp = MAX_HORZ_DECIMATION,
6a90302321af832 Jonathan Marek 2020-05-25  107  	.max_vdeci_exp = MAX_VERT_DECIMATION,
6a90302321af832 Jonathan Marek 2020-05-25  108  };

---
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: 43583 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/freedreno/attachments/20200527/535f1f7f/attachment-0001.gz>
-------------- next part --------------
_______________________________________________
kbuild mailing list -- kbuild at lists.01.org
To unsubscribe send an email to kbuild-leave at lists.01.org


More information about the Freedreno mailing list