diff options
author | Christian König <deathsimple@vodafone.de> | 2012-10-22 11:42:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-10-23 10:23:51 -0400 |
commit | 204a393c5b88106d7485e20ec834add1013e410a (patch) | |
tree | 52e5143982a8122f8f6fcf5de3f3660080e2a97c | |
parent | d7025d893897da3e2c26943c57e40d2296146f82 (diff) |
drm/radeon: remove set_page check from VM code
It's better to handle this in the chipset specific code.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_gart.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c index 4f6b09e78159..926dc9db644f 100644 --- a/drivers/gpu/drm/radeon/radeon_gart.c +++ b/drivers/gpu/drm/radeon/radeon_gart.c | |||
@@ -1036,8 +1036,7 @@ static void radeon_vm_update_ptes(struct radeon_device *rdev, | |||
1036 | pte = radeon_sa_bo_gpu_addr(vm->page_tables[pt_idx]); | 1036 | pte = radeon_sa_bo_gpu_addr(vm->page_tables[pt_idx]); |
1037 | pte += (addr & mask) * 8; | 1037 | pte += (addr & mask) * 8; |
1038 | 1038 | ||
1039 | if (((last_pte + 8 * count) != pte) || | 1039 | if ((last_pte + 8 * count) != pte) { |
1040 | ((count + nptes) > 1 << 11)) { | ||
1041 | 1040 | ||
1042 | if (count) { | 1041 | if (count) { |
1043 | radeon_asic_vm_set_page(rdev, last_pte, | 1042 | radeon_asic_vm_set_page(rdev, last_pte, |