1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2023 Intel Corporation
*/
#ifndef IGT_DSC_H
#define IGT_DSC_H
#include "igt_fb.h"
#include "igt_kms.h"
#include "igt_core.h"
bool igt_is_dsc_supported_by_source(int drmfd);
bool igt_is_dsc_supported_by_sink(int drmfd, char *connector_name);
bool igt_is_fec_supported(int drmfd, char *connector_name);
bool igt_is_dsc_enabled(int drmfd, char *connector_name);
bool igt_is_force_dsc_enabled(int drmfd, char *connector_name);
int igt_force_dsc_enable(int drmfd, char *connector_name);
int igt_force_dsc_enable_bpc(int drmfd, char *connector_name, int bpc);
int igt_get_dsc_debugfs_fd(int drmfd, char *connector_name);
bool igt_is_dsc_output_format_supported_by_sink(int drmfd, char *connector_name,
enum dsc_output_format output_format);
int igt_force_dsc_output_format(int drmfd, char *connector_name,
enum dsc_output_format output_format);
bool igt_is_dsc_fractional_bpp_supported_by_sink(int drmfd, char *connector_name);
int igt_get_dsc_fractional_bpp_supported(int drmfd, char *connector_name);
bool igt_is_force_dsc_fractional_bpp_enabled(int drmfd, char *connector_name);
int igt_force_dsc_fractional_bpp_enable(int drmfd, char *connector_name);
int igt_get_dsc_fractional_bpp_debugfs_fd(int drmfd, char *connector_name);
int igt_get_dsc_sink_max_slice_count(int drmfd, char *connector_name);
#endif
|