Lines Matching refs:state

51 				    const struct drm_connector_state *state,  in intel_connector_atomic_get_property()  argument
90 crtc_state = kmemdup(crtc->state, sizeof(*crtc_state), GFP_KERNEL); in intel_crtc_duplicate_state()
110 struct drm_crtc_state *state) in intel_crtc_destroy_state() argument
112 drm_atomic_helper_crtc_destroy_state(crtc, state); in intel_crtc_destroy_state()
141 struct drm_atomic_state *drm_state = crtc_state->base.state; in intel_atomic_setup_scalers()
194 struct drm_plane_state *state; in intel_atomic_setup_scalers() local
196 state = drm_atomic_get_plane_state(drm_state, plane); in intel_atomic_setup_scalers()
197 if (IS_ERR(state)) { in intel_atomic_setup_scalers()
200 return PTR_ERR(state); in intel_atomic_setup_scalers()
279 struct intel_atomic_state *state = to_intel_atomic_state(s); in intel_atomic_get_shared_dpll_state() local
283 if (!state->dpll_set) { in intel_atomic_get_shared_dpll_state()
284 state->dpll_set = true; in intel_atomic_get_shared_dpll_state()
287 state->shared_dpll); in intel_atomic_get_shared_dpll_state()
290 return state->shared_dpll; in intel_atomic_get_shared_dpll_state()
296 struct intel_atomic_state *state = kzalloc(sizeof(*state), GFP_KERNEL); in intel_atomic_state_alloc() local
298 if (!state || drm_atomic_state_init(dev, &state->base) < 0) { in intel_atomic_state_alloc()
299 kfree(state); in intel_atomic_state_alloc()
303 return &state->base; in intel_atomic_state_alloc()
308 struct intel_atomic_state *state = to_intel_atomic_state(s); in intel_atomic_state_clear() local
309 drm_atomic_state_default_clear(&state->base); in intel_atomic_state_clear()
310 state->dpll_set = false; in intel_atomic_state_clear()