Lines Matching refs:restore_state
10107 struct drm_atomic_state *state = NULL, *restore_state = NULL; in intel_get_load_detect_pipe() local
10116 old->restore_state = NULL; in intel_get_load_detect_pipe()
10174 restore_state = drm_atomic_state_alloc(dev); in intel_get_load_detect_pipe()
10175 if (!state || !restore_state) { in intel_get_load_detect_pipe()
10181 restore_state->acquire_ctx = ctx; in intel_get_load_detect_pipe()
10212 ret = PTR_ERR_OR_ZERO(drm_atomic_get_connector_state(restore_state, connector)); in intel_get_load_detect_pipe()
10214 ret = PTR_ERR_OR_ZERO(drm_atomic_get_crtc_state(restore_state, crtc)); in intel_get_load_detect_pipe()
10216 ret = drm_atomic_add_affected_planes(restore_state, crtc); in intel_get_load_detect_pipe()
10228 old->restore_state = restore_state; in intel_get_load_detect_pipe()
10240 if (restore_state) { in intel_get_load_detect_pipe()
10241 drm_atomic_state_put(restore_state); in intel_get_load_detect_pipe()
10242 restore_state = NULL; in intel_get_load_detect_pipe()
10258 struct drm_atomic_state *state = old->restore_state; in intel_release_load_detect_pipe()