Commit 60cf1301 authored by Archit Taneja's avatar Archit Taneja
Browse files

drm/msm/mdp5: Prevent calling vblank calculation funcs when crtc is disabled



The drm_driver ops get_vblank_timestamp and get_vblank_counter read MDP5
registers to assist in vblank calculations. When a CRTC is disabled, it's
possible that the MDP5 clocks are disabled, and accessing these registers
should be avoided. Calculating vblank count or scanout position anyway
don't make much sense either when a CRTC is disabled.

Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
parent 180b1b7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment