mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 22:32:57 +00:00
lib/igt_kms: set_vt_graphics_mode is a low-level helper
So give it a kmstest_ prefix and shuffle it around a bit. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+6
-3
@@ -36,6 +36,8 @@
|
||||
|
||||
#include "igt_fb.h"
|
||||
|
||||
/* Low-level helpers with kmstest_ prefix */
|
||||
|
||||
enum pipe {
|
||||
PIPE_A = 0,
|
||||
PIPE_B,
|
||||
@@ -163,6 +165,10 @@ void kmstest_unset_all_crtcs(int drm_fd, drmModeResPtr resources);
|
||||
* A small modeset API
|
||||
*/
|
||||
|
||||
/* set vt into graphics mode, required to prevent fbcon from interfering */
|
||||
void kmstest_set_vt_graphics_mode(void);
|
||||
|
||||
/* High-level kms api with igt_ prefix */
|
||||
enum igt_commit_style {
|
||||
COMMIT_LEGACY = 0,
|
||||
COMMIT_UNIVERSAL,
|
||||
@@ -239,9 +245,6 @@ struct igt_display {
|
||||
bool has_universal_planes;
|
||||
};
|
||||
|
||||
/* set vt into graphics mode, required to prevent fbcon from interfering */
|
||||
void igt_set_vt_graphics_mode(void);
|
||||
|
||||
void igt_display_init(igt_display_t *display, int drm_fd);
|
||||
void igt_display_fini(igt_display_t *display);
|
||||
int igt_display_commit2(igt_display_t *display, enum igt_commit_style s);
|
||||
|
||||
Reference in New Issue
Block a user