diff options
author | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-03-07 13:18:09 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-03-07 13:18:09 -0800 |
commit | 5915c75422c5277d530e7f8ecbdfe94654706efd (patch) | |
tree | 47a11a0a776a47364c990fa4d5652c24892cab0c /src/i830_memory.c | |
parent | 13ae79b415d944891cfdc2cd2d5397fec36a4e8e (diff) |
Enable hardware overlay on 965
Based on Maxim Levitsky's patch for the same. Many thanks to Maxim for
discovering that this features still works in recent hardware!
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r-- | src/i830_memory.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c index ad34f19c..e9097ecb 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -1044,15 +1044,13 @@ i830_allocate_overlay(ScrnInfoPtr pScrn) if (!OVERLAY_NOPHYSICAL(pI830)) flags |= NEED_PHYSICAL_ADDR; - if (!IS_I965G(pI830)) { - pI830->overlay_regs = i830_allocate_memory(pScrn, "overlay registers", - OVERLAY_SIZE, GTT_PAGE_SIZE, - flags); - if (pI830->overlay_regs == NULL) { - xf86DrvMsg(pScrn->scrnIndex, X_WARNING, - "Failed to allocate Overlay register space.\n"); - /* This failure isn't fatal. */ - } + pI830->overlay_regs = i830_allocate_memory(pScrn, "overlay registers", + OVERLAY_SIZE, GTT_PAGE_SIZE, + flags); + if (pI830->overlay_regs == NULL) { + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, + "Failed to allocate Overlay register space.\n"); + /* This failure isn't fatal. */ } return TRUE; |