mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 11:21:23 +00:00
bdk: display: add more oled color mode info
This commit is contained in:
parent
5bb9a244ea
commit
47f0734ba0
2 changed files with 6 additions and 6 deletions
|
@ -710,16 +710,16 @@
|
|||
#define DCS_CONTROL_DISPLAY_DIMMING_CTRL BIT(3)
|
||||
#define DCS_CONTROL_DISPLAY_BRIGHTNESS_CTRL BIT(5)
|
||||
|
||||
#define DCS_SM_COLOR_MODE_DEFAULT 0x00 // Similar to vivid.
|
||||
#define DCS_SM_COLOR_MODE_SATURATED 0x00 // Disabled. Similar to vivid but over-saturated. Wide gamut?
|
||||
#define DCS_SM_COLOR_MODE_WASHED 0x45
|
||||
#define DCS_SM_COLOR_MODE_BASIC 0x03
|
||||
#define DCS_SM_COLOR_MODE_POR_RESET 0x20 // Reset value on power on.
|
||||
#define DCS_SM_COLOR_MODE_NATURAL 0x23 // Not actually natural..
|
||||
#define DCS_SM_COLOR_MODE_VIVID 0x65
|
||||
#define DCS_SM_COLOR_MODE_NIGHT0 0x43 // Based on washed out.
|
||||
#define DCS_SM_COLOR_MODE_NIGHT1 0x15
|
||||
#define DCS_SM_COLOR_MODE_NIGHT2 0x35
|
||||
#define DCS_SM_COLOR_MODE_NIGHT3 0x75
|
||||
#define DCS_SM_COLOR_MODE_NIGHT1 0x15 // Based on basic.
|
||||
#define DCS_SM_COLOR_MODE_NIGHT2 0x35 // Based on natural.
|
||||
#define DCS_SM_COLOR_MODE_NIGHT3 0x75 // Based on vivid.
|
||||
|
||||
#define DCS_SM_COLOR_MODE_ENABLE BIT(0)
|
||||
|
||||
|
|
|
@ -374,7 +374,7 @@ static void _vic_write_priv(u32 addr, u32 data)
|
|||
VIC(PVIC_FALCON_ADDR) = 0;
|
||||
}
|
||||
|
||||
int _vic_wait_idle()
|
||||
static int _vic_wait_idle()
|
||||
{
|
||||
u32 timeout_count = 15000; // 150ms.
|
||||
|
||||
|
|
Loading…
Reference in a new issue