drm/i915: fix panel fitting on LVDS on ILK+ v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 3 May 2013 20:26:37 +0000 (13:26 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 May 2013 19:56:29 +0000 (21:56 +0200)
commit0ef37f3f5e33eae7d6c388a7b374397794beca39
treef731f875344ac0ad4fabe7f3c25b396f5cc83f56
parent2445966ee80837116498bd83084ad6d28272320c
drm/i915: fix panel fitting on LVDS on ILK+ v2

This regression was introduced in:

commit b074cec8c652f2d273907a4b35239b4766c894ac
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Apr 25 12:55:02 2013 -0700

    drm/i915: move PCH pfit controls into pipe_config

In refactoring this, it was only applied to eDP, which is incorrect.  In
fact, if we ever use the panel fitter to deal with overscan on HDMI,
we'll need to extend it again, so just drop the conditional altogether.

v2: drop check for eDP since we can use the fitter in any config (Daniel)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c