12345678910111213141516171819202122232425262728 |
- /*
- * 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_DISP_GAMMA_H__
- #define __MTK_DISP_GAMMA_H__
- #include <linux/uaccess.h>
- #include <drm/mediatek_drm.h>
- #define GAMMA_ENTRY(r10, g10, b10) (((r10) << 20) | ((g10) << 10) | (b10))
- int mtk_drm_ioctl_set_gammalut(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
- #endif
|