Lines Matching refs:state
58 asyh->state.gamma_lut,
125 struct drm_connector *connector = asyc->state.connector;
126 struct drm_display_mode *omode = &asyh->state.adjusted_mode;
127 struct drm_display_mode *umode = &asyh->state.mode;
229 struct drm_property_blob *olut = asyh->state.gamma_lut;
270 struct drm_display_mode *mode = &asyh->state.adjusted_mode;
318 nv50_head_atomic_check(struct drm_crtc *crtc, struct drm_crtc_state *state)
322 struct nv50_head_atom *armh = nv50_head_atom(crtc->state);
323 struct nv50_head_atom *asyh = nv50_head_atom(state);
329 NV_ATOMIC(drm, "%s atomic_check %d\n", crtc->name, asyh->state.active);
330 if (asyh->state.active) {
331 for_each_new_connector_in_state(asyh->state.state, conn, conns, i) {
338 if (armh->state.active) {
340 if (asyh->state.mode_changed)
352 if (asyh->state.mode_changed || asyh->state.connectors_changed)
355 if (asyh->state.color_mgmt_changed ||
389 if (!drm_atomic_crtc_needs_modeset(&asyh->state)) {
427 nv50_atom(asyh->state.state)->lock_core = true;
439 struct drm_crtc_state *state)
441 struct nv50_head_atom *asyh = nv50_head_atom(state);
442 __drm_atomic_helper_crtc_destroy_state(&asyh->state);
449 struct nv50_head_atom *armh = nv50_head_atom(crtc->state);
453 __drm_atomic_helper_crtc_duplicate_state(crtc, &asyh->state);
469 return &asyh->state;
480 if (crtc->state)
481 nv50_head_atomic_destroy_state(crtc, crtc->state);
483 __drm_atomic_helper_crtc_reset(crtc, &asyh->state);