Searched refs:native_mode (Results 1 - 14 of 14) sorted by relevance

/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c314 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; local
315 unsigned hblank = native_mode->htotal - native_mode->hdisplay;
316 unsigned vblank = native_mode->vtotal - native_mode->vdisplay;
317 unsigned hover = native_mode->hsync_start - native_mode->hdisplay;
318 unsigned vover = native_mode->vsync_start - native_mode
[all...]
H A Dradeon_connectors.c392 radeon_encoder->native_mode = *preferred_mode;
394 radeon_encoder->native_mode.clock = 0;
459 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; local
461 if (native_mode->hdisplay != 0 &&
462 native_mode->vdisplay != 0 &&
463 native_mode->clock != 0) {
464 mode = drm_mode_duplicate(dev, native_mode);
469 } else if (native_mode->hdisplay != 0 &&
470 native_mode
490 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; local
734 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; local
812 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; local
848 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; local
1599 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; local
1683 struct drm_display_mode *native_mode = &radeon_encoder->native_mode; local
[all...]
H A Dradeon_legacy_crtc.c62 struct drm_display_mode *native_mode = &radeon_crtc->native_mode; local
109 if (native_mode->hdisplay == 0 ||
110 native_mode->vdisplay == 0) {
114 if (xres > native_mode->hdisplay)
115 xres = native_mode->hdisplay;
116 if (yres > native_mode->vdisplay)
117 yres = native_mode->vdisplay;
119 if (xres == native_mode->hdisplay)
121 if (yres == native_mode
[all...]
H A Dradeon_combios.c1126 lvds->native_mode.vdisplay =
1130 lvds->native_mode.vdisplay =
1134 lvds->native_mode.hdisplay =
1138 lvds->native_mode.hdisplay =
1141 if ((lvds->native_mode.hdisplay < 640) ||
1142 (lvds->native_mode.vdisplay < 480)) {
1143 lvds->native_mode.hdisplay = 640;
1144 lvds->native_mode.vdisplay = 480;
1164 DRM_INFO("Panel Size %dx%d\n", lvds->native_mode.hdisplay,
1165 lvds->native_mode
[all...]
H A Dradeon_atombios.c1623 lvds->native_mode.clock =
1625 lvds->native_mode.hdisplay =
1627 lvds->native_mode.vdisplay =
1629 lvds->native_mode.htotal = lvds->native_mode.hdisplay +
1631 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay +
1633 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start +
1635 lvds->native_mode
[all...]
H A Dradeon_mode.h335 struct drm_display_mode native_mode; member in struct:radeon_crtc
375 struct drm_display_mode native_mode; member in struct:radeon_encoder_lvds
419 struct drm_display_mode native_mode; member in struct:radeon_encoder_atom_dig
443 struct drm_display_mode native_mode; member in struct:radeon_encoder
H A Dradeon_display.c1692 else if (mode->hdisplay < radeon_encoder->native_mode.hdisplay ||
1693 mode->vdisplay < radeon_encoder->native_mode.vdisplay)
1698 memcpy(&radeon_crtc->native_mode,
1699 &radeon_encoder->native_mode,
1702 dst_v = radeon_crtc->native_mode.vdisplay;
1704 dst_h = radeon_crtc->native_mode.hdisplay;
/drivers/video/
H A Dof_videomode.c44 index = disp->native_mode;
H A Dof_display_timing.c140 struct device_node *native_mode; local
174 native_mode = entry;
192 disp->native_mode = 0;
216 if (native_mode == entry)
217 disp->native_mode = disp->num_timings;
224 * native_mode points to the device_node returned by of_parse_phandle
227 of_node_put(native_mode);
231 disp->native_mode + 1);
236 of_node_put(native_mode);
/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.h81 struct drm_display_mode *native_mode; member in struct:nouveau_connector
H A Dnouveau_connector.c648 struct drm_display_mode *native = nv_connector->native_mode, *m;
684 struct drm_display_mode *mode = nv_connector->native_mode;
738 if (nv_connector->native_mode) {
739 drm_mode_destroy(dev, nv_connector->native_mode);
740 nv_connector->native_mode = NULL;
752 nv_connector->native_mode = drm_mode_duplicate(dev, &mode);
765 if (!nv_connector->native_mode)
766 nv_connector->native_mode =
768 if (ret == 0 && nv_connector->native_mode) {
771 mode = drm_mode_duplicate(dev, nv_connector->native_mode);
[all...]
H A Dnv50_display.c702 if (nv_connector && nv_connector->native_mode)
706 omode = nv_connector->native_mode;
1506 if (nv_connector && nv_connector->native_mode) {
1509 *adjusted_mode = *nv_connector->native_mode;
1847 if (nv_connector && nv_connector->native_mode) {
1850 *adjusted_mode = *nv_connector->native_mode;
2120 if (nv_connector && nv_connector->native_mode) {
2123 *adjusted_mode = *nv_connector->native_mode;
/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c189 if (!nv_connector->native_mode ||
191 mode->hdisplay > nv_connector->native_mode->hdisplay ||
192 mode->vdisplay > nv_connector->native_mode->vdisplay) {
196 nv_encoder->mode = *nv_connector->native_mode;
197 adjusted_mode->clock = nv_connector->native_mode->clock;
541 * disconnected LVDS encoder there is no native_mode
595 if (connector && connector->native_mode)
598 connector->native_mode->clock);
/drivers/gpu/drm/tilcdc/
H A Dtilcdc_panel.c190 if (timings->native_mode == i)

Completed in 205 milliseconds