From nobody Wed Sep 07 15:10:41 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MN5Ks4RSsz4bPQD; Wed, 7 Sep 2022 15:10:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MN5Ks3d6rz3b6y; Wed, 7 Sep 2022 15:10:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wH2s3USpNb6s/+UOXFhxWde+y55g33H9pGVmYeDVdu4=; b=mZ/JU8DXN261Txm0fMEooQVC70BYRdGI36SH5rH9upxBWnhH86wboC4QorVYoA+XbGj2BL cRvedBZ9ho3aWhbDGIOQEAczD8zQ1mhyfElSE2RYOMMjiDJxZe3uYvAoeAYd2V30Fg0sM3 WO3QX1qVpY9Qr23Ir4vLRsaycShpakd6V0GDH8Qk07VQasiASIfkGoUQSbuoeGdVvmKlcO xDHVqyjeRhfW7yFVZxUxdJPWB12rH49mG1kPTtnEO+c3xF+c1EBIiOTRnAIhNFq0nKoQ9M rxr0BLBE0WxrtBW6kUifTwWaliWPRl8+tCtR9NRI+FBo9CCurQmfZX/e68KVcA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MN5Ks2k2RzYxR; Wed, 7 Sep 2022 15:10:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 287FAfE2027806; Wed, 7 Sep 2022 15:10:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287FAfgv027797; Wed, 7 Sep 2022 15:10:41 GMT (envelope-from git) Date: Wed, 7 Sep 2022 15:10:41 GMT Message-Id: <202209071510.287FAfgv027797@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: 01bccdf20415 - stable/13 - linuxkpi: Add linux/vgaarb.h List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 01bccdf204157f120699d863dea7dcfa37095054 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wH2s3USpNb6s/+UOXFhxWde+y55g33H9pGVmYeDVdu4=; b=AF+qGNy1LVYTrjY6Dbbec3N6EGsm+7+KW4QGlInc9jH3M5xQHTeC61I3tyGboBlnGZNRWM rl9JRTnwUTLE17NCIQ2gibUwSdG6MKifPv0RCES/4W56AP5f0YiFQfPdZ46Cj6H/bvpGDW kHG41zvdLjEeVJs47YPTLzFxltL9xIpPYJMf1wHsc2X4dwY2tjkjyvM528K0uuNcTSAofF gMzo2PtAcpzgCVtP7Z2tnXllXYoU9OCnKwH55MjCKWDkjJRydYa0w09+ObjN+5xPi75xnu Agd6Wb4HiRMiLRRWabwToSD2nRK0FdZyMQ7Wje1ROpZeeJgd84dFjSbz8xSM8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662563441; a=rsa-sha256; cv=none; b=xsSTTNrTQTIApqD2ctREP65o4kKPF8xf85/aYqe41KZrCHcG72UJpuKlmoFZygPhKoB0tJ kFht5FHybPtzOIojSk1tRbE0Hkw19MAWMmMitUBNmdxPV7nf78ofLzdWrvdXo80e5y4sne JqyRBK+A9PZkK3bmp/5MmQilPFu6xFY8aNjuOweoB516lZjVc3U9NPu/la15B7vduQfRKv SkEA9tlfBgmS8D+gcdbrVgvGc2fqEos4SFLM9fMUzIYLpKIuMXpefA3KxZUFZi4lixcpJC pRYwSLR06CI84YZ+vQCGFH6VOyVvBauMATrnM3iiaKJziS0PAFkUhz+FpFdnUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=01bccdf204157f120699d863dea7dcfa37095054 commit 01bccdf204157f120699d863dea7dcfa37095054 Author: Emmanuel Vadot AuthorDate: 2022-08-09 09:42:43 +0000 Commit: Emmanuel Vadot CommitDate: 2022-09-07 15:09:06 +0000 linuxkpi: Add linux/vgaarb.h Needed by drm-kmod. Reviewed by: bz Obtained from: Linux Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36104 (cherry picked from commit 4b4ab8c3107f8a95db76a7dfe50485715c8b3703) --- sys/compat/linuxkpi/common/include/linux/vgaarb.h | 254 ++++++++++++++++++++++ 1 file changed, 254 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/vgaarb.h b/sys/compat/linuxkpi/common/include/linux/vgaarb.h new file mode 100644 index 000000000000..853927f1c049 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/vgaarb.h @@ -0,0 +1,254 @@ +/* + * The VGA aribiter manages VGA space routing and VGA resource decode to + * allow multiple VGA devices to be used in a system in a safe way. + * + * (C) Copyright 2005 Benjamin Herrenschmidt + * (C) Copyright 2007 Paulo R. Zanoni + * (C) Copyright 2007, 2009 Tiago Vignatti + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS + * IN THE SOFTWARE. + * + */ + +#ifndef _LINUXKPI_LINUX_VGA_H_ +#define _LINUXKPI_LINUX_VGA_H_ + +#include