Commit 72557b4f authored by Chris Wilson's avatar Chris Wilson

drm/i915: Remove unreachable condition

Fortunately unreachable. For Crestline, the watermarks must always be
programmed to 8...
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 5a1e5b6c
...@@ -3899,8 +3899,7 @@ static void i9xx_update_wm(struct drm_device *dev) ...@@ -3899,8 +3899,7 @@ static void i9xx_update_wm(struct drm_device *dev)
int planea_wm, planeb_wm; int planea_wm, planeb_wm;
struct drm_crtc *crtc, *enabled = NULL; struct drm_crtc *crtc, *enabled = NULL;
/* Create copies of the base settings for each pipe */ if (IS_I945GM(dev))
if (IS_CRESTLINE(dev) || IS_I945GM(dev))
wm_info = &i945_wm_info; wm_info = &i945_wm_info;
else if (!IS_GEN2(dev)) else if (!IS_GEN2(dev))
wm_info = &i915_wm_info; wm_info = &i915_wm_info;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment