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>
This commit is contained in:
parent
d7025d8938
commit
204a393c5b
|
@ -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 = radeon_sa_bo_gpu_addr(vm->page_tables[pt_idx]);
|
||||||
pte += (addr & mask) * 8;
|
pte += (addr & mask) * 8;
|
||||||
|
|
||||||
if (((last_pte + 8 * count) != pte) ||
|
if ((last_pte + 8 * count) != pte) {
|
||||||
((count + nptes) > 1 << 11)) {
|
|
||||||
|
|
||||||
if (count) {
|
if (count) {
|
||||||
radeon_asic_vm_set_page(rdev, last_pte,
|
radeon_asic_vm_set_page(rdev, last_pte,
|
||||||
|
|
Loading…
Reference in New Issue