[prev in list] [next in list] [prev in thread] [next in thread]
List: dri-patches
Subject: drm: Branch 'modesetting-101'
From: jbarnes () kemper ! freedesktop ! org (Jesse Barnes)
Date: 2007-11-27 20:41:16
Message-ID: 20071127204116.CA69C10096 () kemper ! freedesktop ! org
[Download RAW message or body]
linux-core/intel_lvds.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 617cbeed2ae71c5560f597db49637df10edd8a52
Author: Jesse Barnes <jesse.barnes@intel.com>
Date: Tue Nov 27 12:39:09 2007 -0800
Don't use panel fitter if we're programming a native mode
Fix from the DDX driver.
diff --git a/linux-core/intel_lvds.c b/linux-core/intel_lvds.c
index 4f15c13..e3e4b38 100644
--- a/linux-core/intel_lvds.c
+++ b/linux-core/intel_lvds.c
@@ -255,8 +255,13 @@ static void intel_lvds_mode_set(struct drm_output *output,
* screen. Should be enabled before the pipe is enabled, according to
* register description and PRM.
*/
- pfit_control = (PFIT_ENABLE | VERT_AUTO_SCALE | HORIZ_AUTO_SCALE |
- VERT_INTERP_BILINEAR | HORIZ_INTERP_BILINEAR);
+ if (mode->hdisplay != adjusted_mode->hdisplay ||
+ mode->vdisplay != adjusted_mode->vdisplay)
+ pfit_control = (PFIT_ENABLE | VERT_AUTO_SCALE |
+ HORIZ_AUTO_SCALE | VERT_INTERP_BILINEAR |
+ HORIZ_INTERP_BILINEAR);
+ else
+ pfit_control = 0;
if (!IS_I965G(dev)) {
if (dev_priv->panel_wants_dither)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-patches mailing list
Dri-patches@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-patches
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic