On Mon, Feb 29, 2016 at 05:20:16PM +0100, Lucas Stach wrote: > If the end of the system DMA window is farther away from the start of > physical RAM than the size of the GPU linear window, move the linear > window so that it ends at the same address than the system DMA window. > > This allows to map command buffer from CMA, which is likely to reside > at the end of the system DMA window, while also overlapping as much > RAM as possible, in order to optimize regular buffer mappings through > the linear window. I've been pondering this for a while now, and I think we should not do this unconditionally - it should be predicated on the MC20 feature - both for the original code and the new code. If we don't have the MC20 feature, we end up with more memory spaces than we can cope with. If we don't have MC20, but we need to offset, that's an error which can lead to memory corruption. -- RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel