diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-08 11:54:18 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-08 11:54:18 -0700 |
commit | b1aef6f63c151dcb202fce869e4b80598b4b2052 (patch) | |
tree | 95bc73bc1aa7a9a8ffe39ab8dc2215e26b5b799e /src/common.h | |
parent | f9504eff31eb3c9c6c6b33dced9875866ff8307e (diff) |
Initial port of kernel modesetting from old intel-kernelmode branch
Thanks airlied!
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index f2ae502b..ece1def0 100644 --- a/src/common.h +++ b/src/common.h @@ -370,7 +370,9 @@ extern int I810_DEBUG; /* mark chipsets without overlay hw */ #define OVERLAY_NOEXIST(pI810) (IS_GM45(pI810) || IS_G4X(pI810)) /* chipsets require graphics mem for hardware status page */ -#define HWS_NEED_GFX(pI810) (IS_G33CLASS(pI810) || IS_GM45(pI810) || IS_G4X(pI810)) +#define HWS_NEED_GFX(pI810) (!pI810->use_drm_mode && \ + (IS_G33CLASS(pI810) || IS_GM45(pI810) || \ + IS_G4X(pI810))) /* chipsets require status page in non stolen memory */ #define HWS_NEED_NONSTOLEN(pI810) (IS_GM45(pI810) || IS_G4X(pI810)) #define SUPPORTS_INTEGRATED_HDMI(pI810) (IS_GM45(pI810) || IS_G4X(pI810)) |