diff options
author | Sean Paul | 2018-11-16 19:42:27 +0100 |
---|---|---|
committer | Rob Clark | 2018-12-11 19:10:13 +0100 |
commit | b77d0f0d4ee757e0a27a269a8b679108162f9bd2 (patch) | |
tree | 9e1ae07710f8ec24861b59a3897567d8e70d9a5c /fs/sysfs/Kconfig | |
parent | drm/msm: dpu: Add modeset lock checks where applicable (diff) | |
download | kernel-qcow2-linux-b77d0f0d4ee757e0a27a269a8b679108162f9bd2.tar.gz kernel-qcow2-linux-b77d0f0d4ee757e0a27a269a8b679108162f9bd2.tar.xz kernel-qcow2-linux-b77d0f0d4ee757e0a27a269a8b679108162f9bd2.zip |
drm/msm: dpu: Move pm_runtime_(get|put) from vblank_enable
There are 4 times that _dpu_crtc_vblank_enable_no_lock() is called:
1- crtc enable
2- crtc disable
3- crtc vblank enable
4- crtc vblank disable
When we enable or disable the crtc, we call drm_crtc_vblank_on and
drm_crtc_vblank_off respectively. That will gate vblank enables and
disables to only being called when the crtc is active. That means that
we can just enable/disable pm runtime in crtc enable/disable. This will
be beneficial in trying to eliminate blocking calls from the vblank call
chain.
Changes in v2:
- None
Reviewed-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'fs/sysfs/Kconfig')
0 files changed, 0 insertions, 0 deletions