summaryrefslogtreecommitdiffstats
path: root/video/out/drm_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/drm_common.h')
-rw-r--r--video/out/drm_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/drm_common.h b/video/out/drm_common.h
index d9f086cd4e..f700e90ef5 100644
--- a/video/out/drm_common.h
+++ b/video/out/drm_common.h
@@ -48,6 +48,7 @@ struct vt_switcher {
struct drm_opts {
char *drm_connector_spec;
int drm_mode_id;
+ int drm_atomic;
int drm_draw_plane;
int drm_drmprime_video_plane;
int drm_format;
@@ -65,7 +66,8 @@ void vt_switcher_release(struct vt_switcher *s, void (*handler)(void*),
void *user_data);
struct kms *kms_create(struct mp_log *log, const char *connector_spec,
- int mode_id, int draw_plane, int drmprime_video_plane);
+ int mode_id, int draw_plane, int drmprime_video_plane,
+ bool use_atomic);
void kms_destroy(struct kms *kms);
double kms_get_display_fps(const struct kms *kms);