rpms/kernel/F-13 drm-intel-gen5-dither.patch,NONE,1.1
Adam Jackson
ajax at fedoraproject.org
Mon Apr 19 21:34:48 UTC 2010
- Previous message: rpms/kernel/F-13 drm-intel-make-lvds-work.patch, 1.1, 1.2 drm-intel-next.patch, 1.11, 1.12 kernel.spec, 1.1991, 1.1992 drm-intel-acpi-populate-didl.patch, 1.1, NONE
- Next message: rpms/RBTools/F-12 FED02-Add-git-patchset-option.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 RBTools.spec, 1.1, 1.2 sources, 1.2, 1.3 0001-Fix-a-crash-when-using-ClearCase.patch, 1.1, NONE 0002-Fix-the-default-changeset-support-with-more-recent-v.patch, 1.1, NONE 0003-Fix-two-issues-when-using-post-review-with-Subversio.patch, 1.1, NONE 0004-Protect-against-an-uninitialized-variable.patch, 1.1, NONE 0005-Prevent-a-failure-when-there-s-an-error-reading-a-di.patch, 1.1, NONE 0006-Revert-the-change-to-encode-the-uploaded-content-as-.patch, 1.1, NONE 0007-Check-for-GNU-diff-when-needed.patch, 1.1, NONE 0008-Added-some-useful-error-information-for-empty-diffs-.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ajax
Update of /cvs/pkgs/rpms/kernel/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv19808
Added Files:
drm-intel-gen5-dither.patch
Log Message:
* Mon Apr 19 2010 Adam Jackson <ajax at redhat.com> 2.6.33.2-56
- drm-intel-next.patch: 2.6.34 as of today, plus anholt's for-linus tree as
of today, plus most of drm-intel-next except for the AGP/GTT split and a
broken TV detect fix. Tested on 945GM, GM45, and gen5.
- drm-intel-make-lvds-work.patch: Rebase to match.
- drm-intel-acpi-populate-didl.patch: Drop, merged in -intel-next
- drm-intel-gen5-dither.patch: Use better dither on gen5.
drm-intel-gen5-dither.patch:
i915_reg.h | 5 ++++-
intel_display.c | 11 ++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
--- NEW FILE drm-intel-gen5-dither.patch ---
>From b44ee8a479c3adb22b818b8b6aff29c6a08c1cb1 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax at redhat.com>
Date: Mon, 19 Apr 2010 15:52:32 -0400
Subject: [PATCH] drm/i915: Use spatio-temporal dithering on PCH
Spatial dither is better than nothing, but ST is even better.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
drivers/gpu/drm/i915/i915_reg.h | 5 ++++-
drivers/gpu/drm/i915/intel_display.c | 10 ++++++----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 527d30a..0bbbb77 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -1922,7 +1922,10 @@
/* Display & cursor control */
/* dithering flag on Ironlake */
-#define PIPE_ENABLE_DITHER (1 << 4)
+#define PIPE_ENABLE_DITHER (1 << 4)
+#define PIPE_DITHER_TYPE_MASK (3 << 2)
+#define PIPE_DITHER_TYPE_SPATIAL (0 << 2)
+#define PIPE_DITHER_TYPE_ST01 (1 << 2)
/* Pipe A */
#define PIPEADSL 0x70000
#define PIPEACONF 0x70008
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 58668c4..36ead0e 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3676,14 +3676,16 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
/* set the dithering flag */
if (IS_I965G(dev)) {
if (dev_priv->lvds_dither) {
- if (HAS_PCH_SPLIT(dev))
+ if (HAS_PCH_SPLIT(dev)) {
pipeconf |= PIPE_ENABLE_DITHER;
- else
+ pipeconf |= PIPE_DITHER_TYPE_ST01;
+ } else
lvds |= LVDS_ENABLE_DITHER;
} else {
- if (HAS_PCH_SPLIT(dev))
+ if (HAS_PCH_SPLIT(dev)) {
pipeconf &= ~PIPE_ENABLE_DITHER;
- else
+ pipeconf &= ~PIPE_DITHER_TYPE_MASK;
+ } else
lvds &= ~LVDS_ENABLE_DITHER;
}
}
--
1.7.0.1
- Previous message: rpms/kernel/F-13 drm-intel-make-lvds-work.patch, 1.1, 1.2 drm-intel-next.patch, 1.11, 1.12 kernel.spec, 1.1991, 1.1992 drm-intel-acpi-populate-didl.patch, 1.1, NONE
- Next message: rpms/RBTools/F-12 FED02-Add-git-patchset-option.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 RBTools.spec, 1.1, 1.2 sources, 1.2, 1.3 0001-Fix-a-crash-when-using-ClearCase.patch, 1.1, NONE 0002-Fix-the-default-changeset-support-with-more-recent-v.patch, 1.1, NONE 0003-Fix-two-issues-when-using-post-review-with-Subversio.patch, 1.1, NONE 0004-Protect-against-an-uninitialized-variable.patch, 1.1, NONE 0005-Prevent-a-failure-when-there-s-an-error-reading-a-di.patch, 1.1, NONE 0006-Revert-the-change-to-encode-the-uploaded-content-as-.patch, 1.1, NONE 0007-Check-for-GNU-diff-when-needed.patch, 1.1, NONE 0008-Added-some-useful-error-information-for-empty-diffs-.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list