]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Use drm_mode_vrefresh instead of mode->vrefresh
authorSean Paul <seanpaul@chromium.org>
Mon, 28 Jan 2019 20:42:48 +0000 (15:42 -0500)
committerRob Clark <robdclark@chromium.org>
Thu, 18 Apr 2019 17:04:09 +0000 (10:04 -0700)
commit7dcc06908ed86c583c0e19bd1ba01b762ab94239
tree140bd78c8757c3e316a5168ca6c92d30da3fe582
parent4e4483f7ad5b12c0a86a88221bcd1f168b99c1f6
drm/msm: Use drm_mode_vrefresh instead of mode->vrefresh

Use the drm_mode_vrefresh helper where we need refresh rate in case
vrefresh is empty.

Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190128204306.95076-1-sean@poorly.run
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c