[Intel-gfx] [PATCH] drm/i915: Force a TypeC PHY disconnect during suspend/shutdown

kernel test robot lkp at intel.com
Wed Jun 16 09:09:24 UTC 2021


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 at intel.com>

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@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 37360 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210616/066361f1/attachment-0001.gz>


More information about the Intel-gfx mailing list