All of lore.kernel.org
 help / color / mirror / Atom feed
* [drm-msm:msm-next-staging 30/33] drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:106:19: warning: initialized field overwritten
@ 2020-07-12 10:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-12 10:28 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2387 bytes --]

tree:   https://gitlab.freedesktop.org/drm/msm.git msm-next-staging
head:   bb69fca40aad210eaee642db2eb8fcf0b5c8b3cb
commit: 08db51fb4283304468cec04757e726667fb39915 [30/33] drm/msm/dpu: add SM8150 to hw catalog
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-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
        git checkout 08db51fb4283304468cec04757e726667fb39915
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:106:19: warning: initialized field overwritten [-Woverride-init]
     106 |  .max_linewidth = 4096,
         |                   ^~~~
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:106:19: note: (near initialization for 'sm8150_dpu_caps.max_linewidth')
   In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:11:
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h:7:23: warning: 'qcom_compressed_supported_formats' defined but not used [-Wunused-const-variable=]
       7 | static const uint32_t qcom_compressed_supported_formats[] = {
         |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +106 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

    94	
    95	static const struct dpu_caps sm8150_dpu_caps = {
    96		.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
    97		.max_mixer_blendstages = 0xb,
    98		.max_linewidth = 4096,
    99		.qseed_type = DPU_SSPP_SCALER_QSEED3,
   100		.smart_dma_rev = DPU_SSPP_SMART_DMA_V2, /* TODO: v2.5 */
   101		.ubwc_version = DPU_HW_UBWC_VER_30,
   102		.has_src_split = true,
   103		.has_dim_layer = true,
   104		.has_idle_pc = true,
   105		.has_3d_merge = true,
 > 106		.max_linewidth = 4096,
   107		.pixel_ram_size = DEFAULT_PIXEL_RAM_SIZE,
   108		.max_hdeci_exp = MAX_HORZ_DECIMATION,
   109		.max_vdeci_exp = MAX_VERT_DECIMATION,
   110	};
   111	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73522 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-12 10:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 10:28 [drm-msm:msm-next-staging 30/33] drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:106:19: warning: initialized field overwritten kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.