[PATCH v2 0/3] ast, mgag200: Map console BO while it's being displayed
kraxel at redhat.com
Thu Sep 5 07:00:59 UTC 2019
> - imo we should fix this by using the io_mapping stuff, that avoids
> the overhead of repeated pat checks for map/unmap.
Another idea: IIRC ttm has a move_notify callback. So we could simply
keep mappings active even when the refcount goes down to zero. Then do
the actual unmap either in the move_notify or in the destroy callback.
More information about the dri-devel