Hi Terje, Am Donnerstag, den 13.12.2012, 16:04 +0200 schrieb Terje Bergstrom: > This set of patches adds support for Tegra20 and Tegra30 host1x and > 2D. It is based on linux-next. > > The third version has too many changes to list all of them. Here are > highlights: > * Renamed to host1x, and moved to drivers/gpu/host1x > * Greatly simplified the inner workings between physical and logical > driver > * Does not use AUXDATA for passing data to driver > * Runtime power management removed - will replace with runtime PM > later > * IOCTLs padded and use __64 for passing pointers > * DMABUF support removed, replaced with GEM CMA support You are still doing the allocation the IMHO wrong way around. I thought we agreed to do all the allocations in host1x, which obviously means not using the cma_gem_helpers anymore, but introducing a new native host1x object to back GEM/V4L/whatever objects. IMHO the current approach is a clear layering violation and makes proper IOMMU support a lot harder. It would also allow to get rid of all the indirections and ifdefs in host1x memmgr, as host1x would only have to deal with it's native objects. All the complexity of converting host1x to GEM objects should be located in tegradrm and not be scattered between different modules. Did you leave this out on purpose in this version of the patchset? > * host1x driver validates command streams and copies them to kernel > owned buffer > * Generic interrupt support removed - only syncpt irq remains > * Sync points are allocated now dynamically > * IO register space handling rewritten to use helper functions > * Other numerous fixes and simplifications to code > > Some of the issues left open: > * Register definitions still use static inline. There has been a > debate about code style versus ability to use compiler type > checking and code coverage analysis. There was no conclusion, so > I left it as was. > * tegradrm has a global variable. Plan was to hide that behind a > virtual device, and use that as DRM root device. That plan went > bad once the FB CMA helper used the device for trying to allocate > memory. See above, we should get rid of the helpers and do all allocations within host1x. Regards, Lucas _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel