drm/nouveau/ltc: add hooks for invalidate and flush
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 3 Sep 2015 08:48:14 +0000 (17:48 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 3 Nov 2015 05:02:18 +0000 (15:02 +1000)
commit38a8fc78d00749328888bb0e37ad93535e7e9992
tree95b0ffc4e00b5bd5638cabd740443240bc9b85a7
parent542f60dc84c6f382a56a0b42dc09aa183198a55f
drm/nouveau/ltc: add hooks for invalidate and flush

These are useful for systems without a coherent CPU/GPU bus. For such
systems we may need to maintain the L2 ourselves.

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/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/priv.h