diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2011-02-20 22:51:04 +0100 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2011-02-21 10:54:33 -0500 |
commit | acd54a48a6680956ed903fc890204c0c910b6712 (patch) | |
tree | a10b178e3ee628aaf7f88b92db6fd4a3cbfcfb9c /src/radeon_textured_video.c | |
parent | d7c2ba4286ea32401c0026cb92ec167f7b5753d8 (diff) |
Properly restore CLOCK_CNTL_INDEX register
RADEONRestore() restores the CLOCK_CNTL_INDEX register before calling
RADEONRestorePLLRegisters(), which modifies the CLOCK_CNTL_INDEX register
to access the PLL registers. As a result we may end up with the wrong clock
being selected when exiting X. This happens on platforms where the driver
doesn't save and restore the VGA state.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'src/radeon_textured_video.c')
0 files changed, 0 insertions, 0 deletions