drm/i915: Fix glk/cnl display w/a #1175
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Jul 2018 18:21:57 +0000 (21:21 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Aug 2018 13:39:52 +0000 (16:39 +0300)
commitb1f1c2c11fc6c6cd3e361061e30f9b2839897b28
tree9f1936b5a495ba36924219f68b67d7bfd98c2210
parent1aeb1b5fa069f7d7a0de3ac8a33547014613fc7a
drm/i915: Fix glk/cnl display w/a #1175

The workaround was supposed to look at the plane destination
coordinates. Currently it's looking at some mixture of src
and dst coordinates that doesn't make sense. Fix it up.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180719182214.4323-2-ville.syrjala@linux.intel.com
Fixes: 394676f05bee (drm/i915: Add WA for planes ending close to left screen edge)
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_display.c