Hi Praveen, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.11-rc2 next-20170310] [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/Praveen-Paneri/drm-i915-Enable-FBC-for-non-X-tiled-FBs/20170318-084727 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-randconfig-x003-201711 (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 error/warnings (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/async.h:15, from drivers/gpu/drm/i915/intel_drv.h:28, from drivers/gpu/drm/i915/intel_fbc.c:41: drivers/gpu/drm/i915/intel_fbc.c: In function 'gen7_fbc_activate': >> drivers/gpu/drm/i915/intel_fbc.c:305:33: error: 'cache' undeclared (first use in this function) i915_gem_object_get_tiling(cache->vma->obj) != I915_TILING_X) { ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> drivers/gpu/drm/i915/intel_fbc.c:304:2: note: in expansion of macro 'if' if (INTEL_GEN(dev_priv) >= 9 && ^~ drivers/gpu/drm/i915/intel_fbc.c:305:33: note: each undeclared identifier is reported only once for each function it appears in i915_gem_object_get_tiling(cache->vma->obj) != I915_TILING_X) { ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> drivers/gpu/drm/i915/intel_fbc.c:304:2: note: in expansion of macro 'if' if (INTEL_GEN(dev_priv) >= 9 && ^~ vim +/cache +305 drivers/gpu/drm/i915/intel_fbc.c 298 static void gen7_fbc_activate(struct drm_i915_private *dev_priv) 299 { 300 struct intel_fbc_reg_params *params = &dev_priv->fbc.params; 301 u32 dpfc_ctl; 302 int threshold = dev_priv->fbc.threshold; 303 > 304 if (INTEL_GEN(dev_priv) >= 9 && > 305 i915_gem_object_get_tiling(cache->vma->obj) != I915_TILING_X) { 306 struct intel_fbc_state_cache *cache = &dev_priv->fbc.state_cache; 307 int cfb_stride = DIV_ROUND_UP(cache->plane.src_w, 308 (32 * threshold)) * 8; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation