CHROMIUM: drm/i915: Avoid using scalers for 5k resolutions

According to Ville, scalers don't work when the resolution is wider than
4096. This patch fails atomic check if a scaler is needed on a crtc with
this resolution.

Patch is downstream since Ville is working on upstreaming this.

BUG=b:151166605
BUG=chromium:988091
TEST=Tested with hatch on Samsung CRG9 5k display. YouTube doesn't flake
     out

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Change-Id: Ie24b3c0c42f668aabdec1666b72d4d84586ba242
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2210941
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
(cherry picked from commit 6fc5b5769e2f8af2db96626faeb3e7dda532dd56)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2218854
1 file changed