Lines Matching refs:asyc
102 struct nouveau_conn_atom *asyc = nouveau_conn_atom(state); in nouveau_conn_atomic_get_property() local
107 *val = asyc->scaler.mode; in nouveau_conn_atomic_get_property()
109 *val = asyc->scaler.underscan.mode; in nouveau_conn_atomic_get_property()
111 *val = asyc->scaler.underscan.hborder; in nouveau_conn_atomic_get_property()
113 *val = asyc->scaler.underscan.vborder; in nouveau_conn_atomic_get_property()
115 *val = asyc->dither.mode; in nouveau_conn_atomic_get_property()
117 *val = asyc->dither.depth; in nouveau_conn_atomic_get_property()
119 *val = asyc->procamp.vibrant_hue; in nouveau_conn_atomic_get_property()
121 *val = asyc->procamp.color_vibrance; in nouveau_conn_atomic_get_property()
134 struct nouveau_conn_atom *asyc = nouveau_conn_atom(state); in nouveau_conn_atomic_set_property() local
169 if (asyc->scaler.mode != val) { in nouveau_conn_atomic_set_property()
170 asyc->scaler.mode = val; in nouveau_conn_atomic_set_property()
171 asyc->set.scaler = true; in nouveau_conn_atomic_set_property()
175 if (asyc->scaler.underscan.mode != val) { in nouveau_conn_atomic_set_property()
176 asyc->scaler.underscan.mode = val; in nouveau_conn_atomic_set_property()
177 asyc->set.scaler = true; in nouveau_conn_atomic_set_property()
181 if (asyc->scaler.underscan.hborder != val) { in nouveau_conn_atomic_set_property()
182 asyc->scaler.underscan.hborder = val; in nouveau_conn_atomic_set_property()
183 asyc->set.scaler = true; in nouveau_conn_atomic_set_property()
187 if (asyc->scaler.underscan.vborder != val) { in nouveau_conn_atomic_set_property()
188 asyc->scaler.underscan.vborder = val; in nouveau_conn_atomic_set_property()
189 asyc->set.scaler = true; in nouveau_conn_atomic_set_property()
193 if (asyc->dither.mode != val) { in nouveau_conn_atomic_set_property()
194 asyc->dither.mode = val; in nouveau_conn_atomic_set_property()
195 asyc->set.dither = true; in nouveau_conn_atomic_set_property()
199 if (asyc->dither.mode != val) { in nouveau_conn_atomic_set_property()
200 asyc->dither.depth = val; in nouveau_conn_atomic_set_property()
201 asyc->set.dither = true; in nouveau_conn_atomic_set_property()
205 if (asyc->procamp.vibrant_hue != val) { in nouveau_conn_atomic_set_property()
206 asyc->procamp.vibrant_hue = val; in nouveau_conn_atomic_set_property()
207 asyc->set.procamp = true; in nouveau_conn_atomic_set_property()
211 if (asyc->procamp.color_vibrance != val) { in nouveau_conn_atomic_set_property()
212 asyc->procamp.color_vibrance = val; in nouveau_conn_atomic_set_property()
213 asyc->set.procamp = true; in nouveau_conn_atomic_set_property()
226 struct nouveau_conn_atom *asyc = nouveau_conn_atom(state); in nouveau_conn_atomic_destroy_state() local
227 __drm_atomic_helper_connector_destroy_state(&asyc->state); in nouveau_conn_atomic_destroy_state()
228 kfree(asyc); in nouveau_conn_atomic_destroy_state()
235 struct nouveau_conn_atom *asyc; in nouveau_conn_atomic_duplicate_state() local
236 if (!(asyc = kmalloc(sizeof(*asyc), GFP_KERNEL))) in nouveau_conn_atomic_duplicate_state()
238 __drm_atomic_helper_connector_duplicate_state(connector, &asyc->state); in nouveau_conn_atomic_duplicate_state()
239 asyc->dither = armc->dither; in nouveau_conn_atomic_duplicate_state()
240 asyc->scaler = armc->scaler; in nouveau_conn_atomic_duplicate_state()
241 asyc->procamp = armc->procamp; in nouveau_conn_atomic_duplicate_state()
242 asyc->set.mask = 0; in nouveau_conn_atomic_duplicate_state()
243 return &asyc->state; in nouveau_conn_atomic_duplicate_state()
250 struct nouveau_conn_atom *asyc; in nouveau_conn_reset() local
253 if (WARN_ON(!(asyc = kzalloc(sizeof(*asyc), GFP_KERNEL)))) in nouveau_conn_reset()
260 __drm_atomic_helper_connector_reset(connector, &asyc->state); in nouveau_conn_reset()
262 asyc = &nv_connector->properties_state; in nouveau_conn_reset()
265 asyc->dither.mode = DITHERING_MODE_AUTO; in nouveau_conn_reset()
266 asyc->dither.depth = DITHERING_DEPTH_AUTO; in nouveau_conn_reset()
267 asyc->scaler.mode = DRM_MODE_SCALE_NONE; in nouveau_conn_reset()
268 asyc->scaler.underscan.mode = UNDERSCAN_OFF; in nouveau_conn_reset()
269 asyc->procamp.color_vibrance = 150; in nouveau_conn_reset()
270 asyc->procamp.vibrant_hue = 90; in nouveau_conn_reset()
276 asyc->scaler.mode = DRM_MODE_SCALE_FULLSCREEN; in nouveau_conn_reset()
770 struct nouveau_conn_atom *asyc = &nv_connector->properties_state; in nouveau_connector_set_property() local
775 &asyc->state, in nouveau_connector_set_property()
784 nv_connector->scaling_mode = asyc->scaler.mode; in nouveau_connector_set_property()
785 nv_connector->dithering_mode = asyc->dither.mode; in nouveau_connector_set_property()