drm/i915: fix CB tuning check for ILK+
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 28 Jul 2011 21:50:30 +0000 (14:50 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 28 Jul 2011 23:51:09 +0000 (16:51 -0700)
commitcb0e093162d7b6589c2217a00e2abfef686b32d6
tree1319526a26322a0112b94f96ff25984986bbc6df
parentd74362c9e45689d8d7e3d4bcf6681c4358ef4f2e
drm/i915: fix CB tuning check for ILK+

CB tuning is needed to handle potential process variations that might
cause clock jitter for certain PLL settings.  However, we were setting
it incorrectly since we were using the wrong M value as a check (M1 when
we needed to use the whole M value).  Fix it up, making my HDMI
attached display a little prettier (used to have occasional dots crawl
across the display).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c