Home
last modified time | relevance | path

Searched refs:nv_connector (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_connector.c398 struct nouveau_connector *nv_connector = nouveau_connector(connector); in nouveau_connector_destroy() local
399 nvif_notify_fini(&nv_connector->hpd); in nouveau_connector_destroy()
400 kfree(nv_connector->edid); in nouveau_connector_destroy()
403 if (nv_connector->aux.transfer) in nouveau_connector_destroy()
404 drm_dp_aux_unregister(&nv_connector->aux); in nouveau_connector_destroy()
458 struct nouveau_connector *nv_connector = nouveau_connector(connector); in nouveau_connector_of_detect() local
473 nv_connector->edid = in nouveau_connector_of_detect()
487 struct nouveau_connector *nv_connector = nouveau_connector(connector); in nouveau_connector_set_encoder() local
491 if (nv_connector->detected_encoder == nv_encoder) in nouveau_connector_set_encoder()
493 nv_connector->detected_encoder = nv_encoder; in nouveau_connector_set_encoder()
[all …]
Dnouveau_connector.h91 struct nouveau_connector *nv_connector = NULL; in nouveau_crtc_connector_get() local
97 nv_connector = nouveau_connector(connector); in nouveau_crtc_connector_get()
103 return nv_connector; in nouveau_crtc_connector_get()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Ddfp.c187 struct nouveau_connector *nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv04_dfp_mode_fixup() local
189 if (!nv_connector->native_mode || in nv04_dfp_mode_fixup()
190 nv_connector->scaling_mode == DRM_MODE_SCALE_NONE || in nv04_dfp_mode_fixup()
191 mode->hdisplay > nv_connector->native_mode->hdisplay || in nv04_dfp_mode_fixup()
192 mode->vdisplay > nv_connector->native_mode->vdisplay) { in nv04_dfp_mode_fixup()
196 nv_encoder->mode = *nv_connector->native_mode; in nv04_dfp_mode_fixup()
197 adjusted_mode->clock = nv_connector->native_mode->clock; in nv04_dfp_mode_fixup()
289 struct nouveau_connector *nv_connector = nouveau_crtc_connector_get(nv_crtc); in nv04_dfp_mode_set() local
292 struct drm_connector *connector = &nv_connector->base; in nv04_dfp_mode_set()
331 if (nv_connector->scaling_mode == DRM_MODE_SCALE_NONE || in nv04_dfp_mode_set()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c343 struct nouveau_connector *nv_connector = in nv50_outp_atomic_check() local
346 nv_connector->native_mode); in nv50_outp_atomic_check()
483 struct nouveau_connector *nv_connector; in nv50_audio_enable() local
490 u8 data[sizeof(nv_connector->base.eld)]; in nv50_audio_enable()
499 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_audio_enable()
500 if (!drm_detect_monitor_audio(nv_connector->edid)) in nv50_audio_enable()
503 memcpy(args.data, nv_connector->base.eld, sizeof(args.data)); in nv50_audio_enable()
550 struct nouveau_connector *nv_connector; in nv50_hdmi_enable() local
557 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_hdmi_enable()
558 if (!drm_detect_hdmi_monitor(nv_connector->edid)) in nv50_hdmi_enable()
[all …]