diff options
author | David S. Miller <davem@davemloft.net> | 2007-12-28 23:55:06 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2007-12-28 23:56:27 +0200 |
commit | 843d93e775cd46a0e24e1a725594fa2d942f14ba (patch) | |
tree | cf243c3b13fb39e0f1acdb3b5911522ee7bdfb16 /src/ffb_wid.c | |
parent | 5c1e059cfed608b1f051cc8825c1243db76e8995 (diff) |
Remove DRI support to fix build after devPrivates rework
This driver uses devprivates of all kinds, but this is
only done in deprecated and unused code so we can simply
remove it all.
DRM/DRI support has been commented out for years, and was
done during the conversion over to XAA acceleration. This
code would need to be essentially rewritten to work again,
so we can just remove this stuff for now.
The rest were either:
1) DRI/DRM related uses
2) the private allocation code
3) cases that could index to the pScrn to get the FFB private
And that's all fixed up here.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'src/ffb_wid.c')
-rw-r--r-- | src/ffb_wid.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ffb_wid.c b/src/ffb_wid.c index 294a4f1..f9a13a8 100644 --- a/src/ffb_wid.c +++ b/src/ffb_wid.c @@ -449,20 +449,3 @@ FFBWidChangeBuffer(FFBPtr pFfb, unsigned int wid, int visible) update_wids(pFfb, index); } } - -/* Used by DRI part of driver. */ -Bool -FFBWidIsShared(FFBPtr pFfb, unsigned int wid) -{ - ffb_dac_info_t *p = &pFfb->dac_info; - ffb_wid_pool_t *table = &p->wid_table; - int index = wid >> table->wid_shift; - - if (index < 0 || index >= table->num_wids) - return TRUE; - - if (table->wid_pool[index].canshare == TRUE) - return TRUE; - - return FALSE; -} |