ttm: fix agp since ttm tt rework
authorJerome Glisse <jglisse@redhat.com>
Tue, 3 Jan 2012 22:37:37 +0000 (17:37 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 6 Jan 2012 09:34:03 +0000 (09:34 +0000)
commitdea7e0ac45fd28f90bbc38ff226d36a9f788efbf
tree1130a3d51f0f8aa8ab462f1735423e3dc37835b6
parente11d0b87cde80745afe4712a19cd37bca9924a5b
ttm: fix agp since ttm tt rework

ttm tt rework modified the way we allocate and populate the
ttm_tt structure, the AGP side was missing some bit to properly
work. Fix those and fix radeon and nouveau AGP support.

Tested on radeon only so far.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/ttm/ttm_agp_backend.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_bo_driver.h