Skip to content

Commit

Permalink
drm/i915: Remove unreachable condition
Browse files Browse the repository at this point in the history
Fortunately unreachable. For Crestline, the watermarks must always be
programmed to 8...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Chris Wilson committed Feb 1, 2011
1 parent 5a1e5b6 commit 72557b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -3899,8 +3899,7 @@ static void i9xx_update_wm(struct drm_device *dev)
int planea_wm, planeb_wm;
struct drm_crtc *crtc, *enabled = NULL;

/* Create copies of the base settings for each pipe */
if (IS_CRESTLINE(dev) || IS_I945GM(dev))
if (IS_I945GM(dev))
wm_info = &i945_wm_info;
else if (!IS_GEN2(dev))
wm_info = &i915_wm_info;
Expand Down

0 comments on commit 72557b4

Please sign in to comment.