[Intel-gfx] [PATCH] drm/i915/backlight: setup backlight pwm alternate increment on backlight enable

kbuild test robot lkp at intel.com
Mon Sep 19 10:48:35 UTC 2016


Hi Shawn,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.8-rc7 next-20160916]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Jani-Nikula/drm-i915-backlight-setup-backlight-pwm-alternate-increment-on-backlight-enable/20160919-181342
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x008-201638 (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_panel.c: In function 'lpt_enable_backlight':
>> drivers/gpu/drm/i915/intel_panel.c:855:23: error: 'struct <anonymous>' has no member named 'alternate_pwm_increment'
      if (panel->backlight.alternate_pwm_increment)
                          ^
   drivers/gpu/drm/i915/intel_panel.c:862:23: error: 'struct <anonymous>' has no member named 'alternate_pwm_increment'
      if (panel->backlight.alternate_pwm_increment)
                          ^

vim +855 drivers/gpu/drm/i915/intel_panel.c

   849			pch_ctl1 &= ~BLM_PCH_PWM_ENABLE;
   850			I915_WRITE(BLC_PWM_PCH_CTL1, pch_ctl1);
   851		}
   852	
   853		if (HAS_PCH_LPT(dev_priv)) {
   854			schicken = I915_READ(SOUTH_CHICKEN2);
 > 855			if (panel->backlight.alternate_pwm_increment)
   856				schicken |= LPT_PWM_GRANULARITY;
   857			else
   858				schicken &= ~LPT_PWM_GRANULARITY;

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


More information about the Intel-gfx mailing list