Fix TV load detection
Now that we can allocate load detect pipes, we can perform TV out load detection correctly. Call the new routines and enable proper TV detection.main
parent
6c92689dcc
commit
b3737f3fd9
|
@ -1438,14 +1438,13 @@ intel_tv_detect(struct drm_output *output)
|
||||||
|
|
||||||
mode = reported_modes[0];
|
mode = reported_modes[0];
|
||||||
drm_mode_set_crtcinfo(&mode, CRTC_INTERLACE_HALVE_V);
|
drm_mode_set_crtcinfo(&mode, CRTC_INTERLACE_HALVE_V);
|
||||||
#if 0
|
|
||||||
/* FIXME: pipe allocation for load detection */
|
crtc = intel_get_load_detect_pipe(output, &mode, &dpms_mode);
|
||||||
crtc = i830GetLoadDetectPipe (output, &mode, &dpms_mode);
|
|
||||||
if (crtc) {
|
if (crtc) {
|
||||||
type = intel_tv_detect_type(crtc, output);
|
type = intel_tv_detect_type(crtc, output);
|
||||||
i830ReleaseLoadDetectPipe (output, dpms_mode);
|
intel_release_load_detect_pipe(output, dpms_mode);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
if (type != tv_priv->type) {
|
if (type != tv_priv->type) {
|
||||||
tv_priv->type = type;
|
tv_priv->type = type;
|
||||||
intel_tv_format_configure_property(output);
|
intel_tv_format_configure_property(output);
|
||||||
|
|
Loading…
Reference in New Issue