From ff7b52c9a48f2e417acf6bec3b72546ad9b33471 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 17 Dec 2008 11:36:38 +1000 Subject: radeon: use latest atombios constants for TV encoders in set_crtc_source --- src/atombios_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/atombios_output.c b/src/atombios_output.c index 48f8b747..945cefc7 100644 --- a/src/atombios_output.c +++ b/src/atombios_output.c @@ -946,11 +946,11 @@ atombios_set_output_crtc_source(xf86OutputPtr output) crtc_src_param2.ucEncodeMode = ATOM_ENCODER_MODE_LVDS; } else if (OUTPUT_IS_TV) { if (radeon_output->devices & ATOM_DEVICE_TV1_SUPPORT) - crtc_src_param2.ucEncoderID = ATOM_DEVICE_TV1_INDEX; + crtc_src_param2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; crtc_src_param2.ucEncodeMode = ATOM_ENCODER_MODE_TV; } else if (radeon_output->MonType == MT_CV) { if (radeon_output->devices & ATOM_DEVICE_CV_SUPPORT) - crtc_src_param2.ucEncoderID = ATOM_DEVICE_CV_INDEX; + crtc_src_param2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; crtc_src_param2.ucEncodeMode = ATOM_ENCODER_MODE_CV; } -- cgit v1.2.3