[Bug 30147] r300g Regression : "add void * for flush ctx to mapping functions"