OSDN Git Service

i965: Make brw_bo_unmap a static inline.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Jun 2017 21:05:21 +0000 (14:05 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Jun 2017 22:54:54 +0000 (15:54 -0700)
commitbca92849b92db3623cde91392be4efafeaa8d914
tree0694a30b07e8dc5a4108f96016d5ff43e483d224
parentc913241458be85fd5382d07a918a8e876296a3b6
i965: Make brw_bo_unmap a static inline.

With the broken debugging code gone, it doesn't do anything anymore.
We could technically eliminate it, but I'd like to keep it around in
case we want to add something there again someday.  Otherwise we'd
have to go all over the codebase adding unmap calls back again.

Based on a patch by Chris Wilson.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_bufmgr.c
src/mesa/drivers/dri/i965/brw_bufmgr.h