mirror of https://gitee.com/openkylin/linux.git
drm/i915: Do not touch best_encoder for load detect.
This should only be touched by drm_atomic_helper. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1452160762-30487-4-git-send-email-maarten.lankhorst@linux.intel.com
This commit is contained in:
parent
ead8b66570
commit
7811b1240d
|
@ -10521,7 +10521,6 @@ bool intel_get_load_detect_pipe(struct drm_connector *connector,
|
|||
}
|
||||
|
||||
connector_state->crtc = crtc;
|
||||
connector_state->best_encoder = &intel_encoder->base;
|
||||
|
||||
crtc_state = intel_atomic_get_crtc_state(state, intel_crtc);
|
||||
if (IS_ERR(crtc_state)) {
|
||||
|
@ -10617,7 +10616,6 @@ void intel_release_load_detect_pipe(struct drm_connector *connector,
|
|||
if (IS_ERR(crtc_state))
|
||||
goto fail;
|
||||
|
||||
connector_state->best_encoder = NULL;
|
||||
connector_state->crtc = NULL;
|
||||
|
||||
crtc_state->base.enable = crtc_state->base.active = false;
|
||||
|
|
Loading…
Reference in New Issue