From 843d93e775cd46a0e24e1a725594fa2d942f14ba Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Fri, 28 Dec 2007 23:55:06 +0200 Subject: 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 --- src/ffb_wid.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/ffb_wid.c') 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; -} -- cgit v1.2.3