intel_disable_clock_gating: New tool for turning off clock gating on ILK.

This is something I sometimes want to do in testing, to see if a
mystery bug (say, 29172) is due to broken clock gating.  Sadly, in
this case it isn't.  Note that it isn't supported on non-ILK chipsets
yet.
This commit is contained in:
Eric Anholt
2010-12-16 16:42:52 -08:00
parent 19b412b37c
commit 253acc34af
4 changed files with 81 additions and 0 deletions
+7
View File
@@ -1566,6 +1566,13 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define ADPA_HSYNC_ACTIVE_HIGH (1<<3)
#define ADPA_HSYNC_ACTIVE_LOW 0
#define PCH_DSPCLK_GATE_D 0x42020
#define PCH_DSPRAMCLK_GATE_D 0x42024
#define PCH_3DCGDIS0 0x46020
#define PCH_3DCGDIS1 0x46024
#define PCH_3DRAMCGDIS0 0x46028
#define SOUTH_DSPCLK_GATE_D 0xc2020
#define CPU_eDP_A 0x64000
#define PCH_DP_B 0xe4100
#define PCH_DP_C 0xe4200