nouveau: Avoid unnecessary call to CPU_FINI.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 31 Oct 2010 00:22:29 +0000 (02:22 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Sun, 31 Oct 2010 01:09:59 +0000 (02:09 +0100)
commitd0a4f2e292e5b347f7e5ee2cdbe4f077986eb9da
treeb8da3cc292c2293d1fdab0b3c14de0f4b9f82232
parent362457715faacd3101929e5f0d8ae250d0ad09df
nouveau: Avoid unnecessary call to CPU_FINI.

nouveau_bo_unmap called the CPU_FINI IOCTL even if it was a NOSYNC
mapping. It caused no harmful effects (actually CPU_FINI is a no-op on
recent enough kernels) besides the precious CPU cycles being wasted.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
nouveau/nouveau_bo.c
nouveau/nouveau_private.h