diff options
author | Christian König <deathsimple@vodafone.de> | 2012-10-22 17:42:38 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-10-23 10:23:51 -0400 |
commit | 204a393c5b88106d7485e20ec834add1013e410a (patch) | |
tree | 52e5143982a8122f8f6fcf5de3f3660080e2a97c /drivers/gpu/drm | |
parent | d7025d893897da3e2c26943c57e40d2296146f82 (diff) | |
download | op-kernel-dev-204a393c5b88106d7485e20ec834add1013e410a.zip op-kernel-dev-204a393c5b88106d7485e20ec834add1013e410a.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm')
-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 4f6b09e..926dc9d 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, pte = radeon_sa_bo_gpu_addr(vm->page_tables[pt_idx]); pte += (addr & mask) * 8; - if (((last_pte + 8 * count) != pte) || - ((count + nptes) > 1 << 11)) { + if ((last_pte + 8 * count) != pte) { if (count) { radeon_asic_vm_set_page(rdev, last_pte, |