drm/msm/sde: fix mdp clk under vote in dp
Current driver checks the current cached state
of the mdp clock to decide if the mdp clock
needs to be updated. However, the clock value
is never reset to zero, this is a problem when
after a DP connect/disconnect, the cached clock
value is same as the new clock, since this prevents
the driver from voting.
Fix this problem by making sure the mdp clock and
bandwidth values are reset when the crtc is
disabled.
Change-Id: Ibe3744fcf69b2020e1cefd74b6325170d12d1e47
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
1 file changed