kernel_samsung_a34x-permissive/drivers/gpu/drm/mediatek/mtk_disp_gamma.h
2024-04-28 15:49:01 +02:00

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