drm/nouveau/ltc/gf100: add flush/invalidate functions
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 3 Sep 2015 08:48:15 +0000 (17:48 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 3 Nov 2015 05:02:18 +0000 (15:02 +1000)
commita0a49bac2fe18375b7ccb9de4671960531294470
tree4560cb70b533333e02f222b26eb1bb5b62c8abb3
parent38a8fc78d00749328888bb0e37ad93535e7e9992
drm/nouveau/ltc/gf100: add flush/invalidate functions

Allow clients to manually flush and invalidate L2. This will be useful
for Tegra systems for which we want to write instmem using the CPU.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gk104.c
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/priv.h