diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2009-09-15 16:57:33 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-05 17:47:07 -0500 |
commit | f0f8a9cecea322b215600d96cf0c1eb08343a4e9 (patch) | |
tree | 04700c524476b67ecef7135119f4d15b6898cea1 /drivers/gpu/drm/i915/intel_display.c | |
parent | 48764bf43f746113fc77877d7e80f2df23ca4cbb (diff) |
drm/i915: kill superflous IS_I855 macro
It is identical to I85X. Use that one instead.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[anholt: fix conflicts against the display function pointer stuff]
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 8945656dc1dc..0be624a52e50 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -4291,7 +4291,7 @@ void intel_init_clock_gating(struct drm_device *dev) | |||
4291 | dstate |= DSTATE_PLL_D3_OFF | DSTATE_GFX_CLOCK_GATING | | 4291 | dstate |= DSTATE_PLL_D3_OFF | DSTATE_GFX_CLOCK_GATING | |
4292 | DSTATE_DOT_CLOCK_GATING; | 4292 | DSTATE_DOT_CLOCK_GATING; |
4293 | I915_WRITE(D_STATE, dstate); | 4293 | I915_WRITE(D_STATE, dstate); |
4294 | } else if (IS_I855(dev) || IS_I865G(dev)) { | 4294 | } else if (IS_I85X(dev) || IS_I865G(dev)) { |
4295 | I915_WRITE(RENCLK_GATE_D1, SV_CLOCK_GATE_DISABLE); | 4295 | I915_WRITE(RENCLK_GATE_D1, SV_CLOCK_GATE_DISABLE); |
4296 | } else if (IS_I830(dev)) { | 4296 | } else if (IS_I830(dev)) { |
4297 | I915_WRITE(DSPCLK_GATE_D, OVRUNIT_CLOCK_GATE_DISABLE); | 4297 | I915_WRITE(DSPCLK_GATE_D, OVRUNIT_CLOCK_GATE_DISABLE); |
@@ -4375,7 +4375,7 @@ static void intel_init_display(struct drm_device *dev) | |||
4375 | else if (IS_I865G(dev)) | 4375 | else if (IS_I865G(dev)) |
4376 | dev_priv->display.get_display_clock_speed = | 4376 | dev_priv->display.get_display_clock_speed = |
4377 | i865_get_display_clock_speed; | 4377 | i865_get_display_clock_speed; |
4378 | else if (IS_I855(dev)) | 4378 | else if (IS_I85X(dev)) |
4379 | dev_priv->display.get_display_clock_speed = | 4379 | dev_priv->display.get_display_clock_speed = |
4380 | i855_get_display_clock_speed; | 4380 | i855_get_display_clock_speed; |
4381 | else /* 852, 830 */ | 4381 | else /* 852, 830 */ |