[PATCH 12/19] drm/msm/dp: Drop ST_MAINLINK_READY hpd_state
Jessica Zhang
jessica.zhang at oss.qualcomm.com
Sat Jul 12 00:58:17 UTC 2025
Drop the now-unused ST_MAINLINK_READY hpd_state.
Signed-off-by: Jessica Zhang <jessica.zhang at oss.qualcomm.com>
---
drivers/gpu/drm/msm/dp/dp_display.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c
index 17093b78900c..5efc8d4ecf54 100644
--- a/drivers/gpu/drm/msm/dp/dp_display.c
+++ b/drivers/gpu/drm/msm/dp/dp_display.c
@@ -46,7 +46,6 @@ enum {
/* event thread connection state */
enum {
ST_DISCONNECTED,
- ST_MAINLINK_READY,
ST_CONNECTED,
ST_DISCONNECT_PENDING,
};
@@ -526,7 +525,6 @@ static int msm_dp_display_handle_port_status_changed(struct msm_dp_display_priva
}
} else {
if (!dp->msm_dp_display.connected) {
- dp->hpd_state = ST_MAINLINK_READY;
rc = msm_dp_display_process_hpd_high(dp);
if (rc)
dp->hpd_state = ST_DISCONNECTED;
@@ -613,8 +611,6 @@ static int msm_dp_hpd_plug_handle(struct msm_dp_display_private *dp, u32 data)
dp->hpd_state = ST_DISCONNECTED;
dp->msm_dp_display.connected = false;
pm_runtime_put_sync(&pdev->dev);
- } else {
- dp->hpd_state = ST_MAINLINK_READY;
}
drm_dbg_dp(dp->drm_dev, "After, type=%d hpd_state=%d\n",
--
2.50.1
More information about the Freedreno
mailing list