18c2ecf20Sopenharmony_ciTODO 28c2ecf20Sopenharmony_ci. Where should we do eviction (detatch_pages())? We aren't necessarily 38c2ecf20Sopenharmony_ci accessing the pages via a GART, so maybe we need some other threshold 48c2ecf20Sopenharmony_ci to put a cap on the # of pages that can be pin'd. 58c2ecf20Sopenharmony_ci . Use mm_shrinker to trigger unpinning pages. 68c2ecf20Sopenharmony_ci . This is mainly theoretical since most of these devices don't actually 78c2ecf20Sopenharmony_ci have swap or harddrive. 88c2ecf20Sopenharmony_ci. GEM/shmem backed pages can have existing mappings (kernel linear map, 98c2ecf20Sopenharmony_ci etc..), which isn't really ideal. 108c2ecf20Sopenharmony_ci. Revisit GEM sync object infrastructure.. TTM has some framework for this 118c2ecf20Sopenharmony_ci already. Possibly this could be refactored out and made more common? 128c2ecf20Sopenharmony_ci There should be some way to do this with less wheel-reinvention. 138c2ecf20Sopenharmony_ci . This can be handled by the dma-buf fence/reservation stuff when it 148c2ecf20Sopenharmony_ci lands 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciUserspace: 178c2ecf20Sopenharmony_ci. git://anongit.freedesktop.org/xorg/driver/xf86-video-omap 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciCurrently tested on 208c2ecf20Sopenharmony_ci. OMAP3530 beagleboard 218c2ecf20Sopenharmony_ci. OMAP4430 pandaboard 228c2ecf20Sopenharmony_ci. OMAP4460 pandaboard 238c2ecf20Sopenharmony_ci. OMAP5432 uEVM 24