Lines Matching full:tv
30 * Integrated TV-out support for the 915GM and 945GM.
383 * Register programming values for TV modes.
953 int format = conn_state->tv.legacy_mode; in intel_tv_mode_find()
975 /* Ensure TV refresh is close to desired refresh */ in intel_tv_mode_valid()
1047 /* 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()
1217 drm_dbg_kms(display->drm, "forcing bpc to 8 for TV\n"); in intel_tv_compute_config()
1246 top = conn_state->tv.margins.top; in intel_tv_compute_config()
1247 bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1266 tv_conn_state->margins.top = conn_state->tv.margins.top; in intel_tv_compute_config()
1267 tv_conn_state->margins.bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1272 drm_dbg_kms(display->drm, "TV mode: " DRM_MODE_FMT "\n", in intel_tv_compute_config()
1277 * using the TV encoder: in intel_tv_compute_config()
1289 * | | | | pipe vblank/first part of tv vblank in intel_tv_compute_config()
1293 * remainder of tv vblank in intel_tv_compute_config()
1295 * When the TV encoder is used the pipe wants to run faster in intel_tv_compute_config()
1296 * than expected rate. During the active portion the TV in intel_tv_compute_config()
1298 * check. When the TV encoder reaches the bottom margin the in intel_tv_compute_config()
1299 * pipe simply stops. Once we reach the TV vblank the pipe is in intel_tv_compute_config()
1303 * of the TV vblank/top margin. The pipe starts up again when in intel_tv_compute_config()
1304 * the TV encoder exits the top margin. in intel_tv_compute_config()
1312 * TV vblank/margins. But since vtotal was selected such that in intel_tv_compute_config()
1341 conn_state->tv.margins.left, in intel_tv_compute_config()
1342 conn_state->tv.margins.right); in intel_tv_compute_config()
1349 /* pixel counter doesn't work on i965gm TV output */ in intel_tv_compute_config()
1557 xpos = conn_state->tv.margins.left; in intel_tv_pre_enable()
1559 xsize -= (conn_state->tv.margins.left + in intel_tv_pre_enable()
1560 conn_state->tv.margins.right); in intel_tv_pre_enable()
1596 /* Disable TV interrupts around load detect or we'll recurse */ in intel_tv_detect_type()
1608 /* Poll for TV detection */ in intel_tv_detect_type()
1625 * The TV sense state should be cleared to zero on cantiga platform. Otherwise in intel_tv_detect_type()
1626 * the TV is misdetected. This is hardware requirement. in intel_tv_detect_type()
1640 drm_dbg_kms(display->drm, "TV detected: %x, %x\n", tv_ctl, tv_dac); in intel_tv_detect_type()
1649 "Detected Composite TV connection\n"); in intel_tv_detect_type()
1653 "Detected S-Video TV connection\n"); in intel_tv_detect_type()
1657 "Detected Component TV connection\n"); in intel_tv_detect_type()
1660 drm_dbg_kms(display->drm, "Unrecognised TV connection\n"); in intel_tv_detect_type()
1684 * Here we set accurate tv format according to connector type
1685 * i.e Component TV should not be assigned by NTSC or PAL
1708 connector->state->tv.legacy_mode = i; in intel_tv_find_better_format()
1769 /* Choose preferred mode according to line number of TV format */
1776 /* prefer 480 line modes for all SD TV modes */ in intel_tv_is_preferred_mode()
1819 * We take the TV mode and scale it to look in intel_tv_get_modes()
1828 "TV mode: " DRM_MODE_FMT "\n", in intel_tv_get_modes()
1867 if (old_state->tv.legacy_mode != new_state->tv.legacy_mode || in intel_tv_atomic_check()
1868 old_state->tv.margins.left != new_state->tv.margins.left || in intel_tv_atomic_check()
1869 old_state->tv.margins.right != new_state->tv.margins.right || in intel_tv_atomic_check()
1870 old_state->tv.margins.top != new_state->tv.margins.top || in intel_tv_atomic_check()
1871 old_state->tv.margins.bottom != new_state->tv.margins.bottom) { in intel_tv_atomic_check()
1899 conn_state->tv.margins.left = 54; in intel_tv_add_properties()
1900 conn_state->tv.margins.top = 36; in intel_tv_add_properties()
1901 conn_state->tv.margins.right = 46; in intel_tv_add_properties()
1902 conn_state->tv.margins.bottom = 37; in intel_tv_add_properties()
1904 conn_state->tv.legacy_mode = 0; in intel_tv_add_properties()
1906 /* Create TV properties then attach current values */ in intel_tv_add_properties()
1918 conn_state->tv.legacy_mode); in intel_tv_add_properties()
1921 conn_state->tv.margins.left); in intel_tv_add_properties()
1924 conn_state->tv.margins.top); in intel_tv_add_properties()
1927 conn_state->tv.margins.right); in intel_tv_add_properties()
1930 conn_state->tv.margins.bottom); in intel_tv_add_properties()
1946 drm_dbg_kms(display->drm, "Integrated TV is not present.\n"); in intel_tv_init()
1951 * Sanity check the TV output by checking to see if the in intel_tv_init()
1991 * for the TV must be kept alive increasing power drain and starving in intel_tv_init()
2005 DRM_MODE_ENCODER_TVDAC, "TV"); in intel_tv_init()