Re: [PATCH v5 3/4] drm/i915: init panel orientation property

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

 



Hi Hsin-Yi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master v5.12 next-20210428]
[cannot apply to drm/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Hsin-Yi-Wang/gpu-drm-separate-panel-orientation-property-creating-and-value-setting/20210429-010748
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/c44e5201c88aadd48cd7f9b257d6df3e0c9765c7
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Hsin-Yi-Wang/gpu-drm-separate-panel-orientation-property-creating-and-value-setting/20210429-010748
        git checkout c44e5201c88aadd48cd7f9b257d6df3e0c9765c7
        # save the attached .config to linux build tree
        make W=1 W=1 ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/display/icl_dsi.c: In function 'icl_dsi_add_properties':
>> drivers/gpu/drm/i915/display/icl_dsi.c:1906:2: error: too few arguments to function 'drm_connector_attach_scaling_mode_property'
    1906 |  drm_connector_attach_scaling_mode_property(&connector->base);
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/drm/drm_modes.h:33,
                    from include/drm/drm_crtc.h:40,
                    from include/drm/drm_atomic_helper.h:31,
                    from drivers/gpu/drm/i915/display/icl_dsi.c:28:
   include/drm/drm_connector.h:1670:5: note: declared here
    1670 | int drm_connector_attach_scaling_mode_property(struct drm_connector *connector,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/drm_connector_attach_scaling_mode_property +1906 drivers/gpu/drm/i915/display/icl_dsi.c

  1892	
  1893	static void icl_dsi_add_properties(struct intel_connector *connector)
  1894	{
  1895		u32 allowed_scalers;
  1896	
  1897		allowed_scalers = BIT(DRM_MODE_SCALE_ASPECT) |
  1898				   BIT(DRM_MODE_SCALE_FULLSCREEN) |
  1899				   BIT(DRM_MODE_SCALE_CENTER);
  1900	
  1901		drm_connector_attach_scaling_mode_property(&connector->base,
  1902							   allowed_scalers);
  1903	
  1904		connector->base.state->scaling_mode = DRM_MODE_SCALE_ASPECT;
  1905	
> 1906		drm_connector_attach_scaling_mode_property(&connector->base);
  1907		drm_connector_set_panel_orientation_with_quirk(&connector->base,
  1908					intel_dsi_get_panel_orientation(connector),
  1909					connector->panel.fixed_mode->hdisplay,
  1910					connector->panel.fixed_mode->vdisplay);
  1911	}
  1912	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux