Hi Matt, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on drm-tip/drm-tip v5.5 next-20200131] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Matt-Atwood/drm-i915-tgl-Add-Wa_1606054188-tgl/20200203-082706 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-randconfig-s2-20200203 (attached as .config) compiler: gcc-7 (Debian 7.5.0-3) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All error/warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/i915/display/intel_sprite.c:42:0: drivers/gpu/drm/i915/display/intel_sprite.c: In function 'skl_plane_check_nv12_rotation': >> drivers/gpu/drm/i915/display/intel_sprite.c:2181:13: error: 'dev_priv' undeclared (first use in this function); did you mean 'dev_crit'? if (IS_GEN(dev_priv, 12) && ^ drivers/gpu/drm/i915/i915_drv.h:1372:33: note: in definition of macro 'INTEL_INFO' #define INTEL_INFO(dev_priv) (&(dev_priv)->__info) ^~~~~~~~ >> drivers/gpu/drm/i915/display/intel_sprite.c:2181:6: note: in expansion of macro 'IS_GEN' if (IS_GEN(dev_priv, 12) && ^~~~~~ drivers/gpu/drm/i915/display/intel_sprite.c:2181:13: note: each undeclared identifier is reported only once for each function it appears in if (IS_GEN(dev_priv, 12) && ^ drivers/gpu/drm/i915/i915_drv.h:1372:33: note: in definition of macro 'INTEL_INFO' #define INTEL_INFO(dev_priv) (&(dev_priv)->__info) ^~~~~~~~ >> drivers/gpu/drm/i915/display/intel_sprite.c:2181:6: note: in expansion of macro 'IS_GEN' if (IS_GEN(dev_priv, 12) && ^~~~~~ vim +2181 drivers/gpu/drm/i915/display/intel_sprite.c 2160 2161 static int skl_plane_check_nv12_rotation(const struct intel_plane_state *plane_state) 2162 { 2163 const struct drm_framebuffer *fb = plane_state->hw.fb; 2164 unsigned int rotation = plane_state->hw.rotation; 2165 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; 2166 2167 /* Display WA #1106 */ 2168 if (intel_format_info_is_yuv_semiplanar(fb->format, fb->modifier) && 2169 src_w & 3 && 2170 (rotation == DRM_MODE_ROTATE_270 || 2171 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { 2172 DRM_DEBUG_KMS("src width must be multiple of 4 for rotated planar YUV\n"); 2173 return -EINVAL; 2174 } 2175 2176 /* Wa_1606054188:tgl 2177 * 2178 * TODO: Add format RGB64i when implemented. 2179 * 2180 */ > 2181 if (IS_GEN(dev_priv, 12) && 2182 plane_state->ckey.flags & I915_SET_COLORKEY_SOURCE && 2183 intel_format_is_p01x(fb->format->format)) 2184 DRM_DEBUG_KMS("Source color keying not supported with P01x formats\n"); 2185 2186 return 0; 2187 } 2188 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation