From: Christian König Date: Fri, 6 Jul 2012 14:22:55 +0000 (+0200) Subject: drm/radeon: record what is next valid wptr for each ring v4 X-Git-Tag: v3.6-rc1~83^2~36^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45df68035c4964d42ea3850980708ce8674f75b3;p=pandora-kernel.git drm/radeon: record what is next valid wptr for each ring v4 Before emitting any indirect buffer, emit the offset of the next valid ring content if any. This allow code that want to resume ring to resume ring right after ib that caused GPU lockup. v2: use scratch registers instead of storing it into memory v3: skip over the surface sync for ni and si as well v4: use SET_CONFIG_REG instead of PACKET0 Signed-off-by: Jerome Glisse Signed-off-by: Christian König Reviewed-by: Alex Deucher --- Reading git-diff-tree failed