#include "dm_services.h"
#include "core_types.h"
#include "timing_generator.h"
#include "hw_sequencer.h"
#include "hw_sequencer_private.h"
#include "basics/dc_common.h"
#include "resource.h"
#include "dc_dmub_srv.h"
#include "dc_state_priv.h"
#define NUM_ELEMENTS(a) …
enum black_color_format { … };
enum dc_color_space_type { … };
static const struct tg_color black_color_format[] = …;
struct out_csc_color_matrix_type { … };
static const struct out_csc_color_matrix_type output_csc_matrix[] = …;
static bool is_rgb_type(
enum dc_color_space color_space)
{ … }
static bool is_rgb_limited_type(
enum dc_color_space color_space)
{ … }
static bool is_ycbcr601_type(
enum dc_color_space color_space)
{ … }
static bool is_ycbcr601_limited_type(
enum dc_color_space color_space)
{ … }
static bool is_ycbcr709_type(
enum dc_color_space color_space)
{ … }
static bool is_ycbcr2020_type(
enum dc_color_space color_space)
{ … }
static bool is_ycbcr709_limited_type(
enum dc_color_space color_space)
{ … }
static enum dc_color_space_type get_color_space_type(enum dc_color_space color_space)
{ … }
const uint16_t *find_color_matrix(enum dc_color_space color_space,
uint32_t *array_size)
{ … }
void color_space_to_black_color(
const struct dc *dc,
enum dc_color_space colorspace,
struct tg_color *black_color)
{ … }
bool hwss_wait_for_blank_complete(
struct timing_generator *tg)
{ … }
void get_mpctree_visual_confirm_color(
struct pipe_ctx *pipe_ctx,
struct tg_color *color)
{ … }
void get_surface_visual_confirm_color(
const struct pipe_ctx *pipe_ctx,
struct tg_color *color)
{ … }
void get_hdr_visual_confirm_color(
struct pipe_ctx *pipe_ctx,
struct tg_color *color)
{ … }
void get_subvp_visual_confirm_color(
struct pipe_ctx *pipe_ctx,
struct tg_color *color)
{ … }
void get_mclk_switch_visual_confirm_color(
struct pipe_ctx *pipe_ctx,
struct tg_color *color)
{ … }
void set_p_state_switch_method(
struct dc *dc,
struct dc_state *context,
struct pipe_ctx *pipe_ctx)
{ … }
void get_fams2_visual_confirm_color(
struct dc *dc,
struct dc_state *context,
struct pipe_ctx *pipe_ctx,
struct tg_color *color)
{ … }
void hwss_build_fast_sequence(struct dc *dc,
struct dc_dmub_cmd *dc_dmub_cmd,
unsigned int dmub_cmd_count,
struct block_sequence block_sequence[],
unsigned int *num_steps,
struct pipe_ctx *pipe_ctx,
struct dc_stream_status *stream_status,
struct dc_state *context)
{ … }
void hwss_execute_sequence(struct dc *dc,
struct block_sequence block_sequence[],
int num_steps)
{ … }
void hwss_send_dmcub_cmd(union block_sequence_params *params)
{ … }
void hwss_program_manual_trigger(union block_sequence_params *params)
{ … }
void hwss_setup_dpp(union block_sequence_params *params)
{ … }
void hwss_program_bias_and_scale(union block_sequence_params *params)
{ … }
void hwss_power_on_mpc_mem_pwr(union block_sequence_params *params)
{ … }
void hwss_set_output_csc(union block_sequence_params *params)
{ … }
void hwss_set_ocsc_default(union block_sequence_params *params)
{ … }
void hwss_subvp_save_surf_addr(union block_sequence_params *params)
{ … }
void get_surface_tile_visual_confirm_color(
struct pipe_ctx *pipe_ctx,
struct tg_color *color)
{ … }