summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorLaserEyess <lasereyess@users.noreply.github.com>2023-07-31 14:35:24 -0400
committersfan5 <sfan5@live.de>2023-07-31 21:40:10 +0200
commit3b198668821685295e1e122df92adfbacc55a8f5 (patch)
tree3cd809049c5b0cd80d3e73d6c4c927fd1e339bea /video
parent7adb56ccd9725fe84d50e35bb929c7d9f3b652fc (diff)
downloadmpv-3b198668821685295e1e122df92adfbacc55a8f5.tar.bz2
mpv-3b198668821685295e1e122df92adfbacc55a8f5.tar.xz
drm: bump minimum version to 2.4.105
Debian 12 is out, with 2.4.114, and Ubuntu 22.04 has 2.4.110, this #ifdef is no longer needed
Diffstat (limited to 'video')
-rw-r--r--video/out/drm_common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/drm_common.c b/video/out/drm_common.c
index 470cab4668..b4064879de 100644
--- a/video/out/drm_common.c
+++ b/video/out/drm_common.c
@@ -809,15 +809,11 @@ static int open_card_path(const char *path)
static bool card_supports_kms(const char *path)
{
-#if HAVE_DRM_IS_KMS
int fd = open_card_path(path);
bool ret = fd != -1 && drmIsKMS(fd);
if (fd != -1)
close(fd);
return ret;
-#else
- return true;
-#endif
}
static void get_primary_device_path(struct vo_drm_state *drm)