[Intel-gfx] [PATCH 4/5] drm/i915: Implement color management on bdw/skl/bxt/kbl

kbuild test robot lkp at intel.com
Sat Feb 20 03:26:28 UTC 2016


Hi Lionel,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20160219]
[cannot apply to v4.5-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Lionel-Landwerlin/drm-i915-Extract-out-gamma-table-and-CSC-to-their-own-file/20160219-234218
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-s4-02201044 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the linux-review/Lionel-Landwerlin/drm-i915-Extract-out-gamma-table-and-CSC-to-their-own-file/20160219-234218 HEAD 7fd974c72ceeb16885211256213d60c48bf2bdb7 builds fine.
      It only hurts bisectibility.

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_color.c:25:
   drivers/gpu/drm/i915/intel_color.c: In function 'i9xx_load_luts':
>> drivers/gpu/drm/i915/intel_color.c:238:7: error: 'intel_crtc' undeclared (first use in this function)
      if (intel_crtc->config->has_dsi_encoder)
          ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> drivers/gpu/drm/i915/intel_color.c:238:3: note: in expansion of macro 'if'
      if (intel_crtc->config->has_dsi_encoder)
      ^
   drivers/gpu/drm/i915/intel_color.c:238:7: note: each undeclared identifier is reported only once for each function it appears in
      if (intel_crtc->config->has_dsi_encoder)
          ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> drivers/gpu/drm/i915/intel_color.c:238:3: note: in expansion of macro 'if'
      if (intel_crtc->config->has_dsi_encoder)
      ^

vim +/intel_crtc +238 drivers/gpu/drm/i915/intel_color.c

372867d6 Lionel Landwerlin 2016-02-19  232  	struct drm_crtc_state *state = crtc->state;
5671ede9 Lionel Landwerlin 2016-02-19  233  	struct drm_i915_private *dev_priv = dev->dev_private;
372867d6 Lionel Landwerlin 2016-02-19  234  	enum pipe pipe = to_intel_crtc(crtc)->pipe;
5671ede9 Lionel Landwerlin 2016-02-19  235  	int i;
5671ede9 Lionel Landwerlin 2016-02-19  236  
5671ede9 Lionel Landwerlin 2016-02-19  237  	if (HAS_GMCH_DISPLAY(dev)) {
5671ede9 Lionel Landwerlin 2016-02-19 @238  		if (intel_crtc->config->has_dsi_encoder)
5671ede9 Lionel Landwerlin 2016-02-19  239  			assert_dsi_pll_enabled(dev_priv);
5671ede9 Lionel Landwerlin 2016-02-19  240  		else
5671ede9 Lionel Landwerlin 2016-02-19  241  			assert_pll_enabled(dev_priv, pipe);

:::::: The code at line 238 was first introduced by commit
:::::: 5671ede91a0c5e17d1d5f9c0e8c31f6357379a20 drm/i915: Extract out gamma table and CSC to their own file

:::::: TO: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
:::::: CC: 0day robot <fengguang.wu 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/octet-stream
Size: 27796 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160220/1eb11438/attachment-0001.obj>


More information about the dri-devel mailing list