[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 06:12:42 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-x012-201632 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (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: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
struct pci_device *pdev = dev_priv->drm.pdev;
^~~~~~~~
>> drivers/gpu/drm/i915/intel_pm.c:5613:10: error: dereferencing pointer to incomplete type 'struct pci_device'
if (pdev->revision >= 0x20) {
^~
cc1: some warnings being treated as errors
vim +5610 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: 22536 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160812/457c25a1/attachment-0001.obj>
More information about the Intel-gfx
mailing list