Re: [PATCH] drm/i915/cnl: Introduce initial Cannonlake Workarounds.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rodrigo,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.12-rc4 next-20170607]
[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-Introduce-initial-Cannonlake-Workarounds/20170608-041443
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x014-201723 (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_pm.c: In function 'cannonlake_init_clock_gating':
>> drivers/gpu//drm/i915/intel_pm.c:8298:6: error: implicit declaration of function 'IS_CNL_REVID' [-Werror=implicit-function-declaration]
     if (IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_B0))
         ^~~~~~~~~~~~
>> drivers/gpu//drm/i915/intel_pm.c:8298:29: error: 'CNL_REVID_A0' undeclared (first use in this function)
     if (IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_B0))
                                ^~~~~~~~~~~~
   drivers/gpu//drm/i915/intel_pm.c:8298:29: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu//drm/i915/intel_pm.c:8298:43: error: 'CNL_REVID_B0' undeclared (first use in this function)
     if (IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_B0))
                                              ^~~~~~~~~~~~
   drivers/gpu//drm/i915/intel_pm.c: In function 'intel_init_clock_gating_hooks':
>> drivers/gpu//drm/i915/intel_pm.c:8783:6: error: implicit declaration of function 'IS_CANNONLAKE' [-Werror=implicit-function-declaration]
     if (IS_CANNONLAKE(dev_priv))
         ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/gpu//drm/i915/i915_gem_gtt.c: In function 'gtt_write_workarounds':
>> drivers/gpu//drm/i915/i915_gem_gtt.c:1892:35: error: implicit declaration of function 'IS_GEN10' [-Werror=implicit-function-declaration]
     else if (IS_GEN9_BC(dev_priv) || IS_GEN10(dev_priv))
                                      ^~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/gpu//drm/i915/intel_engine_cs.c: In function 'cnl_init_workarounds':
>> drivers/gpu//drm/i915/intel_engine_cs.c:1094:6: error: implicit declaration of function 'IS_CNL_REVID' [-Werror=implicit-function-declaration]
     if (IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_A0)) {
         ^~~~~~~~~~~~
>> drivers/gpu//drm/i915/intel_engine_cs.c:1094:29: error: 'CNL_REVID_A0' undeclared (first use in this function)
     if (IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_A0)) {
                                ^~~~~~~~~~~~
   drivers/gpu//drm/i915/intel_engine_cs.c:1094:29: note: each undeclared identifier is reported only once for each function it appears in
   drivers/gpu//drm/i915/intel_engine_cs.c: In function 'init_workarounds_ring':
>> drivers/gpu//drm/i915/intel_engine_cs.c:1189:11: error: implicit declaration of function 'IS_CANNONLAKE' [-Werror=implicit-function-declaration]
     else if (IS_CANNONLAKE(dev_priv))
              ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/IS_CNL_REVID +8298 drivers/gpu//drm/i915/intel_pm.c

  8292	
  8293		/* WaFbcNukeOnHostModify:cnl */
  8294		I915_WRITE(ILK_DPFC_CHICKEN, I915_READ(ILK_DPFC_CHICKEN) |
  8295			   ILK_DPFC_NUKE_ON_ANY_MODIFICATION);
  8296	
  8297		/* WaSarbUnitClockGatingDisable:cnl (pre-prod) */
> 8298		if (IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_B0))
  8299			I915_WRITE(SLICE_UNIT_LEVEL_CLKGATE, I915_READ(SLICE_UNIT_LEVEL_CLKGATE) |
  8300				   SARBUNIT_CLKGATE_DIS);
  8301	}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux