[Intel-gfx] [PATCH v3 6/7] drm/atomic: Clean up steal_encoder, v2.

kbuild test robot lkp at intel.com
Thu Mar 3 09:41:41 UTC 2016


Hi Maarten,

[auto build test WARNING on drm/drm-next]
[also build test WARNING on next-20160303]
[cannot apply to v4.5-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Maarten-Lankhorst/drm-atomic-Fix-encoder-stealing-v3/20160303-172123
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x014-201609 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/drm_atomic_helper.c: In function 'update_connector_routing':
>> drivers/gpu/drm/drm_atomic_helper.c:268:11: warning: unused variable 'ret' [-Wunused-variable]
     int idx, ret;
              ^

vim +/ret +268 drivers/gpu/drm/drm_atomic_helper.c

c6c869e2 Maarten Lankhorst 2016-03-03  252  
c6c869e2 Maarten Lankhorst 2016-03-03  253  		crtc_state = drm_atomic_get_existing_crtc_state(state, encoder_crtc);
c6c869e2 Maarten Lankhorst 2016-03-03  254  		crtc_state->connectors_changed = true;
c6c869e2 Maarten Lankhorst 2016-03-03  255  
49bf38f8 Maarten Lankhorst 2016-03-03  256  		return;
623369e5 Daniel Vetter     2014-09-16  257  	}
623369e5 Daniel Vetter     2014-09-16  258  }
623369e5 Daniel Vetter     2014-09-16  259  
623369e5 Daniel Vetter     2014-09-16  260  static int
184a4cc1 Maarten Lankhorst 2016-03-03  261  update_connector_routing(struct drm_atomic_state *state,
184a4cc1 Maarten Lankhorst 2016-03-03  262  			 struct drm_connector *connector,
184a4cc1 Maarten Lankhorst 2016-03-03  263  			 struct drm_connector_state *connector_state)
623369e5 Daniel Vetter     2014-09-16  264  {
b5ceff20 Ville Syrjälä     2015-03-10  265  	const struct drm_connector_helper_funcs *funcs;
623369e5 Daniel Vetter     2014-09-16  266  	struct drm_encoder *new_encoder;
623369e5 Daniel Vetter     2014-09-16  267  	struct drm_crtc_state *crtc_state;
623369e5 Daniel Vetter     2014-09-16 @268  	int idx, ret;
623369e5 Daniel Vetter     2014-09-16  269  
17a38d9c Daniel Vetter     2015-02-22  270  	DRM_DEBUG_ATOMIC("Updating routing for [CONNECTOR:%d:%s]\n",
623369e5 Daniel Vetter     2014-09-16  271  			 connector->base.id,
623369e5 Daniel Vetter     2014-09-16  272  			 connector->name);
623369e5 Daniel Vetter     2014-09-16  273  
623369e5 Daniel Vetter     2014-09-16  274  	if (connector->state->crtc != connector_state->crtc) {
623369e5 Daniel Vetter     2014-09-16  275  		if (connector->state->crtc) {
623369e5 Daniel Vetter     2014-09-16  276  			idx = drm_crtc_index(connector->state->crtc);

:::::: The code at line 268 was first introduced by commit
:::::: 623369e533e8a5f85999d605723efa4523554bae drm: Atomic crtc/connector updates using crtc/plane helper interfaces

:::::: TO: Daniel Vetter <daniel.vetter at ffwll.ch>
:::::: 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: 21254 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160303/1e4c75c9/attachment-0001.obj>


More information about the dri-devel mailing list