]> 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)
commitda04fa6b223ad5bca8b826b44726b34aeaae3932
tree958c7a4491f8419c77fbb6e64ce5a02def491e2b
parentdba3be558e8e1eeac9e5013b570b01f0092a14c8
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