[PATCHv10 5/9] drm/msm: rearrange the gpu_rmw() function