]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: fix build failures on all non ARM.
authorDave Airlie <airlied@redhat.com>
Mon, 9 Nov 2015 22:36:59 +0000 (08:36 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Nov 2015 02:37:57 +0000 (12:37 +1000)
commit42a4832bcbd5d414f7c31ef6ff2b8ddcf4f610cf
tree958c7a4491f8419c77fbb6e64ce5a02def491e2b
parent9dc734f44a7c435247832d76e94922192e5f826f
drm/nouveau: fix build failures on all non ARM.

gk20a is an ARM only GPU, so we can just do the correct thing on
ARM but fail on other architectures. The other option was to use
SWIOTLB as the define, which means phys_to_page exists, but
this seems clearer.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c