Loading drivers/gpu/drm/msm/dp/dp_display.c +12 −9 Original line number Diff line number Diff line Loading @@ -147,13 +147,6 @@ static void dp_display_hdcp_cb_work(struct work_struct *work) dp = container_of(dw, struct dp_display_private, hdcp_cb_work); dp_display_update_hdcp_info(dp); if (!dp_display_is_hdcp_enabled(dp)) return; dp->link->hdcp_status.hdcp_state = HDCP_STATE_AUTHENTICATING; rc = dp->catalog->ctrl.read_hdcp_status(&dp->catalog->ctrl); if (rc >= 0) { hdcp_auth_state = (rc >> 20) & 0x3; Loading Loading @@ -475,13 +468,15 @@ static int dp_display_send_hpd_notification(struct dp_display_private *dp, bool hpd) { int ret = 0; static int bootsplash_count; dp->dp_display.is_connected = hpd; if (!dp_display_framework_ready(dp)) { pr_err("%s: dp display framework not ready\n", __func__); if (!dp->dp_display.is_bootsplash_en) { if (!dp->dp_display.is_bootsplash_en && !bootsplash_count) { dp->dp_display.is_bootsplash_en = true; bootsplash_count++; drm_client_dev_register(dp->dp_display.drm_dev); } return ret; Loading Loading @@ -1151,6 +1146,11 @@ static int dp_display_post_enable(struct dp_display *dp_display) goto end; } if (dp->dp_display.is_bootsplash_en) { dp->dp_display.is_bootsplash_en = false; goto end; } dp->panel->spd_config(dp->panel); if (dp->audio_supported) { Loading @@ -1159,9 +1159,12 @@ static int dp_display_post_enable(struct dp_display *dp_display) dp->audio_status = dp->audio->on(dp->audio); } if (dp->hdcp.feature_enabled && 0) { /* bootsplash check */ dp_display_update_hdcp_info(dp); if (dp_display_is_hdcp_enabled(dp)) { cancel_delayed_work_sync(&dp->hdcp_cb_work); dp->link->hdcp_status.hdcp_state = HDCP_STATE_AUTHENTICATING; queue_delayed_work(dp->wq, &dp->hdcp_cb_work, HZ / 2); } Loading Loading
drivers/gpu/drm/msm/dp/dp_display.c +12 −9 Original line number Diff line number Diff line Loading @@ -147,13 +147,6 @@ static void dp_display_hdcp_cb_work(struct work_struct *work) dp = container_of(dw, struct dp_display_private, hdcp_cb_work); dp_display_update_hdcp_info(dp); if (!dp_display_is_hdcp_enabled(dp)) return; dp->link->hdcp_status.hdcp_state = HDCP_STATE_AUTHENTICATING; rc = dp->catalog->ctrl.read_hdcp_status(&dp->catalog->ctrl); if (rc >= 0) { hdcp_auth_state = (rc >> 20) & 0x3; Loading Loading @@ -475,13 +468,15 @@ static int dp_display_send_hpd_notification(struct dp_display_private *dp, bool hpd) { int ret = 0; static int bootsplash_count; dp->dp_display.is_connected = hpd; if (!dp_display_framework_ready(dp)) { pr_err("%s: dp display framework not ready\n", __func__); if (!dp->dp_display.is_bootsplash_en) { if (!dp->dp_display.is_bootsplash_en && !bootsplash_count) { dp->dp_display.is_bootsplash_en = true; bootsplash_count++; drm_client_dev_register(dp->dp_display.drm_dev); } return ret; Loading Loading @@ -1151,6 +1146,11 @@ static int dp_display_post_enable(struct dp_display *dp_display) goto end; } if (dp->dp_display.is_bootsplash_en) { dp->dp_display.is_bootsplash_en = false; goto end; } dp->panel->spd_config(dp->panel); if (dp->audio_supported) { Loading @@ -1159,9 +1159,12 @@ static int dp_display_post_enable(struct dp_display *dp_display) dp->audio_status = dp->audio->on(dp->audio); } if (dp->hdcp.feature_enabled && 0) { /* bootsplash check */ dp_display_update_hdcp_info(dp); if (dp_display_is_hdcp_enabled(dp)) { cancel_delayed_work_sync(&dp->hdcp_cb_work); dp->link->hdcp_status.hdcp_state = HDCP_STATE_AUTHENTICATING; queue_delayed_work(dp->wq, &dp->hdcp_cb_work, HZ / 2); } Loading