| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/ |
| H A D | panel-simple.c | 353 m->hdisplay, m->vdisplay, in panel_simple_get_display_modes() 1003 .hdisplay = 1280, 1029 .hdisplay = 480, 1053 .hdisplay = 800, 1103 .hdisplay = 1024, 1150 .hdisplay = 1366, 1173 .hdisplay = 1366, 1201 .hdisplay = 1366, 1230 .hdisplay = 1366, 1252 .hdisplay = 1920, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_modes.c | 140 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay, in drm_cvt_mode() argument 161 if (!hdisplay || !vdisplay) in drm_cvt_mode() 182 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY); in drm_cvt_mode() 191 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode() 213 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode() 215 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) in drm_cvt_mode() 217 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay)) in drm_cvt_mode() 219 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay)) in drm_cvt_mode() 221 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay)) in drm_cvt_mode() 273 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tve200/ |
| H A D | tve200_display.c | 82 if (!(mode->hdisplay == 352 && mode->vdisplay == 240) && /* SIF(525) */ in tve200_display_check() 83 !(mode->hdisplay == 352 && mode->vdisplay == 288) && /* CIF(625) */ in tve200_display_check() 84 !(mode->hdisplay == 640 && mode->vdisplay == 480) && /* VGA */ in tve200_display_check() 85 !(mode->hdisplay == 720 && mode->vdisplay == 480) && /* D1 */ in tve200_display_check() 86 !(mode->hdisplay == 720 && mode->vdisplay == 576)) { /* D1 */ in tve200_display_check() 88 mode->hdisplay, mode->vdisplay); in tve200_display_check() 105 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { in tve200_display_check() 171 if ((mode->hdisplay == 352 && mode->vdisplay == 240) || /* SIF(525) */ in tve200_display_enable() 172 (mode->hdisplay == 352 && mode->vdisplay == 288)) { /* CIF(625) */ in tve200_display_enable() 175 } else if (mode->hdisplay == 640 && mode->vdisplay == 480) { in tve200_display_enable() [all …]
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_modes.h | 136 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \ 153 .hdisplay = (hd), .hsync_start = (hd), .hsync_end = (hd), \ 231 u16 hdisplay; member 405 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \ 444 int hdisplay, int vdisplay, int vrefresh, 448 int hdisplay, int vdisplay, int vrefresh, 451 int hdisplay, int vdisplay, 468 int *hdisplay, int *vdisplay);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/kirin960/ |
| H A D | dw_drm_dsi.c | 80 DRM_DEBUG_DRIVER("Checking mode %ix%i@%i clock: %i...", mode->hdisplay, in dsi_encoder_phy_mode_valid() 82 if ((mode->hdisplay == 1920 && mode->vdisplay == 1080 && mode->clock == 148500) || in dsi_encoder_phy_mode_valid() 83 (mode->hdisplay == 1920 && mode->vdisplay == 1080 && mode->clock == 80192) || in dsi_encoder_phy_mode_valid() 84 (mode->hdisplay == 1920 && mode->vdisplay == 1080 && mode->clock == 74250) || in dsi_encoder_phy_mode_valid() 85 (mode->hdisplay == 1920 && mode->vdisplay == 1080 && mode->clock == 61855) || in dsi_encoder_phy_mode_valid() 86 (mode->hdisplay == 1680 && mode->vdisplay == 1050 && mode->clock == 147116) || in dsi_encoder_phy_mode_valid() 87 (mode->hdisplay == 1680 && mode->vdisplay == 1050 && mode->clock == 146250) || in dsi_encoder_phy_mode_valid() 88 (mode->hdisplay == 1680 && mode->vdisplay == 1050 && mode->clock == 144589) || in dsi_encoder_phy_mode_valid() 89 (mode->hdisplay == 1600 && mode->vdisplay == 1200 && mode->clock == 160961) || in dsi_encoder_phy_mode_valid() 90 (mode->hdisplay == 1600 && mode->vdisplay == 900 && mode->clock == 118963) || in dsi_encoder_phy_mode_valid() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | tvnv17.c | 207 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) { in nv17_tv_get_ld_modes() 219 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay && in nv17_tv_get_ld_modes() 237 int hdisplay; in nv17_tv_get_hd_modes() member 253 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes() 257 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes() 263 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay, in nv17_tv_get_hd_modes() 270 if (output_mode->hdisplay <= 720 in nv17_tv_get_hd_modes() 271 || output_mode->hdisplay >= 1920) { in nv17_tv_get_hd_modes() 273 mode->hsync_start = (mode->hdisplay + (mode->htotal in nv17_tv_get_hd_modes() 274 - mode->hdisplay) * 9 / 10) & ~7; in nv17_tv_get_hd_modes() [all …]
|
| H A D | dfp.c | 192 mode->hdisplay > nv_connector->native_mode->hdisplay || in nv04_dfp_mode_fixup() 301 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 304 (output_mode->hsync_start - output_mode->hdisplay) >= in nv04_dfp_mode_set() 306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay; in nv04_dfp_mode_set() 312 regp->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 335 else if (adjusted_mode->hdisplay == output_mode->hdisplay && in nv04_dfp_mode_set() 375 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay; in nv04_dfp_mode_set() 376 panel_ratio = (1 << 12) * output_mode->hdisplay / output_mode->vdisplay; in nv04_dfp_mode_set() 394 diff = output_mode->hdisplay - in nv04_dfp_mode_set() 405 scale = (1 << 12) * adjusted_mode->hdisplay / output_mode->hdisplay; in nv04_dfp_mode_set() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_encoders.c | 169 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 171 unsigned hover = native_mode->hsync_start - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 179 adjusted_mode->hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup() 182 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup() 183 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in amdgpu_panel_mode_fixup() 192 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup()
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | vidmode.c | 259 rep.hdisplay = VidModeGetModeValue(mode, VIDMODE_H_DISPLAY); in ProcVidModeGetModeLine() 273 rep.hdisplay, rep.hsyncstart, rep.hsyncend, rep.htotal); in ProcVidModeGetModeLine() 289 swaps(&rep.hdisplay); in ProcVidModeGetModeLine() 307 .hdisplay = rep.hdisplay, in ProcVidModeGetModeLine() 378 .hdisplay = VidModeGetModeValue(mode, VIDMODE_H_DISPLAY), in ProcVidModeGetAllModeLines() 392 swaps(&mdinf.hdisplay); in ProcVidModeGetAllModeLines() 407 .hdisplay = mdinf.hdisplay, in ProcVidModeGetAllModeLines() 430 (VidModeGetModeValue(mode, VIDMODE_H_DISPLAY) == stuff->hdisplay \ 477 stuff->hdisplay = oldstuff->hdisplay; in ProcVidModeAddModeLine() 503 stuff->hdisplay, stuff->hsyncstart, in ProcVidModeAddModeLine() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | drm_modes.c | 90 return mode1->hdisplay == mode2->hdisplay && in drm_mode_match_timings() 210 dmode->hdisplay = vm->hactive; in drm_display_mode_from_videomode() 211 dmode->hsync_start = dmode->hdisplay + vm->hfront_porch; in drm_display_mode_from_videomode() 249 vm->hactive = dmode->hdisplay; in drm_display_mode_to_videomode() 250 vm->hfront_porch = dmode->hsync_start - dmode->hdisplay; in drm_display_mode_to_videomode()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/ |
| H A D | mdfld_tmd_vid.c | 47 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; in tmd_vid_get_config_mode() 49 mode->hsync_start = mode->hdisplay + \ in tmd_vid_get_config_mode() 55 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ in tmd_vid_get_config_mode() 67 dev_dbg(dev->dev, "hdisplay is %d\n", mode->hdisplay); in tmd_vid_get_config_mode() 77 mode->hdisplay = 480; in tmd_vid_get_config_mode()
|
| H A D | oaktrail_lvds.c | 135 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set() 137 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set() 140 mode->vdisplay) > (mode->hdisplay * in oaktrail_lvds_mode_set() 229 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; in oaktrail_lvds_get_configuration_mode() 231 mode->hsync_start = mode->hdisplay + \ in oaktrail_lvds_get_configuration_mode() 237 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ in oaktrail_lvds_get_configuration_mode() 249 pr_info("hdisplay is %d\n", mode->hdisplay); in oaktrail_lvds_get_configuration_mode()
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/ |
| H A D | 0040-kmssink-Support-fullscreen-prop.patch | 30 + (src.w == self->hdisplay && src.h == self->vdisplay)) { 32 + result.w = self->hdisplay; 38 if ((result.x + result.w) > self->hdisplay) 39 result.w = self->hdisplay - result.x;
|
| H A D | 0039-kmssink-Support-scaling-in-modesetting.patch | 63 + mode->hdisplay, mode->vdisplay); 86 "width", G_TYPE_INT, mode->hdisplay, 110 + if (video_width == self->hdisplay && video_height == self->vdisplay) { 119 - self->render_rect.w == self->hdisplay && 123 + self->render_rect.w == self->hdisplay &&
|
| H A D | 0004-kmssink-Support-render-rectangle-for-plane.patch | 19 + self->hdisplay = mode->hdisplay; 35 + self->render_rect.w == self->hdisplay &&
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/ |
| H A D | 0040-kmssink-Support-fullscreen-prop.patch | 30 + (src.w == self->hdisplay && src.h == self->vdisplay)) { 32 + result.w = self->hdisplay; 38 if ((result.x + result.w) > self->hdisplay) 39 result.w = self->hdisplay - result.x;
|
| H A D | 0039-kmssink-Support-scaling-in-modesetting.patch | 63 + mode->hdisplay, mode->vdisplay); 86 "width", G_TYPE_INT, mode->hdisplay, 110 + if (video_width == self->hdisplay && video_height == self->vdisplay) { 119 - self->render_rect.w == self->hdisplay && 123 + self->render_rect.w == self->hdisplay &&
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/ |
| H A D | 0039-kmssink-Support-fullscreen-prop.patch | 30 + (src.w == self->hdisplay && src.h == self->vdisplay)) { 32 + result.w = self->hdisplay; 38 if ((result.x + result.w) > self->hdisplay) 39 result.w = self->hdisplay - result.x;
|
| H A D | 0038-kmssink-Support-scaling-in-modesetting.patch | 63 + mode->hdisplay, mode->vdisplay); 86 "width", G_TYPE_INT, mode->hdisplay, 110 + if (video_width == self->hdisplay && video_height == self->vdisplay) { 119 - self->render_rect.w == self->hdisplay && 123 + self->render_rect.w == self->hdisplay &&
|
| H A D | 0004-kmssink-Support-render-rectangle-for-plane.patch | 19 + self->hdisplay = mode->hdisplay; 35 + self->render_rect.w == self->hdisplay &&
|
| /OK3568_Linux_fs/kernel/drivers/misc/rk628/ |
| H A D | rk628_hdmirx.c | 60 u32 hdisplay; member 192 edid_init_data[base + 2] = src_mode->hdisplay & 0xff; in rk628_hdmirx_init_edid() 195 val = src_mode->htotal - src_mode->hdisplay; in rk628_hdmirx_init_edid() 200 ((src_mode->hdisplay & 0xf00) >> 4) + ((val & 0xf00) >> 8); in rk628_hdmirx_init_edid() 214 val = src_mode->hsync_start - src_mode->hdisplay; in rk628_hdmirx_init_edid() 232 ((src_mode->hsync_start - src_mode->hdisplay) & 0x300) >> 2; in rk628_hdmirx_init_edid() 438 hdmirx->mode.hdisplay = hact; in rk628_hdmirx_get_timing() 439 hdmirx->mode.hstart = hdmirx->mode.hdisplay + hfrontporch; in rk628_hdmirx_get_timing() 519 src_mode->hdisplay = hdmirx->mode.hdisplay; in rk628_hdmirx_phy_setup() 621 if (hact != hdmirx->mode.hdisplay || vact != hdmirx->mode.vdisplay) { in rk628_hdmirx_status_change() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | radeon_encoders.c | 330 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in radeon_panel_mode_fixup() 332 unsigned hover = native_mode->hsync_start - native_mode->hdisplay; in radeon_panel_mode_fixup() 341 adjusted_mode->hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup() 345 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup() 346 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in radeon_panel_mode_fixup() 356 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/drmDsp/ |
| H A D | modeset.c | 96 cr->scanout = create_sp_bo(dev, m->hdisplay, m->vdisplay, in initialize_screens() 175 if ((w + x) > crtc->crtc->mode.hdisplay) in set_sp_plane() 176 w = crtc->crtc->mode.hdisplay - x; in set_sp_plane() 199 if ((w + x) > crtc->crtc->mode.hdisplay) in set_sp_plane_pset() 200 w = crtc->crtc->mode.hdisplay - x; in set_sp_plane_pset()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | intel_tv.c | 1000 mode->hdisplay = in intel_tv_mode_to_mode() 1002 mode->hsync_start = mode->hdisplay + in intel_tv_mode_to_mode() 1043 mode->hdisplay, mode->vdisplay, in intel_tv_mode_to_mode() 1049 int hdisplay, int left_margin, in intel_tv_scale_mode_horiz() argument 1052 int hsync_start = mode->hsync_start - mode->hdisplay + right_margin; in intel_tv_scale_mode_horiz() 1053 int hsync_end = mode->hsync_end - mode->hdisplay + right_margin; in intel_tv_scale_mode_horiz() 1054 int new_htotal = mode->htotal * hdisplay / in intel_tv_scale_mode_horiz() 1055 (mode->hdisplay - left_margin - right_margin); in intel_tv_scale_mode_horiz() 1059 mode->hdisplay = hdisplay; in intel_tv_scale_mode_horiz() 1060 mode->hsync_start = hdisplay + hsync_start * new_htotal / mode->htotal; in intel_tv_scale_mode_horiz() [all …]
|
| H A D | dvo_ns2501.c | 532 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_valid() 540 if ((mode->hdisplay == 640 && mode->vdisplay == 480 && mode->clock == 25175) || in ns2501_mode_valid() 541 (mode->hdisplay == 800 && mode->vdisplay == 600 && mode->clock == 40000) || in ns2501_mode_valid() 542 (mode->hdisplay == 1024 && mode->vdisplay == 768 && mode->clock == 65000)) { in ns2501_mode_valid() 559 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_set() 591 if (mode->hdisplay == 640 && mode->vdisplay == 480) in ns2501_mode_set() 593 else if (mode->hdisplay == 800 && mode->vdisplay == 600) in ns2501_mode_set() 595 else if (mode->hdisplay == 1024 && mode->vdisplay == 768) in ns2501_mode_set()
|