[PATCH 4/4] drm/i915: Add support for CCS modifiers

kbuild test robot lkp at intel.com
Mon Jul 24 23:29:30 UTC 2017


Hi Ben,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.13-rc2 next-20170724]
[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/Ben-Widawsky/drm-Plumb-modifiers-through-plane-init/20170725-062539
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-allyesconfig (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 >>):

>> drivers/gpu/drm/i915/intel_display.c:105:2: error: 'I915_FORMAT_MOD_Yf_TILED_CCS' undeclared here (not in a function)
     I915_FORMAT_MOD_Yf_TILED_CCS,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/intel_display.c:106:2: error: 'I915_FORMAT_MOD_Y_TILED_CCS' undeclared here (not in a function)
     I915_FORMAT_MOD_Y_TILED_CCS,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/intel_display.c: In function 'skl_mod_supported':
>> drivers/gpu/drm/i915/intel_display.c:13642:16: warning: comparison between pointer and integer
      if (modifier == I915_FORMAT_MOD_Yf_TILED_CCS ||
                   ^~
   drivers/gpu/drm/i915/intel_display.c:13643:16: warning: comparison between pointer and integer
          modifier == I915_FORMAT_MOD_Y_TILED_CCS)
                   ^~
--
>> drivers/gpu/drm/i915/intel_sprite.c:1092:2: error: 'I915_FORMAT_MOD_Yf_TILED_CCS' undeclared here (not in a function)
     I915_FORMAT_MOD_Yf_TILED_CCS,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/intel_sprite.c:1093:2: error: 'I915_FORMAT_MOD_Y_TILED_CCS' undeclared here (not in a function)
     I915_FORMAT_MOD_Y_TILED_CCS,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/I915_FORMAT_MOD_Yf_TILED_CCS +105 drivers/gpu/drm/i915/intel_display.c

   103	
   104	static const uint64_t skl_format_modifiers_ccs[] = {
 > 105		I915_FORMAT_MOD_Yf_TILED_CCS,
 > 106		I915_FORMAT_MOD_Y_TILED_CCS,
   107		I915_FORMAT_MOD_Yf_TILED,
   108		I915_FORMAT_MOD_Y_TILED,
   109		I915_FORMAT_MOD_X_TILED,
   110		DRM_FORMAT_MOD_LINEAR,
   111		DRM_FORMAT_MOD_INVALID
   112	};
   113	

---
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: 59315 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170725/7f37b808/attachment-0001.gz>


More information about the dri-devel mailing list