diff options
author | Dave Airlie <airlied@redhat.com> | 2008-12-17 11:36:38 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-12-17 11:36:38 +1000 |
commit | ff7b52c9a48f2e417acf6bec3b72546ad9b33471 (patch) | |
tree | b3c2bf05e1bfc9319558ed9c53e6f55b8dfc99f4 /src/atombios_output.c | |
parent | 1e0c7d3f0bf6be67b976fdea8fa2df0b4b16435f (diff) |
radeon: use latest atombios constants for TV encoders in set_crtc_source
Diffstat (limited to 'src/atombios_output.c')
-rw-r--r-- | src/atombios_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |