108,7 → 108,6 |
struct drm_crtc_state *crtc_state; |
struct drm_connector *connector; |
struct drm_connector_state *connector_state; |
int ret; |
|
/* |
* We can only steal an encoder coming from a connector, which means we |
139,9 → 138,6 |
if (IS_ERR(connector_state)) |
return PTR_ERR(connector_state); |
|
ret = drm_atomic_set_crtc_for_connector(connector_state, NULL); |
if (ret) |
return ret; |
connector_state->best_encoder = NULL; |
} |
|
269,7 → 265,7 |
struct drm_connector *connector; |
struct drm_connector_state *conn_state; |
int i; |
bool ret; |
int ret; |
|
for_each_crtc_in_state(state, crtc, crtc_state, i) { |
if (!crtc_state->mode_changed && |