]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6308969f104de9d9fd7aacf4fd05bb25a14911b7
treef31bc60fc691f6afc18542fafdd0a9eeeb2dad97
parentd22a949f4e5bb4f713e28c24cc70ca9b5397c8e1
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