[PATCH v6] drm/msm/dp: add logs across DP driver for ease of debugging

Stephen Boyd swboyd at chromium.org
Tue Jul 27 18:13:39 UTC 2021


Quoting maitreye (2021-07-26 17:38:18)
> From: Maitreyee Rao <maitreye at codeaurora.org>
>
> Add trace points across the MSM DP driver to help debug
> interop issues.
>
> Changes in v2:
>  - Got rid of redundant log messages.
>  - Added %#x instead of 0x%x wherever required.
>  - Got rid of __func__ calls in debug messages.
>  - Added newline wherever missing.
>
> Changes in v3:
>  - Got rid of redundant log messages.
>  - Unstuck colon from printf specifier in various places.
>
> Changes in v4:
>  - Changed goto statement and used if else-if
>
> Changes in v5:
>  - Changed if else if statement,
>    to not overwrite the ret variable multiple times.
> Changes in v6:
>  - Changed a wrong log message.
> Signed-off-by: Maitreyee Rao <maitreye at codeaurora.org>
> ---

Reviewed-by: Stephen Boyd <swboyd at chromium.org>

It may also be good to add some logging into the dp_pm_resume() and
dp_pm_suspend() functions so that we can figure out what's going on with
all these problems due to disconnecting the cable during suspend.


More information about the dri-devel mailing list