FILE
intel_color.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/i915/display/intel_color.h
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_atomic_state; 12struct intel_crtc_state; 13struct intel_crtc; 14struct intel_display; 15struct intel_dsb; 16struct intel_plane_state; 17struct drm_property_blob; 18enum pipe; 19 20void intel_color_init_hooks(struct intel_display *display); 21int intel_color_init(struct intel_display *display); 22void intel_color_crtc_init(struct intel_crtc *crtc); 23int intel_color_check(struct intel_atomic_state *state, 24 struct intel_crtc *crtc); 25void intel_color_prepare_commit(struct intel_atomic_state *state, 26 struct intel_crtc *crtc); 27void intel_color_cleanup_commit(struct intel_crtc_state *crtc_state); 28bool intel_color_uses_dsb(const struct intel_crtc_state *crtc_state); 29bool intel_color_uses_chained_dsb(const struct intel_crtc_state *crtc_state); 30bool intel_color_uses_gosub_dsb(const struct intel_crtc_state *crtc_state); 31void intel_color_wait_commit(const struct intel_crtc_state *crtc_state); 32void intel_color_commit_noarm(struct intel_dsb *dsb, 33 const struct intel_crtc_state *crtc_state); 34void intel_color_commit_arm(struct intel_dsb *dsb, 35 const struct intel_crtc_state *crtc_state); 36void intel_color_post_update(const struct intel_crtc_state *crtc_state); 37void intel_color_load_luts(const struct intel_crtc_state *crtc_state); 38void intel_color_modeset(const struct intel_crtc_state *crtc_state); 39void intel_color_get_config(struct intel_crtc_state *crtc_state); 40bool intel_color_lut_equal(const struct intel_crtc_state *crtc_state, 41 const struct drm_property_blob *blob1, 42 const struct drm_property_blob *blob2, 43 bool is_pre_csc_lut); 44void intel_color_assert_luts(const struct intel_crtc_state *crtc_state); 45void intel_color_plane_program_pipeline(struct intel_dsb *dsb, 46 const struct intel_plane_state *plane_state); 47void intel_color_plane_commit_arm(struct intel_dsb *dsb, 48 const struct intel_plane_state *plane_state); 49bool intel_color_crtc_has_3dlut(struct intel_display *display, enum pipe pipe); 50#endif /* __INTEL_COLOR_H__ */
~/
Read-only file preview.