[Intel-gfx] [PATCH] drm/i915: Add Backlight Control using DPCD for eDP connectors (v4) (fwd)

Julia Lawall julia.lawall at lip6.fr
Tue Dec 15 22:44:43 PST 2015


It looks like at least the call to drm_dp_dpcd_writeb should be indented.  
Please check.

julia


---------- Forwarded message ----------
Date: Wed, 16 Dec 2015 07:15:44 +0800
From: kbuild test robot <fengguang.wu at intel.com>
To: kbuild at 01.org
Cc: Julia Lawall <julia.lawall at lip6.fr>
Subject: Re: [Intel-gfx] [PATCH] drm/i915: Add Backlight Control using DPCD for
    eDP connectors (v4)

CC: kbuild-all at 01.org
In-Reply-To: <1450205963-32436-1-git-send-email-yetundex.adebisi at intel.com>
TO: Yetunde Adebisi <yetundex.adebisi at intel.com>
CC: intel-gfx at lists.freedesktop.org, Yetunde Adebisi <yetundex.adebisi at intel.com>, Jani Nikula <jani.nikula at intel.com>
CC: Yetunde Adebisi <yetundex.adebisi at intel.com>, Jani Nikula <jani.nikula at intel.com>

Hi Yetunde,

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20151215]
[cannot apply to v4.4-rc5]

url:    https://github.com/0day-ci/linux/commits/Yetunde-Adebisi/drm-i915-Add-Backlight-Control-using-DPCD-for-eDP-connectors-v4/20151216-030252
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago

>> drivers/gpu/drm/i915/intel_dp_aux_backlight.c:158:2-53: code aligned with following code on line 161

git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout f26dfdeaa8719aa796eaf7a642dffac78d56bfc2
vim +158 drivers/gpu/drm/i915/intel_dp_aux_backlight.c

f26dfdea Yetunde Adebisi 2015-12-15  152  		DRM_DEBUG_KMS("AUX Backlight Control Supported!\n");
f26dfdea Yetunde Adebisi 2015-12-15  153  		set_aux_backlight_enable(intel_dp, true);
f26dfdea Yetunde Adebisi 2015-12-15  154  		if ((intel_dp_dpcd_read_wake(&intel_dp->aux,
f26dfdea Yetunde Adebisi 2015-12-15  155  			DP_EDP_BACKLIGHT_MODE_SET_REGISTER, &dpcd_buf, 1) == 1) &&
f26dfdea Yetunde Adebisi 2015-12-15  156  			((dpcd_buf & DP_EDP_BACKLIGHT_CONTROL_MODE_MASK) ==
f26dfdea Yetunde Adebisi 2015-12-15  157  					DP_EDP_BACKLIGHT_CONTROL_MODE_PRESET))
f26dfdea Yetunde Adebisi 2015-12-15 @158  		drm_dp_dpcd_writeb(&intel_dp->aux, DP_EDP_BACKLIGHT_MODE_SET_REGISTER,
f26dfdea Yetunde Adebisi 2015-12-15  159  				(dpcd_buf | DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD));
f26dfdea Yetunde Adebisi 2015-12-15  160  
f26dfdea Yetunde Adebisi 2015-12-15 @161  		return true;
f26dfdea Yetunde Adebisi 2015-12-15  162  	}
f26dfdea Yetunde Adebisi 2015-12-15  163  	return false;
f26dfdea Yetunde Adebisi 2015-12-15  164  }

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


More information about the Intel-gfx mailing list