2021-07-20 15:53:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <xf86drmMode.h>
|
|
|
|
|
|
|
|
void generate_cvt_mode(drmModeModeInfo *mode, int hdisplay, int vdisplay,
|
|
|
|
float vrefresh, bool reduced, bool interlaced);
|
2021-10-26 14:33:34 +00:00
|
|
|
void generate_fixed_mode(drmModeModeInfo *mode, const drmModeModeInfo *base,
|
2022-02-14 22:50:15 +00:00
|
|
|
int vrefresh, bool use_tuned_clocks);
|