Searched refs:restore_state (Results 1 - 1 of 1) sorted by relevance

/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_load_detect.c58 struct drm_atomic_state *state = NULL, *restore_state = NULL; local
122 restore_state = drm_atomic_state_alloc(dev);
123 if (!state || !restore_state) {
131 restore_state->acquire_ctx = ctx;
132 to_intel_atomic_state(restore_state)->internal = true;
161 ret = PTR_ERR_OR_ZERO(drm_atomic_get_connector_state(restore_state, connector));
163 ret = PTR_ERR_OR_ZERO(drm_atomic_get_crtc_state(restore_state, &crtc->base));
165 ret = drm_atomic_add_affected_planes(restore_state, &crtc->base);
185 return restore_state;
192 if (restore_state) {
[all...]

Completed in 123 milliseconds