c05564c4d8
Android 13
20 lines
382 B
C
Executable file
20 lines
382 B
C
Executable file
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2019 MediaTek Inc.
|
|
*/
|
|
|
|
#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
|
|
|