[Intel-gfx] [PATCH] drm/i915: Don't sanitize has_decoupled_mmio if platform is not broxton

kbuild test robot lkp at intel.com
Fri Nov 25 04:37:51 UTC 2016


Hi Ander,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20161124]
[cannot apply to v4.9-rc6]
[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/Ander-Conselvan-de-Oliveira/drm-i915-Don-t-sanitize-has_decoupled_mmio-if-platform-is-not-broxton/20161125-114633
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x000-201647 (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=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_uncore.c: In function '__intel_uncore_early_sanitize':
   drivers/gpu/drm/i915/intel_uncore.c:425:3: error: expected ')' before 'info'
      info->has_decoupled_mmio = false;
      ^~~~
   drivers/gpu/drm/i915/intel_uncore.c:428:1: error: expected expression before '}' token
    }
    ^
>> drivers/gpu/drm/i915/intel_uncore.c:405:28: error: unused variable 'info' [-Werror=unused-variable]
     struct intel_device_info *info = mkwrite_device_info(dev_priv);
                               ^~~~
   cc1: all warnings being treated as errors

vim +/info +405 drivers/gpu/drm/i915/intel_uncore.c

8ac3e1bb7 Mika Kuoppala               2015-12-15  399  	return false;
8ac3e1bb7 Mika Kuoppala               2015-12-15  400  }
8ac3e1bb7 Mika Kuoppala               2015-12-15  401  
dc97997a2 Chris Wilson                2016-05-10  402  static void __intel_uncore_early_sanitize(struct drm_i915_private *dev_priv,
f9b3927af Mika Kuoppala               2015-01-28  403  					  bool restore_forcewake)
f9b3927af Mika Kuoppala               2015-01-28  404  {
85ee17ebe Praveen Paneri              2016-11-15 @405  	struct intel_device_info *info = mkwrite_device_info(dev_priv);
85ee17ebe Praveen Paneri              2016-11-15  406  
8a47eb198 Mika Kuoppala               2015-12-15  407  	/* clear out unclaimed reg detection bit */
8a47eb198 Mika Kuoppala               2015-12-15  408  	if (check_for_unclaimed_mmio(dev_priv))
8a47eb198 Mika Kuoppala               2015-12-15  409  		DRM_DEBUG("unclaimed mmio detected on uncore init, clearing\n");
907b28c56 Chris Wilson                2013-07-19  410  
97058870e Ville Syrjälä               2013-12-03  411  	/* clear out old GT FIFO errors */
dc97997a2 Chris Wilson                2016-05-10  412  	if (IS_GEN6(dev_priv) || IS_GEN7(dev_priv))
97058870e Ville Syrjälä               2013-12-03  413  		__raw_i915_write32(dev_priv, GTFIFODBG,
97058870e Ville Syrjälä               2013-12-03  414  				   __raw_i915_read32(dev_priv, GTFIFODBG));
97058870e Ville Syrjälä               2013-12-03  415  
a04f90a33 Deepak S                    2015-04-16  416  	/* WaDisableShadowRegForCpd:chv */
dc97997a2 Chris Wilson                2016-05-10  417  	if (IS_CHERRYVIEW(dev_priv)) {
a04f90a33 Deepak S                    2015-04-16  418  		__raw_i915_write32(dev_priv, GTFIFOCTL,
a04f90a33 Deepak S                    2015-04-16  419  				   __raw_i915_read32(dev_priv, GTFIFOCTL) |
a04f90a33 Deepak S                    2015-04-16  420  				   GT_FIFO_CTL_BLOCK_ALL_POLICY_STALL |
a04f90a33 Deepak S                    2015-04-16  421  				   GT_FIFO_CTL_RC6_POLICY_STALL);
a04f90a33 Deepak S                    2015-04-16  422  	}
a04f90a33 Deepak S                    2015-04-16  423  
484a2eb87 Ander Conselvan de Oliveira 2016-11-24  424  	if (IS_BXT_REVID(dev_priv, 0, BXT_REVID_B_LAST)
85ee17ebe Praveen Paneri              2016-11-15 @425  		info->has_decoupled_mmio = false;
85ee17ebe Praveen Paneri              2016-11-15  426  
dc97997a2 Chris Wilson                2016-05-10  427  	intel_uncore_forcewake_reset(dev_priv, restore_forcewake);
521198a2e Mika Kuoppala               2013-08-23  428  }

:::::: The code at line 405 was first introduced by commit
:::::: 85ee17ebeedd1af0dccd98f82ab4e644e29d84c0 drm/i915/bxt: Broxton decoupled MMIO

:::::: TO: Praveen Paneri <praveen.paneri at intel.com>
:::::: CC: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

---
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: 31215 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161125/05e5a831/attachment-0001.gz>


More information about the Intel-gfx mailing list