drm/nouveau/bar: add noncached ioremap property
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 27 Jun 2014 10:28:50 +0000 (19:28 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 19:11:10 +0000 (05:11 +1000)
commite2a4e78cdccc4bb2d3729981313da237ad4ad43f
treef31bc60fc691f6afc18542fafdd0a9eeeb2dad97
parent8ba9ff11632cb05d6f55555711d8425e32ee44b0
drm/nouveau/bar: add noncached ioremap property

Some BARs (like GK20A's) do not support being ioremapped write-combined.
Add a boolean property to the BAR structure and handle that case in the
Nouveau BO implementation.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/drm/nouveau/core/include/subdev/bar.h
drivers/gpu/drm/nouveau/nouveau_bo.c