Bug 34532 - Properly restore CLOCK_CNTL_INDEX register
Summary: Properly restore CLOCK_CNTL_INDEX register
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 05:36 UTC by Mark Kettenis
Modified: 2011-02-21 07:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix (1.52 KB, application/octet-stream)
2011-02-21 05:36 UTC, Mark Kettenis
no flags Details

Description Mark Kettenis 2011-02-21 05:36:21 UTC
Created attachment 43600 [details]
Fix

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.
Comment 1 Alex Deucher 2011-02-21 07:56:56 UTC
Pushed thanks!
acd54a48a6680956ed903fc890204c0c910b6712


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.