From eb56837dfb44c941d5e2bb4b44149be1efbe334f Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Thu, 12 Nov 2015 16:18:45 -0600 Subject: [PATCH] intel_extreme: Disable lvds panel_fitter for now --- src/add-ons/accelerants/intel_extreme/Ports.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/add-ons/accelerants/intel_extreme/Ports.cpp b/src/add-ons/accelerants/intel_extreme/Ports.cpp index 66172ab213..facc709efa 100644 --- a/src/add-ons/accelerants/intel_extreme/Ports.cpp +++ b/src/add-ons/accelerants/intel_extreme/Ports.cpp @@ -347,6 +347,15 @@ LVDSPort::SetDisplayMode(display_mode* target, uint32 colorMode) } // TODO: Fix software scaling? + + // Disable PanelFitter for now + addr_t panelFitterControl = PCH_PANEL_FITTER_BASE_REGISTER + + PCH_PANEL_FITTER_CONTROL; + if (fDisplayPipe->Index() == INTEL_PIPE_B) + panelFitterControl += PCH_PANEL_FITTER_PIPE_OFFSET; + write32(panelFitterControl, (read32(panelFitterControl) & ~PANEL_FITTER_ENABLED)); + read32(panelFitterControl); + #if 0 // For LVDS panels, we actually always set the native mode in hardware // Then we use the panel fitter to scale the picture to that.