summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2012-10-22 17:42:38 +0200
committerAlex Deucher <alexander.deucher@amd.com>2012-10-23 10:23:51 -0400
commit204a393c5b88106d7485e20ec834add1013e410a (patch)
tree52e5143982a8122f8f6fcf5de3f3660080e2a97c /drivers/gpu
parentd7025d893897da3e2c26943c57e40d2296146f82 (diff)
downloadlinux-3.10-204a393c5b88106d7485e20ec834add1013e410a.tar.gz
linux-3.10-204a393c5b88106d7485e20ec834add1013e410a.tar.bz2
linux-3.10-204a393c5b88106d7485e20ec834add1013e410a.zip
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')
-rw-r--r--drivers/gpu/drm/radeon/radeon_gart.c3
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 4f6b09e7815..926dc9db644 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,