linux/drivers/gpu/drm/i915/display/intel_color.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: MIT */
   2/*
   3 * Copyright © 2019 Intel Corporation
   4 */
   5
   6#ifndef __INTEL_COLOR_H__
   7#define __INTEL_COLOR_H__
   8
   9#include <linux/types.h>
  10
  11struct intel_crtc_state;
  12struct intel_crtc;
  13struct drm_property_blob;
  14
  15void intel_color_init(struct intel_crtc *crtc);
  16int intel_color_check(struct intel_crtc_state *crtc_state);
  17void intel_color_commit(const struct intel_crtc_state *crtc_state);
  18void intel_color_load_luts(const struct intel_crtc_state *crtc_state);
  19void intel_color_get_config(struct intel_crtc_state *crtc_state);
  20int intel_color_get_gamma_bit_precision(const struct intel_crtc_state *crtc_state);
  21bool intel_color_lut_equal(struct drm_property_blob *blob1,
  22                           struct drm_property_blob *blob2,
  23                           u32 gamma_mode, u32 bit_precision);
  24
  25#endif /* __INTEL_COLOR_H__ */
  26