iris: move get_time into a static in bufmgr code.
authorDave Airlie <airlied@redhat.com>
Sun, 18 Apr 2021 23:30:49 +0000 (09:30 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Apr 2021 06:00:51 +0000 (16:00 +1000)
commita067399e375023cfbc3e8c130cc8a30c3115a672
treec79e939413b55251be69dc6ac2d916d9897d9597
parentc74d93cf0187e07cdfacc448a947a8cae485eb41
iris: move get_time into a static in bufmgr code.

This ends up polluting the namespace if you build iris/crocus
at once, just move it to where it's used for now.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10308>
src/gallium/drivers/iris/iris_bufmgr.c
src/gallium/drivers/iris/iris_context.c
src/gallium/drivers/iris/iris_context.h