blob: 658394dbddea96b48a33cbf423810ab66b3f3582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/**
* Copyright (c) 2019, 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 EDRM_SPLASH_H_
#define EDRM_SPLASH_H_
#define SPLASH_STATUS_NOT_START 0
#define SPLASH_STATUS_RUNNING 1
#define SPLASH_STATUS_STOP 2
/* APIs for early splash handoff functions */
/**
* edrm_splash_get_lk_status
*
* Get early display status to set the status flag.
*/
int edrm_splash_get_lk_status(struct msm_kms *kms);
/**
* edrm_display_acquire
*
* Update main DRM that eDRM is active and eDRM display resource is being used.
*/
void edrm_display_acquire(struct msm_kms *kms);
/**
* edrm_splash_get_lk_status
*
* Update main DRM that eDRM is active and eDRM display resource no longer
* being use. Main DRM can claim back the resource anytime.
*/
void edrm_display_release(struct msm_kms *kms);
#endif
|