On Mon, Mar 19, 2018 at 4:53 PM, Alex Deucher <[email protected]> wrote:
> On Mon, Mar 19, 2018 at 4:26 PM, Marek Olšák <[email protected]> wrote: > > When Mesa wants a buffer in VRAM, it always sets VRAM. It relies on BO > move > > throttling to prevent unnecessary BO moves. > > > > My questions are: > > - what should Mesa do differently for tiny VRAM? > > - what is a tiny VRAM? > > - if VRAM is tiny, which allocations should we put there? > > Right now, all mesa would have to do is query the kernel to see if the > device supports s/g display. If it does, it can do whatever makes > sense in the long term once we've had more time to benchmark, etc., > but to start off with, I'd say just make it GTT or VRAM|GTT. > Otherwise we have the kernel second guessing mesa and I'd like to > avoid that. I want the kernel to respect that userspace asks for as > much as possible. > Sounds good. Marek
_______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
