drm/radeon: Move looping over the PTEs into chip code