Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
34 lines
1.0 KiB
C
34 lines
1.0 KiB
C
/*
|
|
* Copyright (C) 2019 MediaTek Inc.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License 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 _MTK_DRM_ASSERT_EXT_H
|
|
#define _MTK_DRM_ASSERT_EXT_H
|
|
|
|
enum DAL_COLOR {
|
|
DAL_COLOR_BLACK = 0x000000,
|
|
DAL_COLOR_WHITE = 0xFFFFFF,
|
|
DAL_COLOR_RED = 0xFF0000,
|
|
DAL_COLOR_GREEN = 0x00FF00,
|
|
DAL_COLOR_BLUE = 0x0000FF,
|
|
DAL_COLOR_TURQUOISE = (DAL_COLOR_GREEN | DAL_COLOR_BLUE),
|
|
DAL_COLOR_YELLOW = (DAL_COLOR_RED | DAL_COLOR_GREEN),
|
|
DAL_COLOR_PINK = (DAL_COLOR_RED | DAL_COLOR_BLUE),
|
|
};
|
|
|
|
int DAL_SetScreenColor(enum DAL_COLOR color);
|
|
int DAL_SetColor(unsigned int fgColor, unsigned int bgColor);
|
|
int DAL_Clean(void);
|
|
int DAL_Printf(const char *fmt, ...);
|
|
|
|
#endif
|