Re: [PATCH] drm/i915: Add Backlight Control using DPCD for eDP connectors (v4)

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

 



Hi Yetunde,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20151215]
[cannot apply to v4.4-rc5]

url:    https://github.com/0day-ci/linux/commits/Yetunde-Adebisi/drm-i915-Add-Backlight-Control-using-DPCD-for-eDP-connectors-v4/20151216-030252
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x013-12141150 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_drv.c:247:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:249:10:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:278:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:278:9:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:283:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:283:9:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:289:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:290:10:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:294:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:295:10:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:299:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:300:10:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:305:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:306:10:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:321:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:323:10:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:327:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:329:10:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:348:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:351:10:   also defined here
   drivers/gpu/drm/i915/i915_drv.c:355:9: sparse: Initializer entry defined twice
   drivers/gpu/drm/i915/i915_drv.c:358:10:   also defined here
   In file included from drivers/gpu/drm/i915/i915_trace.h:10:0,
                    from drivers/gpu/drm/i915/i915_drv.h:2646,
                    from drivers/gpu/drm/i915/i915_drv.c:34:
>> drivers/gpu/drm/i915/intel_drv.h:756:19: error: 'EDP_DISPLAY_CTL_CAP_SIZE' undeclared here (not in a function)
     uint8_t edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
                      ^
--
   In file included from drivers/gpu/drm/i915/i915_trace.h:10:0,
                    from drivers/gpu/drm/i915/i915_drv.h:2646,
                    from drivers/gpu/drm/i915/i915_irq.c:36:
>> drivers/gpu/drm/i915/intel_drv.h:756:19: error: 'EDP_DISPLAY_CTL_CAP_SIZE' undeclared here (not in a function)
     uint8_t edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
                      ^
--
   drivers/gpu/drm/i915/intel_drv.h:756:26: sparse: undefined identifier 'EDP_DISPLAY_CTL_CAP_SIZE'
   drivers/gpu/drm/i915/intel_drv.h:756:26: sparse: bad constant expression type
   In file included from drivers/gpu/drm/i915/i915_trace.h:10:0,
                    from drivers/gpu/drm/i915/i915_drv.h:2646,
                    from drivers/gpu/drm/i915/intel_runtime_pm.c:32:
>> drivers/gpu/drm/i915/intel_drv.h:756:19: error: 'EDP_DISPLAY_CTL_CAP_SIZE' undeclared here (not in a function)
     uint8_t edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
                      ^
--
   drivers/gpu/drm/i915/intel_ringbuffer.c:1987:31: sparse: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/i915/intel_ringbuffer.c:1987:31:    expected void const *addr
   drivers/gpu/drm/i915/intel_ringbuffer.c:1987:31:    got void [noderef] <asn:2>*virtual_start
   drivers/gpu/drm/i915/intel_ringbuffer.c:2033:40: sparse: incorrect type in assignment (different address spaces)
   drivers/gpu/drm/i915/intel_ringbuffer.c:2033:40:    expected void [noderef] <asn:2>*virtual_start
   drivers/gpu/drm/i915/intel_ringbuffer.c:2033:40:    got unsigned int [usertype] *
   In file included from drivers/gpu/drm/i915/i915_trace.h:10:0,
                    from drivers/gpu/drm/i915/i915_drv.h:2646,
                    from drivers/gpu/drm/i915/intel_ringbuffer.c:32:
>> drivers/gpu/drm/i915/intel_drv.h:756:19: error: 'EDP_DISPLAY_CTL_CAP_SIZE' undeclared here (not in a function)
     uint8_t edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
                      ^
--
   drivers/gpu/drm/i915/intel_drv.h:756:26: sparse: undefined identifier 'EDP_DISPLAY_CTL_CAP_SIZE'
   drivers/gpu/drm/i915/intel_drv.h:756:26: sparse: bad constant expression type
   drivers/gpu/drm/i915/intel_dp.c:3895:47: sparse: cannot size expression
   drivers/gpu/drm/i915/intel_dp.c:3898:69: sparse: cannot size expression
   drivers/gpu/drm/i915/intel_dp.c:3899:65: sparse: cannot size expression
   drivers/gpu/drm/i915/intel_dp.c:3900:25: sparse: cannot size expression
   In file included from drivers/gpu/drm/i915/intel_dp.c:38:0:
>> drivers/gpu/drm/i915/intel_drv.h:756:19: error: 'EDP_DISPLAY_CTL_CAP_SIZE' undeclared here (not in a function)
     uint8_t edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
                      ^
--
   drivers/gpu/drm/i915/i915_dma.c:682:31: sparse: Variable length array is used.
   In file included from drivers/gpu/drm/i915/i915_dma.c:35:0:
>> drivers/gpu/drm/i915/intel_drv.h:756:19: error: 'EDP_DISPLAY_CTL_CAP_SIZE' undeclared here (not in a function)
     uint8_t edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
                      ^

vim +/EDP_DISPLAY_CTL_CAP_SIZE +756 drivers/gpu/drm/i915/intel_drv.h

   750		enum hdmi_force_audio force_audio;
   751		bool limited_color_range;
   752		bool color_range_auto;
   753		uint8_t dpcd[DP_RECEIVER_CAP_SIZE];
   754		uint8_t psr_dpcd[EDP_PSR_RECEIVER_CAP_SIZE];
   755		uint8_t downstream_ports[DP_MAX_DOWNSTREAM_PORTS];
 > 756		uint8_t edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
   757		/* sink rates as reported by DP_SUPPORTED_LINK_RATES */
   758		uint8_t num_sink_rates;
   759		int sink_rates[DP_MAX_SUPPORTED_RATES];

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://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