From nobody Thu Aug 18 09:10:18 2022 X-Original-To: dev-commits-src-main@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 4M7fHG6hZYz4YwkK; Thu, 18 Aug 2022 09:10:18 +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 4M7fHG3LS2z3QXr; Thu, 18 Aug 2022 09:10:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660813818; 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=DT0HdCMISkWiVsm22+NCLs/sLhJqrsHkQiN8JpwK0yo=; b=H0DB+ElcuGd4LAt9plCgpQIkz8+SyHpQDFGxYJxUyW8wZSpuF55VMUQMHft6lL+7yUmv7v ca4T3Qyshu34hXgQSrd8a9vIOeUnTykLIa1GS2PMi2g62dBkniZBglLIxBz3g305WjtSM2 KtaJzi6tT/qJ01fS+MiaYIXSdO5/deQBEJAXJraZ+UTuMixLM56qHoH+krL43IhHTpPJFa tjLsCUqjHIfbDvDSuC1tRivRfrDce36YHStt+0CDU8dXh3a+UVbKPJrcgRCCcHeYTKQB/v 6D807DZWvDSc0OgHSVZc5RSS+qhkzSNn9DszmWLlGD67IeJoaMDMrDOhzs6ykw== 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 4M7fHG2Rsdz1Mkp; Thu, 18 Aug 2022 09:10:18 +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 27I9AIdf021448; Thu, 18 Aug 2022 09:10:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27I9AIq5021442; Thu, 18 Aug 2022 09:10:18 GMT (envelope-from git) Date: Thu, 18 Aug 2022 09:10:18 GMT Message-Id: <202208180910.27I9AIq5021442@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 4b4ab8c3107f - main - linuxkpi: Add linux/vgaarb.h List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 4b4ab8c3107f8a95db76a7dfe50485715c8b3703 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660813818; 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=DT0HdCMISkWiVsm22+NCLs/sLhJqrsHkQiN8JpwK0yo=; b=cpYC1owWtj46qJab+jdqP/79utVfpB7LPrMsFwmzm4tGleHDtoDyqNZnAv3ppP3KBjo0Kw ydKld+7/hPXSCjRGHSLkjuWJXw62fFycDsvHElNScFE4efuEAd45yymwBqJnu2RZkhUnt1 q+SV8FA7j/qEFzipVLl+Jv9KRG5ltmlj0aORVVO07cESubVTndiFRbJggoYfKnbL0kwxxD CBKzGcJkE4xolpikdqn9/YyaagQWWpK5AIv1WuTjwX4G0Umw7yFzoohqSFI9Io/CJl1s3g y3VbUUjxP83qxGnkBY5UPg5LXY+wWaf2A0vE8po2kzLNKjkzvMExuZGuuhc+DQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660813818; a=rsa-sha256; cv=none; b=wI4Nk8PjL/fHPeE+b7aT+Sr2/Y2b/RAVPoSeA8wTgQIuU+Ig1yjcdyQXKntfWcnv+BRaq8 0jL+J3x6L4g8BixuCczrubvoVFLvNI03NI6+kBwQZQK0Mbi4Io3JsDy8UWuM28wFnUBt+I 5ZgshAUbJ8/SVeYmiZYEV38P58UT3lMOB+DN6kBalxUlp5jwBDYNFLIMqyaUAzXq7ba3Up 9E7eBopb4Sl9DT52OfzV72mSLn/VrI3UXJYAnUj+BYj0zBDfflTW9s7CMmpLX3H4vwvVd/ cBnLCQc6Eq+/yvytoHZ91sqxkmocRHqaxDv3CJw9ms3Hi9ODVzWBT6cX2+wxhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=4b4ab8c3107f8a95db76a7dfe50485715c8b3703 commit 4b4ab8c3107f8a95db76a7dfe50485715c8b3703 Author: Emmanuel Vadot AuthorDate: 2022-08-09 09:42:43 +0000 Commit: Emmanuel Vadot CommitDate: 2022-08-18 07:47:15 +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 --- 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