diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-06-18 02:24:33 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-07-06 18:54:41 -0700 |
commit | 786a4f668550f8576c28d167fd50f4ef84af8ba4 (patch) | |
tree | a70bf45ae9853a4f83125e6db67542dd40721f4b /drivers/gpu/drm/msm/dp | |
parent | bce1e40568cbe7bee1c1425f2269673fd1f3c28b (diff) | |
download | linux-786a4f668550f8576c28d167fd50f4ef84af8ba4.tar.bz2 |
drm/msm/dp: rename second dp_display_enable()'s argument
To follow up recent changes, rename (and change type of) second
dp_display_enable()'s argument from generic u32 data to bool
force_link_train, which is later passed to dp_ctrl_on_stream().
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/490102/
Link: https://lore.kernel.org/r/20220617232434.1139950-2-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/dp')
-rw-r--r-- | drivers/gpu/drm/msm/dp/dp_display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 2dccc23487bc..903f88479723 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -618,7 +618,7 @@ static int dp_hpd_plug_handle(struct dp_display_private *dp, u32 data) return 0; }; -static int dp_display_enable(struct dp_display_private *dp, u32 data); +static int dp_display_enable(struct dp_display_private *dp, bool force_link_train); static int dp_display_disable(struct dp_display_private *dp, u32 data); static void dp_display_handle_plugged_change(struct msm_dp *dp_display, @@ -867,7 +867,7 @@ static int dp_display_set_mode(struct msm_dp *dp_display, return 0; } -static int dp_display_enable(struct dp_display_private *dp, u32 data) +static int dp_display_enable(struct dp_display_private *dp, bool force_link_train) { int rc = 0; struct msm_dp *dp_display = &dp->dp_display; @@ -878,7 +878,7 @@ static int dp_display_enable(struct dp_display_private *dp, u32 data) return 0; } - rc = dp_ctrl_on_stream(dp->ctrl, data); + rc = dp_ctrl_on_stream(dp->ctrl, force_link_train); if (!rc) dp_display->power_on = true; |