[Intel-gfx] [CI 2/3] drm/i915/icl: Support for TC North Display interrupts

kbuild test robot lkp at intel.com
Sat Jun 16 01:51:38 UTC 2018


Hi Dhinakaran,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20180615]
[cannot apply to v4.17]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Paulo-Zanoni/drm-i915-icl-GSE-interrupt-moves-from-DE_MISC-to-GU_MISC/20180616-080834
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-x009-201823 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/i915_drv.h:56:0,
                    from drivers/gpu/drm/i915/i915_irq.c:36:
   drivers/gpu/drm/i915/i915_irq.c: In function 'gen11_port_hotplug_long_detect':
>> drivers/gpu/drm/i915/i915_irq.c:1563:46: error: 'PORT_TC1' undeclared (first use in this function); did you mean 'PORT_C'?
      return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC1);
                                                 ^
   drivers/gpu/drm/i915/i915_reg.h:7050:57: note: in definition of macro 'GEN11_HOTPLUG_CTL_LONG_DETECT'
    #define  GEN11_HOTPLUG_CTL_LONG_DETECT(tc_port)  (2 << (tc_port) * 4)
                                                            ^~~~~~~
   drivers/gpu/drm/i915/i915_irq.c:1563:46: note: each undeclared identifier is reported only once for each function it appears in
      return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC1);
                                                 ^
   drivers/gpu/drm/i915/i915_reg.h:7050:57: note: in definition of macro 'GEN11_HOTPLUG_CTL_LONG_DETECT'
    #define  GEN11_HOTPLUG_CTL_LONG_DETECT(tc_port)  (2 << (tc_port) * 4)
                                                            ^~~~~~~
>> drivers/gpu/drm/i915/i915_irq.c:1565:46: error: 'PORT_TC2' undeclared (first use in this function); did you mean 'PORT_TC1'?
      return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC2);
                                                 ^
   drivers/gpu/drm/i915/i915_reg.h:7050:57: note: in definition of macro 'GEN11_HOTPLUG_CTL_LONG_DETECT'
    #define  GEN11_HOTPLUG_CTL_LONG_DETECT(tc_port)  (2 << (tc_port) * 4)
                                                            ^~~~~~~
>> drivers/gpu/drm/i915/i915_irq.c:1567:46: error: 'PORT_TC3' undeclared (first use in this function); did you mean 'PORT_TC2'?
      return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC3);
                                                 ^
   drivers/gpu/drm/i915/i915_reg.h:7050:57: note: in definition of macro 'GEN11_HOTPLUG_CTL_LONG_DETECT'
    #define  GEN11_HOTPLUG_CTL_LONG_DETECT(tc_port)  (2 << (tc_port) * 4)
                                                            ^~~~~~~
>> drivers/gpu/drm/i915/i915_irq.c:1569:46: error: 'PORT_TC4' undeclared (first use in this function); did you mean 'PORT_TC3'?
      return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC4);
                                                 ^
   drivers/gpu/drm/i915/i915_reg.h:7050:57: note: in definition of macro 'GEN11_HOTPLUG_CTL_LONG_DETECT'
    #define  GEN11_HOTPLUG_CTL_LONG_DETECT(tc_port)  (2 << (tc_port) * 4)
                                                            ^~~~~~~
   drivers/gpu/drm/i915/i915_irq.c: In function 'gen11_hpd_detection_setup':
   drivers/gpu/drm/i915/i915_irq.c:3681:38: error: 'PORT_TC1' undeclared (first use in this function); did you mean 'PORT_C'?
     hotplug |= GEN11_HOTPLUG_CTL_ENABLE(PORT_TC1) |
                                         ^
   drivers/gpu/drm/i915/i915_reg.h:7049:52: note: in definition of macro 'GEN11_HOTPLUG_CTL_ENABLE'
    #define  GEN11_HOTPLUG_CTL_ENABLE(tc_port)  (8 << (tc_port) * 4)
                                                       ^~~~~~~
   drivers/gpu/drm/i915/i915_irq.c:3682:31: error: 'PORT_TC2' undeclared (first use in this function); did you mean 'PORT_TC1'?
         GEN11_HOTPLUG_CTL_ENABLE(PORT_TC2) |
                                  ^
   drivers/gpu/drm/i915/i915_reg.h:7049:52: note: in definition of macro 'GEN11_HOTPLUG_CTL_ENABLE'
    #define  GEN11_HOTPLUG_CTL_ENABLE(tc_port)  (8 << (tc_port) * 4)
                                                       ^~~~~~~
   drivers/gpu/drm/i915/i915_irq.c:3683:31: error: 'PORT_TC3' undeclared (first use in this function); did you mean 'PORT_TC2'?
         GEN11_HOTPLUG_CTL_ENABLE(PORT_TC3) |
                                  ^
   drivers/gpu/drm/i915/i915_reg.h:7049:52: note: in definition of macro 'GEN11_HOTPLUG_CTL_ENABLE'
    #define  GEN11_HOTPLUG_CTL_ENABLE(tc_port)  (8 << (tc_port) * 4)
                                                       ^~~~~~~
   drivers/gpu/drm/i915/i915_irq.c:3684:31: error: 'PORT_TC4' undeclared (first use in this function); did you mean 'PORT_TC3'?
         GEN11_HOTPLUG_CTL_ENABLE(PORT_TC4);
                                  ^
   drivers/gpu/drm/i915/i915_reg.h:7049:52: note: in definition of macro 'GEN11_HOTPLUG_CTL_ENABLE'
    #define  GEN11_HOTPLUG_CTL_ENABLE(tc_port)  (8 << (tc_port) * 4)
                                                       ^~~~~~~

vim +1563 drivers/gpu/drm/i915/i915_irq.c

  1558	
  1559	static bool gen11_port_hotplug_long_detect(enum port port, u32 val)
  1560	{
  1561		switch (port) {
  1562		case PORT_C:
> 1563			return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC1);
  1564		case PORT_D:
> 1565			return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC2);
  1566		case PORT_E:
> 1567			return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC3);
  1568		case PORT_F:
> 1569			return val & GEN11_HOTPLUG_CTL_LONG_DETECT(PORT_TC4);
  1570		default:
  1571			return false;
  1572		}
  1573	}
  1574	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 32138 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20180616/46a0a0a5/attachment-0001.gz>


More information about the Intel-gfx mailing list