[drm-intel:drm-intel-next-queued 31/31] drivers/gpu/drm/i915/intel_lvds.c:1098:34: error: 'mode' undeclared

kbuild test robot fengguang.wu at intel.com
Thu Nov 22 13:24:24 PST 2012


tree:   git://people.freedesktop.org/~danvet/drm-intel.git drm-intel-next-queued
head:   9352dce341352e32a221aabf03f8b7c7b141c96a
commit: 9352dce341352e32a221aabf03f8b7c7b141c96a [31/31] drm/i915: Report the origin of the LVDS fixed panel mode
config: make ARCH=x86_64 allmodconfig

All error/warnings:

drivers/gpu/drm/i915/intel_lvds.c: In function 'intel_lvds_init':
drivers/gpu/drm/i915/intel_lvds.c:1098:34: error: 'mode' undeclared (first use in this function)
drivers/gpu/drm/i915/intel_lvds.c:1098:34: note: each undeclared identifier is reported only once for each function it appears in

vim +1098 +/mode drivers/gpu/drm/i915/intel_lvds.c

f875c15a Chris Wilson 2010-09-09  1092  	crtc = intel_get_crtc_for_pipe(dev, pipe);
79e53945 Jesse Barnes 2008-11-07  1093  
79e53945 Jesse Barnes 2008-11-07  1094  	if (crtc && (lvds & LVDS_PORT_EN)) {
dd06f90e Jani Nikula  2012-10-19  1095  		fixed_mode = intel_crtc_mode_get(dev, crtc);
dd06f90e Jani Nikula  2012-10-19  1096  		if (fixed_mode) {
9352dce3 Chris Wilson 2012-11-21  1097  			DRM_DEBUG_KMS("using current (BIOS) mode: ");
9352dce3 Chris Wilson 2012-11-21 @1098  			drm_mode_debug_printmodeline(&mode);
dd06f90e Jani Nikula  2012-10-19  1099  			fixed_mode->type |= DRM_MODE_TYPE_PREFERRED;
565dcd46 Paul Collins 2009-02-04  1100  			goto out;
79e53945 Jesse Barnes 2008-11-07  1101  		}

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation


More information about the dri-devel mailing list