[PATCH v5 3/7] drm/msm/dsi: add API to take DSI register snapshot