Home
last modified time | relevance | path

Searched refs:drm_mode (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/
Ddrm_modes.c155 struct drm_display_mode *drm_mode; in drm_cvt_mode() local
167 drm_mode = drm_mode_create(dev); in drm_cvt_mode()
168 if (!drm_mode) in drm_cvt_mode()
191 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()
204 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()
253 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
273 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode()
277 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode()
278 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode()
279 drm_mode->hsync_start = drm_mode->hsync_end - in drm_cvt_mode()
[all …]
/Linux-v5.4/drivers/gpu/drm/i2c/
Dch7006_mode.c175 const struct drm_display_mode *drm_mode) in ch7006_lookup_mode() argument
185 if (mode->mode.hdisplay != drm_mode->hdisplay || in ch7006_lookup_mode()
186 mode->mode.vdisplay != drm_mode->vdisplay || in ch7006_lookup_mode()
187 mode->mode.vtotal != drm_mode->vtotal || in ch7006_lookup_mode()
188 mode->mode.htotal != drm_mode->htotal || in ch7006_lookup_mode()
189 mode->mode.clock != drm_mode->clock) in ch7006_lookup_mode()
Dch7006_drv.c114 struct drm_display_mode *drm_mode, in ch7006_encoder_mode_set() argument
141 start_active = (drm_mode->htotal & ~0x7) - (drm_mode->hsync_start & ~0x7); in ch7006_encoder_mode_set()
150 if (drm_mode->flags & DRM_MODE_FLAG_PVSYNC) in ch7006_encoder_mode_set()
152 if (drm_mode->flags & DRM_MODE_FLAG_PHSYNC) in ch7006_encoder_mode_set()
Dch7006_priv.h114 const struct drm_display_mode *drm_mode);
/Linux-v5.4/Documentation/gpu/
Ddrm-uapi.rst336 .. kernel-doc:: include/uapi/drm/drm_mode.h
339 .. kernel-doc:: include/uapi/drm/drm_mode.h
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3438 decide_crtc_timing_for_drm_display_mode(struct drm_display_mode *drm_mode, in decide_crtc_timing_for_drm_display_mode() argument
3443 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode()
3444 } else if (native_mode->clock == drm_mode->clock && in decide_crtc_timing_for_drm_display_mode()
3445 native_mode->htotal == drm_mode->htotal && in decide_crtc_timing_for_drm_display_mode()
3446 native_mode->vtotal == drm_mode->vtotal) { in decide_crtc_timing_for_drm_display_mode()
3447 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode()
3524 const struct drm_display_mode *drm_mode, in create_stream_for_sink() argument
3533 struct drm_display_mode mode = *drm_mode; in create_stream_for_sink()
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv17.c458 struct drm_display_mode *drm_mode, in nv17_tv_mode_set() argument