[Intel-gfx] [PATCH] drm/i915/cnl: Wa to ignore VBT alternate pin on B-stepping.

kbuild test robot lkp at intel.com
Fri Apr 7 18:56:32 UTC 2017


Hi Rodrigo,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.11-rc5 next-20170407]
[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/Rodrigo-Vivi/drm-i915-cnl-Wa-to-ignore-VBT-alternate-pin-on-B-stepping/20170408-021103
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-x012-201714 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/uapi/linux/stddef.h:1:0,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/linux/mod_devicetable.h:11,
                    from include/linux/i2c.h:29,
                    from drivers/gpu//drm/i915/intel_hdmi.c:29:
   drivers/gpu//drm/i915/intel_hdmi.c: In function 'intel_hdmi_ddc_pin':
>> drivers/gpu//drm/i915/intel_hdmi.c:1888:7: error: implicit declaration of function 'IS_CNL_REVID' [-Werror=implicit-function-declaration]
         !IS_CNL_REVID(dev_priv, CNL_REVID_B0, CNL_REVID_B0)) {
          ^
   include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
   drivers/gpu//drm/i915/intel_hdmi.c:1887:2: note: in expansion of macro 'if'
     if (info->alternate_ddc_pin &&
     ^~
>> drivers/gpu//drm/i915/intel_hdmi.c:1888:30: error: 'CNL_REVID_B0' undeclared (first use in this function)
         !IS_CNL_REVID(dev_priv, CNL_REVID_B0, CNL_REVID_B0)) {
                                 ^
   include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
   drivers/gpu//drm/i915/intel_hdmi.c:1887:2: note: in expansion of macro 'if'
     if (info->alternate_ddc_pin &&
     ^~
   drivers/gpu//drm/i915/intel_hdmi.c:1888:30: note: each undeclared identifier is reported only once for each function it appears in
         !IS_CNL_REVID(dev_priv, CNL_REVID_B0, CNL_REVID_B0)) {
                                 ^
   include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
   drivers/gpu//drm/i915/intel_hdmi.c:1887:2: note: in expansion of macro 'if'
     if (info->alternate_ddc_pin &&
     ^~
   cc1: some warnings being treated as errors

vim +/IS_CNL_REVID +1888 drivers/gpu//drm/i915/intel_hdmi.c

  1882	{
  1883		const struct ddi_vbt_port_info *info =
  1884			&dev_priv->vbt.ddi_port_info[port];
  1885		u8 ddc_pin;
  1886	
  1887		if (info->alternate_ddc_pin &&
> 1888		    !IS_CNL_REVID(dev_priv, CNL_REVID_B0, CNL_REVID_B0)) {
  1889			DRM_DEBUG_KMS("Using DDC pin 0x%x for port %c (VBT)\n",
  1890				      info->alternate_ddc_pin, port_name(port));
  1891			return info->alternate_ddc_pin;

---
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: 24975 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170408/14cf4b61/attachment-0001.gz>


More information about the Intel-gfx mailing list