Loading drivers/gpu/drm/msm/ekms/edrm_kms.c +0 −6 Original line number Diff line number Diff line Loading @@ -70,12 +70,6 @@ static void edrm_kms_prepare_commit(struct msm_kms *kms, /* Notify bootloader splash to stop */ if (valid_commit && edrm_kms->lk_running_flag) { /* if LK is still running, notify LK to stop */ if (edrm_splash_get_lk_status(kms) != SPLASH_STATUS_NOT_START) { edrm_splash_notify_lk_stop_splash(kms); edrm_splash_poll_lk_stop_splash(kms); } /* next eDRM close will trigger display resources handoff */ edrm_kms->handoff_flag = true; Loading drivers/gpu/drm/msm/ekms/edrm_splash.c +0 −32 Original line number Diff line number Diff line Loading @@ -32,38 +32,6 @@ #define SDE_EXIT_VALUE 0xDEADBEEF #define SDE_LK_IMMEDIATE_STOP_VALUE 0xFEFEFEFE /** * edrm_splash_notify_lk_stop_splash. * * Function to stop early splash in LK. */ void edrm_splash_notify_lk_stop_splash(struct msm_kms *kms) { request_early_service_shutdown(EARLY_DISPLAY); } /** * edrm_splash_poll_lk_stop_splash. * * Function to poll for early splash stop in LK. */ void edrm_splash_poll_lk_stop_splash(struct msm_kms *kms) { int i = 0; struct msm_edrm_kms *edrm_kms = to_edrm_kms(kms); /* each read may wait up to 10000us, worst case polling is 4 sec */ while (i < 400) { /* read LK status from scratch register*/ if (!get_early_service_status(EARLY_DISPLAY)) { edrm_kms->lk_running_flag = false; break; } usleep_range(8000, 10000); i++; } } /* * Below function will indicate early display exited or not started. */ Loading drivers/gpu/drm/msm/ekms/edrm_splash.h +0 −15 Original line number Diff line number Diff line Loading @@ -19,21 +19,6 @@ /* APIs for early splash handoff functions */ /** * edrm_splash_notify_lk_stop_splash. * * Tell LK to stop display splash. LK may continue to run until last frame. */ void edrm_splash_notify_lk_stop_splash(struct msm_kms *kms); /** * edrm_splash_poll_lk_stop_splash. * * Wait unitl LK stop the spash at last frame or it exited the splash app. */ void edrm_splash_poll_lk_stop_splash(struct msm_kms *kms); /** * edrm_splash_get_lk_status * Loading Loading
drivers/gpu/drm/msm/ekms/edrm_kms.c +0 −6 Original line number Diff line number Diff line Loading @@ -70,12 +70,6 @@ static void edrm_kms_prepare_commit(struct msm_kms *kms, /* Notify bootloader splash to stop */ if (valid_commit && edrm_kms->lk_running_flag) { /* if LK is still running, notify LK to stop */ if (edrm_splash_get_lk_status(kms) != SPLASH_STATUS_NOT_START) { edrm_splash_notify_lk_stop_splash(kms); edrm_splash_poll_lk_stop_splash(kms); } /* next eDRM close will trigger display resources handoff */ edrm_kms->handoff_flag = true; Loading
drivers/gpu/drm/msm/ekms/edrm_splash.c +0 −32 Original line number Diff line number Diff line Loading @@ -32,38 +32,6 @@ #define SDE_EXIT_VALUE 0xDEADBEEF #define SDE_LK_IMMEDIATE_STOP_VALUE 0xFEFEFEFE /** * edrm_splash_notify_lk_stop_splash. * * Function to stop early splash in LK. */ void edrm_splash_notify_lk_stop_splash(struct msm_kms *kms) { request_early_service_shutdown(EARLY_DISPLAY); } /** * edrm_splash_poll_lk_stop_splash. * * Function to poll for early splash stop in LK. */ void edrm_splash_poll_lk_stop_splash(struct msm_kms *kms) { int i = 0; struct msm_edrm_kms *edrm_kms = to_edrm_kms(kms); /* each read may wait up to 10000us, worst case polling is 4 sec */ while (i < 400) { /* read LK status from scratch register*/ if (!get_early_service_status(EARLY_DISPLAY)) { edrm_kms->lk_running_flag = false; break; } usleep_range(8000, 10000); i++; } } /* * Below function will indicate early display exited or not started. */ Loading
drivers/gpu/drm/msm/ekms/edrm_splash.h +0 −15 Original line number Diff line number Diff line Loading @@ -19,21 +19,6 @@ /* APIs for early splash handoff functions */ /** * edrm_splash_notify_lk_stop_splash. * * Tell LK to stop display splash. LK may continue to run until last frame. */ void edrm_splash_notify_lk_stop_splash(struct msm_kms *kms); /** * edrm_splash_poll_lk_stop_splash. * * Wait unitl LK stop the spash at last frame or it exited the splash app. */ void edrm_splash_poll_lk_stop_splash(struct msm_kms *kms); /** * edrm_splash_get_lk_status * Loading