Re: [PATCH] drm/i915: Force a TypeC PHY disconnect during suspend/shutdown

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

 



Hi Imre,

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 v5.13-rc6 next-20210615]
[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/Imre-Deak/drm-i915-Force-a-TypeC-PHY-disconnect-during-suspend-shutdown/20210616-122222
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-c002-20210615 (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/b62d5adf789d15429acc9eea1f705e542d2e32c0
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Imre-Deak/drm-i915-Force-a-TypeC-PHY-disconnect-during-suspend-shutdown/20210616-122222
        git checkout b62d5adf789d15429acc9eea1f705e542d2e32c0
        # save the attached .config to linux build tree
        make 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/intel_ddi.c:4514:6: error: no previous prototype for 'intel_ddi_encoder_shutdown' [-Werror=missing-prototypes]
    4514 | void intel_ddi_encoder_shutdown(struct intel_encoder *encoder)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/intel_ddi_encoder_shutdown +4514 drivers/gpu/drm/i915/display/intel_ddi.c

  4513	
> 4514	void intel_ddi_encoder_shutdown(struct intel_encoder *encoder)
  4515	{
  4516		struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
  4517		struct drm_i915_private *i915 = dp_to_i915(intel_dp);
  4518		struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp);
  4519		enum phy phy = intel_port_to_phy(i915, encoder->port);
  4520	
  4521		intel_dp_encoder_shutdown(encoder);
  4522	
  4523		if (!intel_phy_is_tc(i915, phy))
  4524			return;
  4525	
  4526		intel_tc_port_disconnect_phy(dig_port);
  4527	}
  4528	

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux