[PATCH 26/45] drm/msm/dp: replace power_on with active_stream_cnt for dp_display
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sun Dec 8 11:50:42 UTC 2024
On Thu, Dec 05, 2024 at 08:31:57PM -0800, Abhinav Kumar wrote:
> For DP MST, the link clock and power domain resources stay on until
> both streams have been disabled OR we receive hotplug. Introduce an
> active_stream_cnt to track the number of active streams and necessary
> state handling. Replace the power_on variable with active_stream_cnt
> as power_on boolean works only for a single stream.
Okay, this answers one of my previous questions. Swapping these two
patches might be beneficial.
For this patch:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
>
> Signed-off-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> ---
> drivers/gpu/drm/msm/dp/dp_audio.c | 2 +-
> drivers/gpu/drm/msm/dp/dp_display.c | 42 ++++++++++++++++++++++++-------------
> drivers/gpu/drm/msm/dp/dp_display.h | 3 ++-
> 3 files changed, 31 insertions(+), 16 deletions(-)
>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list