Hi Alexander,

kernel test robot noticed the following build errors:

[auto build test ERROR on 11439c4635edd669ae435eec308f4ab8a0804808]

url:    
https://github.com/intel-lab-lkp/linux/commits/Alexander-Koskovich/dt-bindings-display-panel-Document-Tianma-TA066VVHM03/20260308-140525
base:   11439c4635edd669ae435eec308f4ab8a0804808
patch link:    
https://lore.kernel.org/r/20260308-tianma-ta066vvhm03-v1-2-869fac443b20%40pm.me
patch subject: [PATCH 2/2] drm/panel: Add support for Tianma TA066VVHM03 panel
config: alpha-allyesconfig 
(https://download.01.org/0day-ci/archive/20260308/[email protected]/config)
compiler: alpha-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260308/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/panel/panel-tianma-ta066vvhm03.c: In function 
'tianma_ta066vvhm03_probe':
>> drivers/gpu/drm/panel/panel-tianma-ta066vvhm03.c:335:12: error: 'struct 
>> mipi_dsi_device' has no member named 'dsc_slice_per_pkt'
     335 |         dsi->dsc_slice_per_pkt = 2;
         |            ^~


vim +335 drivers/gpu/drm/panel/panel-tianma-ta066vvhm03.c

   286  
   287  static int tianma_ta066vvhm03_probe(struct mipi_dsi_device *dsi)
   288  {
   289          struct device *dev = &dsi->dev;
   290          struct tianma_ta066vvhm03 *ctx;
   291          int ret;
   292  
   293          ctx = devm_drm_panel_alloc(dev, struct tianma_ta066vvhm03, 
panel,
   294                                     &tianma_ta066vvhm03_panel_funcs,
   295                                     DRM_MODE_CONNECTOR_DSI);
   296          if (IS_ERR(ctx))
   297                  return PTR_ERR(ctx);
   298  
   299          ret = devm_regulator_bulk_get_const(dev,
   300                                              
ARRAY_SIZE(tianma_ta066vvhm03_supplies),
   301                                              tianma_ta066vvhm03_supplies,
   302                                              &ctx->supplies);
   303          if (ret < 0)
   304                  return ret;
   305  
   306          ctx->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW);
   307          if (IS_ERR(ctx->enable_gpio))
   308                  return dev_err_probe(dev, PTR_ERR(ctx->enable_gpio),
   309                                       "Failed to get enable-gpios\n");
   310  
   311          ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
   312          if (IS_ERR(ctx->reset_gpio))
   313                  return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio),
   314                                       "Failed to get reset-gpios\n");
   315  
   316          ctx->dsi = dsi;
   317          mipi_dsi_set_drvdata(dsi, ctx);
   318  
   319          dsi->lanes = 4;
   320          dsi->format = MIPI_DSI_FMT_RGB888;
   321          dsi->mode_flags = MIPI_DSI_MODE_NO_EOT_PACKET |
   322                            MIPI_DSI_CLOCK_NON_CONTINUOUS;
   323  
   324          ctx->panel.prepare_prev_first = true;
   325  
   326          ctx->panel.backlight = tianma_ta066vvhm03_create_backlight(dsi);
   327          if (IS_ERR(ctx->panel.backlight))
   328                  return dev_err_probe(dev, PTR_ERR(ctx->panel.backlight),
   329                                       "Failed to create backlight\n");
   330  
   331          drm_panel_add(&ctx->panel);
   332  
   333          /* This panel only supports DSC; unconditionally enable it */
   334          dsi->dsc = &ctx->dsc;
 > 335          dsi->dsc_slice_per_pkt = 2;
   336  
   337          ctx->dsc.dsc_version_major = 1;
   338          ctx->dsc.dsc_version_minor = 1;
   339  
   340          ctx->dsc.slice_height = 20;
   341          ctx->dsc.slice_width = 540;
   342          WARN_ON(1080 % ctx->dsc.slice_width);
   343          ctx->dsc.slice_count = 1080 / ctx->dsc.slice_width;
   344          ctx->dsc.bits_per_component = 10;
   345          ctx->dsc.bits_per_pixel = 8 << 4; /* 4 fractional bits */
   346          ctx->dsc.block_pred_enable = true;
   347  
   348          ret = mipi_dsi_attach(dsi);
   349          if (ret < 0) {
   350                  drm_panel_remove(&ctx->panel);
   351                  return dev_err_probe(dev, ret, "Failed to attach to DSI 
host\n");
   352          }
   353  
   354          return 0;
   355  }
   356  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to