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

kbuild test robot lkp at intel.com
Fri Jan 27 20:15:17 UTC 2017

Hi Arthur,

[auto build test ERROR on v4.9-rc8]
[cannot apply to drm-intel/for-linux-next next-20170125]
[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/20170128-022541
config: i386-randconfig-x004-201704 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/intel_display.c:7392:12: error: invalid suffix "gm_get_display_clock_speed" on integer constant
    static int 945gm_get_display_clock_speed(struct drm_device *dev)
>> drivers/gpu/drm/i915/intel_display.c:7392:12: error: expected identifier or '(' before numeric constant
   drivers/gpu/drm/i915/intel_display.c: In function 'intel_init_display_hooks':
   drivers/gpu/drm/i915/intel_display.c:16020:4: error: invalid suffix "gm_get_display_clock_speed" on integer constant

vim +/gm_get_display_clock_speed +7392 drivers/gpu/drm/i915/intel_display.c

  7387	static int i945_get_display_clock_speed(struct drm_device *dev)
  7388	{
  7389		return 400000;
  7390	}
> 7392	static int 945gm_get_display_clock_speed(struct drm_device *dev)
  7393	{
  7394		struct pci_dev *pdev = dev->pdev;
  7395		u16 gcfgc = 0;

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: 29825 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170128/c6f322b4/attachment-0001.gz>

More information about the Intel-gfx mailing list