[PATCH v5 4/7] drm/msm/dp: add API to take DP register snapshot