[linux-next:master 10340/10967] drivers/gpu/drm/panel/panel-lg-sw43408.c:106:undefined reference to `drm_dsc_pps_payload_pack'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9221b2819b8a4196eecf5476d66201be60fbcf29
commit: 7fe302ae198a35ac071d3a9e78ebd8e14b0958eb [10340/10967] Revert "drm: Switch DRM_DISPLAY_DP_HELPER to depends on"
config: i386-randconfig-012-20240506 (https://download.01.org/0day-ci/archive/20240506/202405061441.2d9bfNRP-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240506/202405061441.2d9bfNRP-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405061441.2d9bfNRP-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   ld: drivers/gpu/drm/panel/panel-lg-sw43408.o: in function `sw43408_program':
>> drivers/gpu/drm/panel/panel-lg-sw43408.c:106:(.text+0x35c): undefined reference to `drm_dsc_pps_payload_pack'


vim +106 drivers/gpu/drm/panel/panel-lg-sw43408.c

069a6c0e94f994 Sumit Semwal 2024-04-08   60  
069a6c0e94f994 Sumit Semwal 2024-04-08   61  static int sw43408_program(struct drm_panel *panel)
069a6c0e94f994 Sumit Semwal 2024-04-08   62  {
069a6c0e94f994 Sumit Semwal 2024-04-08   63  	struct sw43408_panel *ctx = to_panel_info(panel);
069a6c0e94f994 Sumit Semwal 2024-04-08   64  	struct drm_dsc_picture_parameter_set pps;
069a6c0e94f994 Sumit Semwal 2024-04-08   65  
069a6c0e94f994 Sumit Semwal 2024-04-08   66  	mipi_dsi_dcs_write_seq(ctx->link, MIPI_DCS_SET_GAMMA_CURVE, 0x02);
069a6c0e94f994 Sumit Semwal 2024-04-08   67  
069a6c0e94f994 Sumit Semwal 2024-04-08   68  	mipi_dsi_dcs_set_tear_on(ctx->link, MIPI_DSI_DCS_TEAR_MODE_VBLANK);
069a6c0e94f994 Sumit Semwal 2024-04-08   69  
069a6c0e94f994 Sumit Semwal 2024-04-08   70  	mipi_dsi_dcs_write_seq(ctx->link, 0x53, 0x0c, 0x30);
069a6c0e94f994 Sumit Semwal 2024-04-08   71  	mipi_dsi_dcs_write_seq(ctx->link, 0x55, 0x00, 0x70, 0xdf, 0x00, 0x70, 0xdf);
069a6c0e94f994 Sumit Semwal 2024-04-08   72  	mipi_dsi_dcs_write_seq(ctx->link, 0xf7, 0x01, 0x49, 0x0c);
069a6c0e94f994 Sumit Semwal 2024-04-08   73  
069a6c0e94f994 Sumit Semwal 2024-04-08   74  	mipi_dsi_dcs_exit_sleep_mode(ctx->link);
069a6c0e94f994 Sumit Semwal 2024-04-08   75  
069a6c0e94f994 Sumit Semwal 2024-04-08   76  	msleep(135);
069a6c0e94f994 Sumit Semwal 2024-04-08   77  
069a6c0e94f994 Sumit Semwal 2024-04-08   78  	/* COMPRESSION_MODE moved after setting the PPS */
069a6c0e94f994 Sumit Semwal 2024-04-08   79  
069a6c0e94f994 Sumit Semwal 2024-04-08   80  	mipi_dsi_dcs_write_seq(ctx->link, 0xb0, 0xac);
069a6c0e94f994 Sumit Semwal 2024-04-08   81  	mipi_dsi_dcs_write_seq(ctx->link, 0xe5,
069a6c0e94f994 Sumit Semwal 2024-04-08   82  			       0x00, 0x3a, 0x00, 0x3a, 0x00, 0x0e, 0x10);
069a6c0e94f994 Sumit Semwal 2024-04-08   83  	mipi_dsi_dcs_write_seq(ctx->link, 0xb5,
069a6c0e94f994 Sumit Semwal 2024-04-08   84  			       0x75, 0x60, 0x2d, 0x5d, 0x80, 0x00, 0x0a, 0x0b,
069a6c0e94f994 Sumit Semwal 2024-04-08   85  			       0x00, 0x05, 0x0b, 0x00, 0x80, 0x0d, 0x0e, 0x40,
069a6c0e94f994 Sumit Semwal 2024-04-08   86  			       0x00, 0x0c, 0x00, 0x16, 0x00, 0xb8, 0x00, 0x80,
069a6c0e94f994 Sumit Semwal 2024-04-08   87  			       0x0d, 0x0e, 0x40, 0x00, 0x0c, 0x00, 0x16, 0x00,
069a6c0e94f994 Sumit Semwal 2024-04-08   88  			       0xb8, 0x00, 0x81, 0x00, 0x03, 0x03, 0x03, 0x01,
069a6c0e94f994 Sumit Semwal 2024-04-08   89  			       0x01);
069a6c0e94f994 Sumit Semwal 2024-04-08   90  	msleep(85);
069a6c0e94f994 Sumit Semwal 2024-04-08   91  	mipi_dsi_dcs_write_seq(ctx->link, 0xcd,
069a6c0e94f994 Sumit Semwal 2024-04-08   92  			       0x00, 0x00, 0x00, 0x19, 0x19, 0x19, 0x19, 0x19,
069a6c0e94f994 Sumit Semwal 2024-04-08   93  			       0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19,
069a6c0e94f994 Sumit Semwal 2024-04-08   94  			       0x16, 0x16);
069a6c0e94f994 Sumit Semwal 2024-04-08   95  	mipi_dsi_dcs_write_seq(ctx->link, 0xcb, 0x80, 0x5c, 0x07, 0x03, 0x28);
069a6c0e94f994 Sumit Semwal 2024-04-08   96  	mipi_dsi_dcs_write_seq(ctx->link, 0xc0, 0x02, 0x02, 0x0f);
069a6c0e94f994 Sumit Semwal 2024-04-08   97  	mipi_dsi_dcs_write_seq(ctx->link, 0x55, 0x04, 0x61, 0xdb, 0x04, 0x70, 0xdb);
069a6c0e94f994 Sumit Semwal 2024-04-08   98  	mipi_dsi_dcs_write_seq(ctx->link, 0xb0, 0xca);
069a6c0e94f994 Sumit Semwal 2024-04-08   99  
069a6c0e94f994 Sumit Semwal 2024-04-08  100  	mipi_dsi_dcs_set_display_on(ctx->link);
069a6c0e94f994 Sumit Semwal 2024-04-08  101  
069a6c0e94f994 Sumit Semwal 2024-04-08  102  	msleep(50);
069a6c0e94f994 Sumit Semwal 2024-04-08  103  
069a6c0e94f994 Sumit Semwal 2024-04-08  104  	ctx->link->mode_flags &= ~MIPI_DSI_MODE_LPM;
069a6c0e94f994 Sumit Semwal 2024-04-08  105  
069a6c0e94f994 Sumit Semwal 2024-04-08 @106  	drm_dsc_pps_payload_pack(&pps, ctx->link->dsc);
069a6c0e94f994 Sumit Semwal 2024-04-08  107  	mipi_dsi_picture_parameter_set(ctx->link, &pps);
069a6c0e94f994 Sumit Semwal 2024-04-08  108  
069a6c0e94f994 Sumit Semwal 2024-04-08  109  	ctx->link->mode_flags |= MIPI_DSI_MODE_LPM;
069a6c0e94f994 Sumit Semwal 2024-04-08  110  
069a6c0e94f994 Sumit Semwal 2024-04-08  111  	/*
069a6c0e94f994 Sumit Semwal 2024-04-08  112  	 * This panel uses PPS selectors with offset:
069a6c0e94f994 Sumit Semwal 2024-04-08  113  	 * PPS 1 if pps_identifier is 0
069a6c0e94f994 Sumit Semwal 2024-04-08  114  	 * PPS 2 if pps_identifier is 1
069a6c0e94f994 Sumit Semwal 2024-04-08  115  	 */
069a6c0e94f994 Sumit Semwal 2024-04-08  116  	mipi_dsi_compression_mode_ext(ctx->link, true,
069a6c0e94f994 Sumit Semwal 2024-04-08  117  				      MIPI_DSI_COMPRESSION_DSC, 1);
069a6c0e94f994 Sumit Semwal 2024-04-08  118  
069a6c0e94f994 Sumit Semwal 2024-04-08  119  	return 0;
069a6c0e94f994 Sumit Semwal 2024-04-08  120  }
069a6c0e94f994 Sumit Semwal 2024-04-08  121  

:::::: The code at line 106 was first introduced by commit
:::::: 069a6c0e94f99437652dbb7229a56233c7d39968 drm: panel: Add LG sw43408 panel driver

:::::: TO: Sumit Semwal <sumit.semwal@xxxxxxxxxx>
:::::: CC: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux