[PATCH 002/002] This turns on support for overlay on G965 only
Maxim Levitsky
maximlevitsky at gmail.com
Sun Feb 24 08:17:20 PST 2008
From 166f6489ae02647c844a96992f27bc8038f19507 Mon Sep 17 00:00:00 2001
From: Maxim Levitsky <maximlevitsky at gmail.com>
Date: Sun, 24 Feb 2008 17:34:44 +0200
Subject: [PATCH] This turns on support for overlay on G965 only
I don't know whenever other G965 like chipsets have overlay,
but my G965 does have it
---
src/common.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/common.h b/src/common.h
index 572e9cc..1e94fbe 100644
--- a/src/common.h
+++ b/src/common.h
@@ -441,7 +441,7 @@ extern int I810_DEBUG;
#define IS_MOBILE(pI810) (IS_I830(pI810) || IS_I85X(pI810) || IS_I915GM(pI810) || IS_I945GM(pI810) || IS_I965GM(pI810) || IS_IGD_GM(pI810))
/* mark chipsets for using gfx VM offset for overlay */
#define OVERLAY_NOPHYSICAL(pI810) (IS_G33CLASS(pI810) || IS_I965G(pI810))
-#define HW_HAS_OVERLAY(pI810) (!IS_I965G(pI810))
+#define HW_HAS_OVERLAY(pI810) (!IS_I965G(pI810) || DEVICE_ID(pI810->PciInfo) == PCI_CHIP_I965_G)
/* chipsets require graphics mem for hardware status page */
--
1.5.3.8
More information about the xorg
mailing list