[Intel-gfx] [PATCH v2] Revert "drm/i915/chv: Set min freq to efficient frequency on chv"

kbuild test robot lkp at intel.com
Fri Aug 12 07:00:08 UTC 2016


Hi Deepak,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.8-rc1 next-20160811]
[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/deepak-s-linux-intel-com/Revert-drm-i915-chv-Set-min-freq-to-efficient-frequency-on-chv/20160812-135320
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-i0-201632 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_pm.c: In function 'cherryview_rps_min_freq':
>> drivers/gpu/drm/i915/intel_pm.c:5610:28: warning: initialization from incompatible pointer type
     struct pci_device *pdev = dev_priv->drm.pdev;
                               ^
>> drivers/gpu/drm/i915/intel_pm.c:5613:10: error: dereferencing pointer to incomplete type
     if (pdev->revision >= 0x20) {
             ^

vim +5613 drivers/gpu/drm/i915/intel_pm.c

  5604	
  5605		return rp1;
  5606	}
  5607	
  5608	static u32 cherryview_rps_min_freq(struct drm_i915_private *dev_priv)
  5609	{
> 5610		struct pci_device *pdev = dev_priv->drm.pdev;
  5611		u32 val, rpn;
  5612	
> 5613		if (pdev->revision >= 0x20) {
  5614			val = vlv_punit_read(dev_priv, FB_GFX_FMIN_AT_VMIN_FUSE);
  5615			rpn = ((val >> FB_GFX_FMIN_AT_VMIN_FUSE_SHIFT) &
  5616			       FB_GFX_FREQ_FUSE_MASK);

---
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: 26295 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160812/f9dfc5a0/attachment-0001.obj>


More information about the Intel-gfx mailing list