Lines Matching full:tv

30  * Integrated TV-out support for the 915GM and 945GM.
377 * Register programming values for TV modes.
950 int format = conn_state->tv.mode; in intel_tv_mode_find()
968 /* Ensure TV refresh is close to desired refresh */ in intel_tv_mode_valid()
1040 /* TV has it's own notion of sync and other mode flags, so clear them. */ in intel_tv_mode_to_mode()
1149 drm_dbg_kms(&dev_priv->drm, "TV mode: " DRM_MODE_FMT "\n", in intel_tv_get_config()
1161 /* pixel counter doesn't work on i965gm TV output */ in intel_tv_get_config()
1178 conn_state->tv.margins.top - in intel_tv_vert_scaling()
1179 conn_state->tv.margins.bottom != in intel_tv_vert_scaling()
1209 drm_dbg_kms(&dev_priv->drm, "forcing bpc to 8 for TV\n"); in intel_tv_compute_config()
1238 top = conn_state->tv.margins.top; in intel_tv_compute_config()
1239 bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1258 tv_conn_state->margins.top = conn_state->tv.margins.top; in intel_tv_compute_config()
1259 tv_conn_state->margins.bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1264 drm_dbg_kms(&dev_priv->drm, "TV mode: " DRM_MODE_FMT "\n", in intel_tv_compute_config()
1269 * using the TV encoder: in intel_tv_compute_config()
1281 * | | | | pipe vblank/first part of tv vblank in intel_tv_compute_config()
1285 * remainder of tv vblank in intel_tv_compute_config()
1287 * When the TV encoder is used the pipe wants to run faster in intel_tv_compute_config()
1288 * than expected rate. During the active portion the TV in intel_tv_compute_config()
1290 * check. When the TV encoder reaches the bottom margin the in intel_tv_compute_config()
1291 * pipe simply stops. Once we reach the TV vblank the pipe is in intel_tv_compute_config()
1295 * of the TV vblank/top margin. The pipe starts up again when in intel_tv_compute_config()
1296 * the TV encoder exits the top margin. in intel_tv_compute_config()
1304 * TV vblank/margins. But since vtotal was selected such that in intel_tv_compute_config()
1333 conn_state->tv.margins.left, in intel_tv_compute_config()
1334 conn_state->tv.margins.right); in intel_tv_compute_config()
1341 /* pixel counter doesn't work on i965gm TV output */ in intel_tv_compute_config()
1554 xpos = conn_state->tv.margins.left; in intel_tv_pre_enable()
1556 xsize -= (conn_state->tv.margins.left + in intel_tv_pre_enable()
1557 conn_state->tv.margins.right); in intel_tv_pre_enable()
1592 /* Disable TV interrupts around load detect or we'll recurse */ in intel_tv_detect_type()
1604 /* Poll for TV detection */ in intel_tv_detect_type()
1621 * The TV sense state should be cleared to zero on cantiga platform. Otherwise in intel_tv_detect_type()
1622 * the TV is misdetected. This is hardware requirement. in intel_tv_detect_type()
1636 drm_dbg_kms(&dev_priv->drm, "TV detected: %x, %x\n", tv_ctl, tv_dac); in intel_tv_detect_type()
1645 "Detected Composite TV connection\n"); in intel_tv_detect_type()
1649 "Detected S-Video TV connection\n"); in intel_tv_detect_type()
1653 "Detected Component TV connection\n"); in intel_tv_detect_type()
1656 drm_dbg_kms(&dev_priv->drm, "Unrecognised TV connection\n"); in intel_tv_detect_type()
1680 * Here we set accurate tv format according to connector type
1681 * i.e Component TV should not be assigned by NTSC or PAL
1704 connector->state->tv.mode = i; in intel_tv_find_better_format()
1762 /* Choose preferred mode according to line number of TV format */
1769 /* prefer 480 line modes for all SD TV modes */ in intel_tv_is_preferred_mode()
1812 * We take the TV mode and scale it to look in intel_tv_get_modes()
1820 drm_dbg_kms(&dev_priv->drm, "TV mode: " DRM_MODE_FMT "\n", in intel_tv_get_modes()
1859 if (old_state->tv.mode != new_state->tv.mode || in intel_tv_atomic_check()
1860 old_state->tv.margins.left != new_state->tv.margins.left || in intel_tv_atomic_check()
1861 old_state->tv.margins.right != new_state->tv.margins.right || in intel_tv_atomic_check()
1862 old_state->tv.margins.top != new_state->tv.margins.top || in intel_tv_atomic_check()
1863 old_state->tv.margins.bottom != new_state->tv.margins.bottom) { in intel_tv_atomic_check()
1900 drm_dbg_kms(&dev_priv->drm, "Integrated TV is not present.\n"); in intel_tv_init()
1905 * Sanity check the TV output by checking to see if the in intel_tv_init()
1946 * for the TV must be kept alive increasing power drain and starving in intel_tv_init()
1958 DRM_MODE_ENCODER_TVDAC, "TV"); in intel_tv_init()
1978 state->tv.margins.left = 54; in intel_tv_init()
1979 state->tv.margins.top = 36; in intel_tv_init()
1980 state->tv.margins.right = 46; in intel_tv_init()
1981 state->tv.margins.bottom = 37; in intel_tv_init()
1983 state->tv.mode = initial_mode; in intel_tv_init()
1989 /* Create TV properties then attach current values */ in intel_tv_init()
2001 state->tv.mode); in intel_tv_init()
2004 state->tv.margins.left); in intel_tv_init()
2007 state->tv.margins.top); in intel_tv_init()
2010 state->tv.margins.right); in intel_tv_init()
2013 state->tv.margins.bottom); in intel_tv_init()