]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: only call ttm_agp_tt_create when __OS_HAS_AGP
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 13 Oct 2012 21:58:26 +0000 (01:58 +0400)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 16 Oct 2012 06:29:12 +0000 (16:29 +1000)
commitd531844d90b9a76d84f2ddf7eae85c69de3877ce
tree686dcafa21887ae18fb03b77196c960d212684af
parent971b3631f6c3c7eebe4b68dfb2c1d08df5de69ab
drm/nouveau: only call ttm_agp_tt_create when __OS_HAS_AGP

ttm_agp_tt_create is itself defined under CONFIG_AGP, so there's no
point calling it otherwise.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c