struct mtk_dp *mtk_dp = mtk_dp_from_bridge(bridge);
        enum drm_connector_status ret = connector_status_disconnected;
        bool enabled = mtk_dp->enabled;
-       u8 sink_count = 0;
 
        if (!mtk_dp->train_info.cable_plugged_in)
                return ret;
         * function, we just need to check the HPD connection to check
         * whether we connect to a sink device.
         */
-       drm_dp_dpcd_readb(&mtk_dp->aux, DP_SINK_COUNT, &sink_count);
-       if (DP_GET_SINK_COUNT(sink_count))
+
+       if (drm_dp_read_sink_count(&mtk_dp->aux) > 0)
                ret = connector_status_connected;
 
        if (!enabled)