[Intel-gfx] [PATCH 2/2] drm/i915: Set invert bit for hpd based on VBT

kbuild test robot lkp at intel.com
Fri Mar 11 13:20:19 UTC 2016


Hi Shubhangi,

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

url:    https://github.com/0day-ci/linux/commits/Shubhangi-Shrivastava/drm-i915-Update-VBT-fields-for-child-devices/20160311-205215
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/i915_irq.c:34:0:
   drivers/gpu/drm/i915/i915_irq.c: In function 'bxt_hpd_irq_setup':
>> drivers/gpu/drm/i915/i915_irq.c:3509:27: error: 'val' undeclared (first use in this function)
       hotplug, enabled_irqs, val);
                              ^
   include/drm/drmP.h:212:41: note: in definition of macro 'DRM_DEBUG_KMS'
       drm_ut_debug_printk(__func__, fmt, ##args); \
                                            ^
   drivers/gpu/drm/i915/i915_irq.c:3509:27: note: each undeclared identifier is reported only once for each function it appears in
       hotplug, enabled_irqs, val);
                              ^
   include/drm/drmP.h:212:41: note: in definition of macro 'DRM_DEBUG_KMS'
       drm_ut_debug_printk(__func__, fmt, ##args); \
                                            ^

vim +/val +3509 drivers/gpu/drm/i915/i915_irq.c

  3503	
  3504		hotplug = I915_READ(PCH_PORT_HOTPLUG);
  3505		hotplug |= PORTC_HOTPLUG_ENABLE | PORTB_HOTPLUG_ENABLE |
  3506			PORTA_HOTPLUG_ENABLE;
  3507	
  3508		DRM_DEBUG_KMS("Invert bit setting: hp_ctl:%x hp_port:%x val:%x\n",
> 3509				hotplug, enabled_irqs, val);
  3510		hotplug &= ~BXT_DDI_HPD_INVERT_MASK;
  3511	
  3512		/*

---
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/octet-stream
Size: 53129 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160311/6ec550a1/attachment-0001.obj>


More information about the Intel-gfx mailing list