[Intel-gfx] [PATCH v2] drm/i915: Get correct display clock on 945gm

kbuild test robot lkp at intel.com
Wed Feb 1 00:05:32 UTC 2017


Hi Arthur,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20170131]
[cannot apply to v4.10-rc6]
[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/Arthur-Heymans/drm-i915-Get-correct-display-clock-on-945gm/20170201-072757
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-rhel (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 errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_display.c: In function 'intel_init_display_hooks':
>> drivers/gpu/drm/i915/intel_display.c:16240:45: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
      dev_priv->display.get_display_clock_speed =
                                                ^
   cc1: some warnings being treated as errors

vim +16240 drivers/gpu/drm/i915/intel_display.c

34edce2f Ville Syrjälä  2015-05-22  16234  		dev_priv->display.get_display_clock_speed =
34edce2f Ville Syrjälä  2015-05-22  16235  			pnv_get_display_clock_speed;
88212941 Imre Deak      2016-03-16  16236  	else if (IS_G33(dev_priv) || IS_G4X(dev_priv))
34edce2f Ville Syrjälä  2015-05-22  16237  		dev_priv->display.get_display_clock_speed =
34edce2f Ville Syrjälä  2015-05-22  16238  			g33_get_display_clock_speed;
88212941 Imre Deak      2016-03-16  16239  	else if (IS_I915G(dev_priv))
e70236a8 Jesse Barnes   2009-09-21 @16240  		dev_priv->display.get_display_clock_speed =
e70236a8 Jesse Barnes   2009-09-21  16241  			i915_get_display_clock_speed;
52d2d756 Arthur Heymans 2017-02-01  16242  	else if (IS_I845G(dev_priv))
e70236a8 Jesse Barnes   2009-09-21  16243  		dev_priv->display.get_display_clock_speed =

:::::: The code at line 16240 was first introduced by commit
:::::: e70236a8d3d0a4c100a0b9f7d394d9bda9c56aca drm/i915: split display functions by chip type

:::::: TO: Jesse Barnes <jbarnes at virtuousgeek.org>
:::::: CC: Eric Anholt <eric at anholt.net>

---
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: 38329 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170201/5068ccd5/attachment-0001.gz>


More information about the Intel-gfx mailing list