Hi, This series ensures that memory usage of gfx IBs is below the kernel- exposed memory limits in most cases.
It's not possible to prevent CS ioctl failures completely because it depends on whether continuous free space for all buffers is available, i.e. it depends on where some system buffers are pinned, rather than how much total free space you have. Piglit max-texture-size and tex3d-maxsize tests easily pass with this. There are also some cleanups. Please review. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev