Hello Ander Conselvan de Oliveira, The patch 944b0c765757: "drm/i915: Copy the staged connector config to the legacy atomic state" from Mar 20, 2015, leads to the following Smatch warning: drivers/gpu/drm/i915/intel_display.c:11937 intel_modeset_stage_output_state() error: 'connector_state' dereferencing possible ERR_PTR() drivers/gpu/drm/i915/intel_display.c 11928 /* Now we've also updated encoder->new_crtc for all encoders. */ 11929 for_each_intel_connector(dev, connector) { 11930 connector_state = 11931 drm_atomic_get_connector_state(state, &connector->base); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It's complaining that this can return an ERR_PTR. 11932 11933 if (connector->new_encoder) { 11934 if (connector->new_encoder != connector->encoder) 11935 connector->encoder = connector->new_encoder; 11936 } else { 11937 connector_state->crtc = NULL; 11938 } 11939 } regards, dan carpenter _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx