As discusssed in the the review of [1], rework these two functions to separate single point parser and provide clean error path. Depenencies: [1] [1] https://lore.kernel.org/all/20230215235048.1166484-1-robdclark@xxxxxxxxx Changes since v1: - Restored dumping of ring->id in trace_msm_gpu_submit (requested by Rob Clark) Dmitry Baryshkov (2): drm/msm: drop unused ring variable in msm_ioctl_gem_submit() drm/msm: simplify msm_parse_deps() and msm_parse_post_deps() drivers/gpu/drm/msm/msm_gem_submit.c | 201 ++++++++++++++------------- 1 file changed, 108 insertions(+), 93 deletions(-) -- 2.39.1