File: igt_dsc.h

package info (click to toggle)
intel-gpu-tools 2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 62,024 kB
  • sloc: xml: 769,439; ansic: 348,692; python: 8,307; yacc: 2,781; perl: 1,196; sh: 1,178; lex: 487; asm: 227; makefile: 27; lisp: 11
file content (32 lines) | stat: -rw-r--r-- 1,373 bytes parent folder | download
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