[PATCH] ttm: ttm_bo_swapout_all doesn't use it's argument.

Zack Rusin zackr at vmware.com
Tue Jul 28 23:47:21 UTC 2020


> On Jul 27, 2020, at 11:42 PM, Dave Airlie <airlied at gmail.com> wrote:
> 
> From: Dave Airlie <airlied at redhat.com>
> 
> Just drop the argument from this.
> 
> This does ask the question if this is the function vmwgfx
> should be using or should it be doing an evict all like
> the other drivers.

Yea, it really should. This code is really old. Over the next year we’ll spend some time making our driver a little less special so that we can make those symbols private again (we’ll have to reevaulate whether we still need the private ttm_lock code, because ideally we’d bring all of that inline with the other drivers).

For the patch:
Reviewed-by: Zack Rusin <zackr at vmware.com>

z


More information about the dri-devel mailing list