drm/radeon: Remove rdev->gart.pages_addr array
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 21 Jan 2015 08:36:37 +0000 (17:36 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 16:48:03 +0000 (11:48 -0500)
commit16653dbae06609b9d0a7427de6c7f4c98d76523c
tree09980f77c2973cbcaefd3036fba4de248550093e
parent5636d2f842c7bd7800002868ead3d6b809d385a0
drm/radeon: Remove rdev->gart.pages_addr array

radeon_vm_map_gart can use rdev->gart.pages_entry instead.

Also move the masking of the page address to radeon_vm_map_gart from its
callers.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik_sdma.c
drivers/gpu/drm/radeon/ni_dma.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_gart.c
drivers/gpu/drm/radeon/radeon_vm.c
drivers/gpu/drm/radeon/si_dma.c