[PATCHv6 3/6] drm/msm: rearrange the gpu_rmw() function