Lines Matching full:tv
30 * Integrated TV-out support for the 915GM and 945GM.
374 * Register programming values for TV modes.
948 int format = conn_state->tv.mode; in intel_tv_mode_find()
966 /* Ensure TV refresh is close to desired refresh */ in intel_tv_mode_valid()
1038 /* TV has it's own notion of sync and other mode flags, so clear them. */ in intel_tv_mode_to_mode()
1147 drm_dbg_kms(&dev_priv->drm, "TV mode:\n"); in intel_tv_get_config()
1159 /* pixel counter doesn't work on i965gm TV output */ in intel_tv_get_config()
1176 conn_state->tv.margins.top - in intel_tv_vert_scaling()
1177 conn_state->tv.margins.bottom != in intel_tv_vert_scaling()
1203 drm_dbg_kms(&dev_priv->drm, "forcing bpc to 8 for TV\n"); in intel_tv_compute_config()
1226 top = conn_state->tv.margins.top; in intel_tv_compute_config()
1227 bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1246 tv_conn_state->margins.top = conn_state->tv.margins.top; in intel_tv_compute_config()
1247 tv_conn_state->margins.bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1252 drm_dbg_kms(&dev_priv->drm, "TV mode:\n"); in intel_tv_compute_config()
1257 * using the TV encoder: in intel_tv_compute_config()
1269 * | | | | pipe vblank/first part of tv vblank in intel_tv_compute_config()
1273 * remainder of tv vblank in intel_tv_compute_config()
1275 * When the TV encoder is used the pipe wants to run faster in intel_tv_compute_config()
1276 * than expected rate. During the active portion the TV in intel_tv_compute_config()
1278 * check. When the TV encoder reaches the bottom margin the in intel_tv_compute_config()
1279 * pipe simply stops. Once we reach the TV vblank the pipe is in intel_tv_compute_config()
1283 * of the TV vblank/top margin. The pipe starts up again when in intel_tv_compute_config()
1284 * the TV encoder exits the top margin. in intel_tv_compute_config()
1292 * TV vblank/margins. But since vtotal was selected such that in intel_tv_compute_config()
1321 conn_state->tv.margins.left, in intel_tv_compute_config()
1322 conn_state->tv.margins.right); in intel_tv_compute_config()
1329 /* pixel counter doesn't work on i965gm TV output */ in intel_tv_compute_config()
1542 xpos = conn_state->tv.margins.left; in intel_tv_pre_enable()
1544 xsize -= (conn_state->tv.margins.left + in intel_tv_pre_enable()
1545 conn_state->tv.margins.right); in intel_tv_pre_enable()
1581 /* Disable TV interrupts around load detect or we'll recurse */ in intel_tv_detect_type()
1593 /* Poll for TV detection */ in intel_tv_detect_type()
1610 * The TV sense state should be cleared to zero on cantiga platform. Otherwise in intel_tv_detect_type()
1611 * the TV is misdetected. This is hardware requirement. in intel_tv_detect_type()
1625 drm_dbg_kms(&dev_priv->drm, "TV detected: %x, %x\n", tv_ctl, tv_dac); in intel_tv_detect_type()
1634 "Detected Composite TV connection\n"); in intel_tv_detect_type()
1638 "Detected S-Video TV connection\n"); in intel_tv_detect_type()
1642 "Detected Component TV connection\n"); in intel_tv_detect_type()
1645 drm_dbg_kms(&dev_priv->drm, "Unrecognised TV connection\n"); in intel_tv_detect_type()
1669 * Here we set accurate tv format according to connector type
1670 * i.e Component TV should not be assigned by NTSC or PAL
1693 connector->state->tv.mode = i; in intel_tv_find_better_format()
1751 /* Choose preferred mode according to line number of TV format */
1758 /* prefer 480 line modes for all SD TV modes */ in intel_tv_is_preferred_mode()
1801 * We take the TV mode and scale it to look in intel_tv_get_modes()
1809 drm_dbg_kms(&dev_priv->drm, "TV mode:\n"); in intel_tv_get_modes()
1848 if (old_state->tv.mode != new_state->tv.mode || in intel_tv_atomic_check()
1849 old_state->tv.margins.left != new_state->tv.margins.left || in intel_tv_atomic_check()
1850 old_state->tv.margins.right != new_state->tv.margins.right || in intel_tv_atomic_check()
1851 old_state->tv.margins.top != new_state->tv.margins.top || in intel_tv_atomic_check()
1852 old_state->tv.margins.bottom != new_state->tv.margins.bottom) { in intel_tv_atomic_check()
1889 drm_dbg_kms(&dev_priv->drm, "Integrated TV is not present.\n"); in intel_tv_init()
1894 * Sanity check the TV output by checking to see if the in intel_tv_init()
1935 * for the TV must be kept alive increasing power drain and starving in intel_tv_init()
1947 DRM_MODE_ENCODER_TVDAC, "TV"); in intel_tv_init()
1967 state->tv.margins.left = 54; in intel_tv_init()
1968 state->tv.margins.top = 36; in intel_tv_init()
1969 state->tv.margins.right = 46; in intel_tv_init()
1970 state->tv.margins.bottom = 37; in intel_tv_init()
1972 state->tv.mode = initial_mode; in intel_tv_init()
1978 /* Create TV properties then attach current values */ in intel_tv_init()
1990 state->tv.mode); in intel_tv_init()
1993 state->tv.margins.left); in intel_tv_init()
1996 state->tv.margins.top); in intel_tv_init()
1999 state->tv.margins.right); in intel_tv_init()
2002 state->tv.margins.bottom); in intel_tv_init()