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

kbuild test robot lkp at intel.com
Wed Feb 1 01:02:52 UTC 2017


Hi Arthur,

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING 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-randconfig-i0-01312305 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (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: warning: assignment from incompatible pointer type
      dev_priv->display.get_display_clock_speed =
                                                ^

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

88212941 Imre Deak      2016-03-16  16224  		 IS_GEN6(dev_priv) || IS_IVYBRIDGE(dev_priv))
e70236a8 Jesse Barnes   2009-09-21  16225  		dev_priv->display.get_display_clock_speed =
e70236a8 Jesse Barnes   2009-09-21  16226  			i945_get_display_clock_speed;
88212941 Imre Deak      2016-03-16  16227  	else if (IS_GM45(dev_priv))
34edce2f Ville Syrjälä  2015-05-22  16228  		dev_priv->display.get_display_clock_speed =
34edce2f Ville Syrjälä  2015-05-22  16229  			gm45_get_display_clock_speed;
c0f86832 Jani Nikula    2016-12-07  16230  	else if (IS_I965GM(dev_priv))
34edce2f Ville Syrjälä  2015-05-22  16231  		dev_priv->display.get_display_clock_speed =
34edce2f Ville Syrjälä  2015-05-22  16232  			i965gm_get_display_clock_speed;
88212941 Imre Deak      2016-03-16  16233  	else if (IS_PINEVIEW(dev_priv))
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 =
e70236a8 Jesse Barnes   2009-09-21  16244  			i9xx_misc_get_display_clock_speed;
52d2d756 Arthur Heymans 2017-02-01  16245  	else if (IS_I945GM(dev_priv))
52d2d756 Arthur Heymans 2017-02-01  16246  		dev_priv->display.get_display_clock_speed =
52d2d756 Arthur Heymans 2017-02-01  16247  			i945gm_get_display_clock_speed;
88212941 Imre Deak      2016-03-16  16248  	else if (IS_I915GM(dev_priv))

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


More information about the Intel-gfx mailing list