Fix display underruns on Pineview with 2048x1280 VGA display.
authorStuart Abercrombie <sabercrombie@chromium.org>
Mon, 29 Apr 2013 22:07:29 +0000 (15:07 -0700)
committerChromeBot <chrome-bot@google.com>
Thu, 2 May 2013 03:30:23 +0000 (20:30 -0700)
commit28b837d445453c19ba00c3bcc06b0aaac25d8c6d
tree75116ca641fdeac126b785ce1e93c11731ed48b9
parent32f651194a2c437b26ca17b57f1fd0ff6e03d3d2
Fix display underruns on Pineview with 2048x1280 VGA display.

Higher dot clocks were working because pixel doubling was enabled.

Lower the apparently arbitrary threshold so it's enabled for 2048x1280.

Intel hasn't felt moved to document any of this, so this is purely empirical.

The original threshold was introduced here:
http://cgit.freedesktop.org/~anholt/xf86-video-intel/commit/?id=8fcf9a81179ee8577ddab5e904c58fbfd14cf59c

BUG=chromium:219562
TEST=All previously working U3011 modes + 2048x1280 work
Change-Id: I69f47b6ef292d65dc1a3ff6288c33eaa4c1cd894
Reviewed-on: https://gerrit.chromium.org/gerrit/49434
Reviewed-by: Stuart Abercrombie <sabercrombie@chromium.org>
Tested-by: Stuart Abercrombie <sabercrombie@chromium.org>
Commit-Queue: Stuart Abercrombie <sabercrombie@chromium.org>
drivers/gpu/drm/i915/intel_display.c