summaryrefslogtreecommitdiffstats
path: root/video/out/vo_drm.c
diff options
context:
space:
mode:
authorLaserEyess <lasereyess@users.noreply.github.com>2022-11-12 10:40:20 -0500
committersfan5 <sfan5@live.de>2022-11-16 09:32:55 +0100
commitba20f60addaa4ebdd9f6be25464c1b46a7f1f576 (patch)
tree4d387d65aa54b4138258901a5a595bb3d6473eeb /video/out/vo_drm.c
parent6623efb14223f8d4ebb0b2b966b21f5953eb56a9 (diff)
downloadmpv-ba20f60addaa4ebdd9f6be25464c1b46a7f1f576.tar.bz2
mpv-ba20f60addaa4ebdd9f6be25464c1b46a7f1f576.tar.xz
drm: remove legacy API
The legacy DRM API adds some complexity to the DRM code. There are only 4 drivers that do not support the DRM Atomic API: 1. radeon (early GCN amd cards) 2. gma500 (ancient intel GPUs) 3. ast (ASPEED SoCs) 4. nouveau Going forward, new DRM drivers will be guaranteed to support the atomic API so this is a safe removal.
Diffstat (limited to 'video/out/vo_drm.c')
-rw-r--r--video/out/vo_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index 129aa12b7a..d2ec8355e5 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -569,7 +569,7 @@ static int preinit(struct vo *vo)
vo->opts->drm_opts->drm_device_path,
vo->opts->drm_opts->drm_connector_spec,
vo->opts->drm_opts->drm_mode_spec,
- 0, 0, false);
+ 0, 0);
if (!p->kms) {
MP_ERR(vo, "Failed to create KMS.\n");
goto err;