struct amdgpu_dm_connector *aconnector = (struct amdgpu_dm_connector *)param;
        struct drm_connector *connector = &aconnector->base;
        struct drm_device *dev = connector->dev;
+       enum dc_connection_type new_connection_type = dc_connection_none;
  
 -      /* In case of failure or MST no need to update connector status or notify the OS
 -       * since (for MST case) MST does this in it's own context.
 +      /*
 +       * In case of failure or MST no need to update connector status or notify the OS
 +       * since (for MST case) MST does this in its own context.
         */
        mutex_lock(&aconnector->hpd_lock);
  
        struct drm_device *dev = connector->dev;
        struct dc_link *dc_link = aconnector->dc_link;
        bool is_mst_root_connector = aconnector->mst_mgr.mst_state;
+       enum dc_connection_type new_connection_type = dc_connection_none;
  
 -      /* TODO:Temporary add mutex to protect hpd interrupt not have a gpio
 +      /*
 +       * TODO:Temporary add mutex to protect hpd interrupt not have a gpio
         * conflict, after implement i2c helper, this mutex should be
         * retired.
         */