Lines Matching full:tv
30 * Integrated TV-out support for the 915GM and 945GM.
382 * Register programming values for TV modes.
952 int format = conn_state->tv.legacy_mode; in intel_tv_mode_find()
974 /* Ensure TV refresh is close to desired refresh */ in intel_tv_mode_valid()
1046 /* TV has it's own notion of sync and other mode flags, so clear them. */ in intel_tv_mode_to_mode()
1156 drm_dbg_kms(display->drm, "TV mode: " DRM_MODE_FMT "\n", in intel_tv_get_config()
1168 /* pixel counter doesn't work on i965gm TV output */ in intel_tv_get_config()
1185 conn_state->tv.margins.top - in intel_tv_vert_scaling()
1186 conn_state->tv.margins.bottom != in intel_tv_vert_scaling()
1218 drm_dbg_kms(display->drm, "forcing bpc to 8 for TV\n"); in intel_tv_compute_config()
1247 top = conn_state->tv.margins.top; in intel_tv_compute_config()
1248 bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1267 tv_conn_state->margins.top = conn_state->tv.margins.top; in intel_tv_compute_config()
1268 tv_conn_state->margins.bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1273 drm_dbg_kms(display->drm, "TV mode: " DRM_MODE_FMT "\n", in intel_tv_compute_config()
1278 * using the TV encoder: in intel_tv_compute_config()
1290 * | | | | pipe vblank/first part of tv vblank in intel_tv_compute_config()
1294 * remainder of tv vblank in intel_tv_compute_config()
1296 * When the TV encoder is used the pipe wants to run faster in intel_tv_compute_config()
1297 * than expected rate. During the active portion the TV in intel_tv_compute_config()
1299 * check. When the TV encoder reaches the bottom margin the in intel_tv_compute_config()
1300 * pipe simply stops. Once we reach the TV vblank the pipe is in intel_tv_compute_config()
1304 * of the TV vblank/top margin. The pipe starts up again when in intel_tv_compute_config()
1305 * the TV encoder exits the top margin. in intel_tv_compute_config()
1313 * TV vblank/margins. But since vtotal was selected such that in intel_tv_compute_config()
1342 conn_state->tv.margins.left, in intel_tv_compute_config()
1343 conn_state->tv.margins.right); in intel_tv_compute_config()
1350 /* pixel counter doesn't work on i965gm TV output */ in intel_tv_compute_config()
1558 xpos = conn_state->tv.margins.left; in intel_tv_pre_enable()
1560 xsize -= (conn_state->tv.margins.left + in intel_tv_pre_enable()
1561 conn_state->tv.margins.right); in intel_tv_pre_enable()
1597 /* Disable TV interrupts around load detect or we'll recurse */ in intel_tv_detect_type()
1609 /* Poll for TV detection */ in intel_tv_detect_type()
1626 * The TV sense state should be cleared to zero on cantiga platform. Otherwise in intel_tv_detect_type()
1627 * the TV is misdetected. This is hardware requirement. in intel_tv_detect_type()
1641 drm_dbg_kms(display->drm, "TV detected: %x, %x\n", tv_ctl, tv_dac); in intel_tv_detect_type()
1650 "Detected Composite TV connection\n"); in intel_tv_detect_type()
1654 "Detected S-Video TV connection\n"); in intel_tv_detect_type()
1658 "Detected Component TV connection\n"); in intel_tv_detect_type()
1661 drm_dbg_kms(display->drm, "Unrecognised TV connection\n"); in intel_tv_detect_type()
1685 * Here we set accurate tv format according to connector type
1686 * i.e Component TV should not be assigned by NTSC or PAL
1709 connector->state->tv.legacy_mode = i; in intel_tv_find_better_format()
1771 /* Choose preferred mode according to line number of TV format */
1778 /* prefer 480 line modes for all SD TV modes */ in intel_tv_is_preferred_mode()
1821 * We take the TV mode and scale it to look in intel_tv_get_modes()
1830 "TV mode: " DRM_MODE_FMT "\n", in intel_tv_get_modes()
1869 if (old_state->tv.legacy_mode != new_state->tv.legacy_mode || in intel_tv_atomic_check()
1870 old_state->tv.margins.left != new_state->tv.margins.left || in intel_tv_atomic_check()
1871 old_state->tv.margins.right != new_state->tv.margins.right || in intel_tv_atomic_check()
1872 old_state->tv.margins.top != new_state->tv.margins.top || in intel_tv_atomic_check()
1873 old_state->tv.margins.bottom != new_state->tv.margins.bottom) { in intel_tv_atomic_check()
1901 conn_state->tv.margins.left = 54; in intel_tv_add_properties()
1902 conn_state->tv.margins.top = 36; in intel_tv_add_properties()
1903 conn_state->tv.margins.right = 46; in intel_tv_add_properties()
1904 conn_state->tv.margins.bottom = 37; in intel_tv_add_properties()
1906 conn_state->tv.legacy_mode = 0; in intel_tv_add_properties()
1908 /* Create TV properties then attach current values */ in intel_tv_add_properties()
1920 conn_state->tv.legacy_mode); in intel_tv_add_properties()
1923 conn_state->tv.margins.left); in intel_tv_add_properties()
1926 conn_state->tv.margins.top); in intel_tv_add_properties()
1929 conn_state->tv.margins.right); in intel_tv_add_properties()
1932 conn_state->tv.margins.bottom); in intel_tv_add_properties()
1948 drm_dbg_kms(display->drm, "Integrated TV is not present.\n"); in intel_tv_init()
1953 * Sanity check the TV output by checking to see if the in intel_tv_init()
1993 * for the TV must be kept alive increasing power drain and starving in intel_tv_init()
2007 DRM_MODE_ENCODER_TVDAC, "TV"); in intel_tv_init()