Changes since v1: - Timeout after 2ms on LTC flush/invalidate (nvgpu uses 1ms, but this is still small enough and leaves us on the safe side) - Add convenience nvkm_wait() macros for waiting on register values
Alexandre Courbot (4): timer: re-introduce nvkm_wait_xsec macros ltc: add hooks for invalidate and flush ltc/gf100: add flush/invalidate functions instmem/gk20a: use direct CPU access drm/nouveau/include/nvkm/subdev/ltc.h | 4 + drm/nouveau/include/nvkm/subdev/timer.h | 10 + drm/nouveau/nvkm/subdev/instmem/gk20a.c | 360 +++++++++++++++++++++++--------- drm/nouveau/nvkm/subdev/ltc/base.c | 14 ++ drm/nouveau/nvkm/subdev/ltc/gf100.c | 32 +++ drm/nouveau/nvkm/subdev/ltc/gk104.c | 2 + drm/nouveau/nvkm/subdev/ltc/gm107.c | 2 + drm/nouveau/nvkm/subdev/ltc/priv.h | 5 + 8 files changed, 332 insertions(+), 97 deletions(-) -- 2.5.1 _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
