drm/ttm: improve uncached page deallocation.
Calls to set_memory_wb() incure heavy TLB flush and IPI cost. To
minimize those wait until pool grow beyond batch size before
draining the pool.
Signed-off-by: Jérôme Glisse <[email protected]>
Reviewed-by: Mario Kleiner <[email protected]>
Reviewed-and-Tested-by: Michel Dänzer <[email protected]>
Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>