[PATCH] drm/i915: fix panel fitting on LVDS on ILK+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
---
 drivers/gpu/drm/i915/intel_display.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index aa99b4d..f9894cf 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3240,7 +3240,8 @@ static void ironlake_pfit_enable(struct intel_crtc *crtc)
 	int pipe = crtc->pipe;
 
 	if (crtc->config.pch_pfit.size &&
-	    intel_pipe_has_type(&crtc->base, INTEL_OUTPUT_EDP)) {
+	    (intel_pipe_has_type(&crtc->base, INTEL_OUTPUT_EDP) ||
+	     intel_pipe_has_type(&crtc->base, INTEL_OUTPUT_LVDS))) {
 		/* Force use of hard-coded filter coefficients
 		 * as some pre-programmed values are broken,
 		 * e.g. x201.
-- 
1.7.9.5



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux