Skip to content

Commit f31b0e2

Browse files
lumagrobclark
authored andcommitted
drm/msm/dpu: fix safe status debugfs file
Make safe_status debugfs fs file actually return safe status rather than danger status data. Fixes: 25fdd59 ("drm/msm: Add SDM845 DPU support") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Link: https://lore.kernel.org/r/20211201222633.2476780-3-dmitry.baryshkov@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
1 parent 9653624 commit f31b0e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ static int _dpu_danger_signal_status(struct seq_file *s,
7373
&status);
7474
} else {
7575
seq_puts(s, "\nSafe signal status:\n");
76-
if (kms->hw_mdp->ops.get_danger_status)
77-
kms->hw_mdp->ops.get_danger_status(kms->hw_mdp,
76+
if (kms->hw_mdp->ops.get_safe_status)
77+
kms->hw_mdp->ops.get_safe_status(kms->hw_mdp,
7878
&status);
7979
}
8080
pm_runtime_put_sync(&kms->pdev->dev);

0 commit comments

Comments
 (0)