]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/msm: dpu: Use 'vsync' instead of 'vsync_clk' in cmdmode encoder
authorSean Paul <seanpaul@chromium.org>
Wed, 25 Jul 2018 20:34:43 +0000 (16:34 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:50:12 +0000 (08:50 -0400)
Should work with the legacy handling in of, but we shouldn't rely on
that.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c

index 035a5fbe1435a19b8ff5413541263664aa9b6783..e6d02c6947b4f0b892fb475e8ed5d2e2ae985f32 100644 (file)
@@ -424,7 +424,7 @@ static void dpu_encoder_phys_cmd_tearcheck_config(
         * vsync_count is ratio of MDP VSYNC clock frequency to LCD panel
         * frequency divided by the no. of rows (lines) in the LCDpanel.
         */
-       vsync_hz = dpu_kms_get_clk_rate(dpu_kms, "vsync_clk");
+       vsync_hz = dpu_kms_get_clk_rate(dpu_kms, "vsync");
        if (vsync_hz <= 0) {
                DPU_DEBUG_CMDENC(cmd_enc, "invalid - vsync_hz %u\n",
                                 vsync_hz);