1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- /* Copyright (c) 2014, The Linux Foundation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
- #ifndef MDSS_MDP_SPLASH_LOGO
- #define MDSS_MDP_SPLASH_LOGO
- #include <linux/types.h>
- #include <linux/notifier.h>
- #include <linux/kthread.h>
- #include <linux/completion.h>
- struct msm_fb_splash_info {
- struct task_struct *splash_thread;
- bool splash_logo_enabled;
- bool iommu_dynamic_attached;
- struct notifier_block notifier;
- uint32_t frame_done_count;
- struct completion frame_done;
- struct ion_handle *ion_handle;
- dma_addr_t iova;
- void *splash_buffer;
- int pipe_ndx[2];
- bool splash_pipe_allocated;
- };
- struct msm_fb_data_type;
- void mdss_mdp_release_splash_pipe(struct msm_fb_data_type *mfd);
- int mdss_mdp_splash_cleanup(struct msm_fb_data_type *mfd,
- bool use_borderfill);
- int mdss_mdp_splash_init(struct msm_fb_data_type *mfd);
- #endif
|