intel_color.h revision 1.2
1/* $NetBSD: intel_color.h,v 1.2 2021/12/18 23:45:29 riastradh Exp $ */ 2 3/* SPDX-License-Identifier: MIT */ 4/* 5 * Copyright �� 2019 Intel Corporation 6 */ 7 8#ifndef __INTEL_COLOR_H__ 9#define __INTEL_COLOR_H__ 10 11#include <linux/types.h> 12 13struct intel_crtc_state; 14struct intel_crtc; 15struct drm_property_blob; 16 17void intel_color_init(struct intel_crtc *crtc); 18int intel_color_check(struct intel_crtc_state *crtc_state); 19void intel_color_commit(const struct intel_crtc_state *crtc_state); 20void intel_color_load_luts(const struct intel_crtc_state *crtc_state); 21void intel_color_get_config(struct intel_crtc_state *crtc_state); 22int intel_color_get_gamma_bit_precision(const struct intel_crtc_state *crtc_state); 23bool intel_color_lut_equal(struct drm_property_blob *blob1, 24 struct drm_property_blob *blob2, 25 u32 gamma_mode, u32 bit_precision); 26 27#endif /* __INTEL_COLOR_H__ */ 28