mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +00:00
lib: extract kmstest_dump_mode
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <cairo.h>
|
||||
|
||||
#include "xf86drm.h"
|
||||
#include "xf86drmMode.h"
|
||||
#include "intel_batchbuffer.h"
|
||||
|
||||
int drm_get_card(int master);
|
||||
@@ -90,6 +91,7 @@ unsigned int kmstest_create_fb(int fd, int width, int height, int bpp,
|
||||
struct kmstest_fb *fb_info,
|
||||
kmstest_paint_func paint_func,
|
||||
void *func_arg);
|
||||
void kmstest_dump_mode(drmModeModeInfo *mode);
|
||||
|
||||
inline static void _do_or_die(const char *function, int line, int ret)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user