diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-10-25 12:15:44 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-11 23:51:35 +0100 |
commit | 2d809570c8d72b9529ebb72c9d35fa0bf08c033c (patch) | |
tree | 774944f0fdefef783d4cb47f55a464088ec7cf46 /drivers/gpu/drm/i915/i915_reg.h | |
parent | 5c9664d75a65adcdb9763a6df1da1d8d3f417c0c (diff) | |
download | lwn-2d809570c8d72b9529ebb72c9d35fa0bf08c033c.tar.gz lwn-2d809570c8d72b9529ebb72c9d35fa0bf08c033c.zip |
drm/i915: implement WaDisableVLVClockGating_VBIIssue on VLV
This allows us to get the right vblank interrupt frequency.
v2: pull in register definition
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Antti Koskipää <antti.koskipaa@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 5a1a984d74c9..2aff1bbcfc83 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -556,6 +556,8 @@ #define IIR 0x020a4 #define IMR 0x020a8 #define ISR 0x020ac +#define VLV_GUNIT_CLOCK_GATE 0x182060 +#define GCFG_DIS (1<<8) #define VLV_IIR_RW 0x182084 #define VLV_IER 0x1820a0 #define VLV_IIR 0x1820a4 |