diff options
author | Dave Airlie <airlied@redhat.com> | 2009-08-17 15:31:16 +1000 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-08-17 13:23:45 -0400 |
commit | db7af4cf56a60228110f60f6dc49931f28548cff (patch) | |
tree | 19eb667a7a6b66756a570d46b6fc1ce06c23def1 | |
parent | 2647a20eb4ece70ce668234129220a3e43f324fa (diff) |
atom: recall crtc source script after tv dpms on
For some reason we lost the DACB source when we dpms tv back on.
-rw-r--r-- | src/atombios_output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/atombios_output.c b/src/atombios_output.c index d4baa552..e6ef0252 100644 --- a/src/atombios_output.c +++ b/src/atombios_output.c @@ -60,6 +60,8 @@ const char *device_name[12] = { "DFP5", }; +static void atombios_set_output_crtc_source(xf86OutputPtr output); + static int atombios_output_dac_setup(xf86OutputPtr output, int action) { @@ -1275,6 +1277,9 @@ atombios_output_dpms(xf86OutputPtr output, int mode) ErrorF("Output %s enable failed\n", device_name[radeon_get_device_index(radeon_output->active_device)]); } + /* at least for TV atom fails to reassociate the correct crtc source at dpms on */ + if (radeon_output->active_device & (ATOM_DEVICE_TV_SUPPORT)) + atombios_set_output_crtc_source(output); break; case DPMSModeStandby: case DPMSModeSuspend: |