diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-07 15:54:59 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-10 18:13:51 -0400 |
commit | 021357acc8ea85273a9882b3fe89935629f51b12 (patch) | |
tree | 0b3203f90289d2f7e31b299d6804a8aa61fe407d /drivers/gpu/drm/i915/intel_drv.h | |
parent | 8c4223bee91b771782f2ec07f2c85d81cdff3ed5 (diff) |
drm/i915: Use the real FDI frequency for determining b/w
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 1ada684ea569..6c6b897539f8 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -49,6 +49,9 @@ | |||
49 | #define wait_for(COND, MS) _wait_for(COND, MS, 1) | 49 | #define wait_for(COND, MS) _wait_for(COND, MS, 1) |
50 | #define wait_for_atomic(COND, MS) _wait_for(COND, MS, 0) | 50 | #define wait_for_atomic(COND, MS) _wait_for(COND, MS, 0) |
51 | 51 | ||
52 | #define KHz(x) (1000*x) | ||
53 | #define MHz(x) KHz(1000*x) | ||
54 | |||
52 | /* | 55 | /* |
53 | * Display related stuff | 56 | * Display related stuff |
54 | */ | 57 | */ |