[Intel-gfx] [PATCH 10/15] drm/i915: Split the problematic dual-role DDI encoder into two encoders

kbuild test robot lkp at intel.com
Tue Dec 8 10:21:35 PST 2015


Hi Ville,

[auto build test WARNING on next-20151208]
[cannot apply to drm-intel/for-linux-next v4.4-rc4 v4.4-rc3 v4.4-rc2 v4.4-rc4]

url:    https://github.com/0day-ci/linux/commits/ville-syrjala-linux-intel-com/drm-i915-Cure-DDI-from-multiple-personality-disorder/20151209-020401
config: i386-randconfig-x007-12070758 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_display.c: In function 'check_digital_port_conflicts':
>> drivers/gpu/drm/i915/intel_display.c:12176:21: warning: unused variable 'dev' [-Wunused-variable]
     struct drm_device *dev = state->dev;
                        ^

vim +/dev +12176 drivers/gpu/drm/i915/intel_display.c

6a60cd87 Chandra Konduru             2015-04-07  12160  			crtc->base.primary == plane ? 0 : intel_plane->plane + 1,
6a60cd87 Chandra Konduru             2015-04-07  12161  			drm_plane_index(plane));
6a60cd87 Chandra Konduru             2015-04-07  12162  		DRM_DEBUG_KMS("\tFB:%d, fb = %ux%u format = 0x%x",
6a60cd87 Chandra Konduru             2015-04-07  12163  			fb->base.id, fb->width, fb->height, fb->pixel_format);
6a60cd87 Chandra Konduru             2015-04-07  12164  		DRM_DEBUG_KMS("\tscaler:%d src (%u, %u) %ux%u dst (%u, %u) %ux%u\n",
6a60cd87 Chandra Konduru             2015-04-07  12165  			state->scaler_id,
6a60cd87 Chandra Konduru             2015-04-07  12166  			state->src.x1 >> 16, state->src.y1 >> 16,
6a60cd87 Chandra Konduru             2015-04-07  12167  			drm_rect_width(&state->src) >> 16,
6a60cd87 Chandra Konduru             2015-04-07  12168  			drm_rect_height(&state->src) >> 16,
6a60cd87 Chandra Konduru             2015-04-07  12169  			state->dst.x1, state->dst.y1,
6a60cd87 Chandra Konduru             2015-04-07  12170  			drm_rect_width(&state->dst), drm_rect_height(&state->dst));
6a60cd87 Chandra Konduru             2015-04-07  12171  	}
c0b03411 Daniel Vetter               2013-05-28  12172  }
c0b03411 Daniel Vetter               2013-05-28  12173  
5448a00d Ander Conselvan de Oliveira 2015-04-02  12174  static bool check_digital_port_conflicts(struct drm_atomic_state *state)
00f0b378 Ville Syrjälä               2014-12-02  12175  {
5448a00d Ander Conselvan de Oliveira 2015-04-02 @12176  	struct drm_device *dev = state->dev;
5448a00d Ander Conselvan de Oliveira 2015-04-02  12177  	struct intel_encoder *encoder;
da3ced29 Ander Conselvan de Oliveira 2015-04-21  12178  	struct drm_connector *connector;
5448a00d Ander Conselvan de Oliveira 2015-04-02  12179  	struct drm_connector_state *connector_state;
00f0b378 Ville Syrjälä               2014-12-02  12180  	unsigned int used_ports = 0;
5448a00d Ander Conselvan de Oliveira 2015-04-02  12181  	int i;
00f0b378 Ville Syrjälä               2014-12-02  12182  
00f0b378 Ville Syrjälä               2014-12-02  12183  	/*
00f0b378 Ville Syrjälä               2014-12-02  12184  	 * Walk the connector list instead of the encoder

:::::: The code at line 12176 was first introduced by commit
:::::: 5448a00d3f0640949c2a9a4d16e163b0b40a3b2e drm/i915: Don't use staged config in check_digital_port_conflicts()

:::::: TO: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>

---
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: 26554 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151209/0013f4f0/attachment-0001.obj>


More information about the Intel-gfx mailing list