[PATCHv3 6/7] drm/msm: rearrange the gpu_rmw() function