Date: Mon, 23 Sep 2019 12:27:55 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r352618 - head/sys/compat/linsysfs Message-ID: <201909231227.x8NCRtpW064178@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Mon Sep 23 12:27:55 2019 New Revision: 352618 URL: https://svnweb.freebsd.org/changeset/base/352618 Log: Create a "drm" subdirectory for drm devices in linsysfs. Recent versions of linux libdrm check for the existence of this directory: https://cgit.freedesktop.org/mesa/drm/commit/?id=f8392583418aef5e27bfed9989aeb601e20cc96d MFC after: 2 weeks Modified: head/sys/compat/linsysfs/linsysfs.c Modified: head/sys/compat/linsysfs/linsysfs.c ============================================================================== --- head/sys/compat/linsysfs/linsysfs.c Mon Sep 23 08:53:14 2019 (r352617) +++ head/sys/compat/linsysfs/linsysfs.c Mon Sep 23 12:27:55 2019 (r352618) @@ -520,6 +520,7 @@ linsysfs_run_bus(device_t dev, struct pfs_node *dir, s device_get_unit(dev) >= 0) { dinfo = device_get_ivars(parent); if (dinfo != NULL && dinfo->cfg.baseclass == PCIC_DISPLAY) { + pfs_create_dir(dir, "drm", NULL, NULL, NULL, 0); sprintf(devname, "226:%d", device_get_unit(dev)); sub_dir = pfs_create_dir(chardev,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909231227.x8NCRtpW064178>