From nobody Tue Jul 14 10:52:40 2026 X-Original-To: dev-commits-src-all@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 4gzx3F2WXqz6lZCv for ; Tue, 14 Jul 2026 10:52: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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gzx3F04b7z3vv7 for ; Tue, 14 Jul 2026 10:52:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784026361; 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=gZtdVonZYz4h6WmUYWFzI4HbVtFAdHaf96ByAeNFj/0=; b=ZswksDED5MXAlAj5h5aG3A0gcLGj5qroWnxiNMtZHCdkR5eetlI7+VljyWWdlkmne2ZBMY MFdV8GFtaEhEcJH0uoPMpN/09NJ9ZXJ3IfGYyLoshUMlRLFpPxtcZDuysGe/XGG0aNFM2G 1/XgXNO/A0Xz7uT7xR5JXypu+UkwILbBGs0+NOLg+RpCLGyxFialHPzlLLqArZppZe81VP X9EDtnIpu2FMJoluqcFdLCaWT1w2l1olvu2jZYbRgO0rfDS7ryCfC+6LS3DRrKxKKyThfh Xsrx0ZoHD1MBXWiqgDLBBTnkqI5P1Yjssk1xtRGNuYHzOpfA5wrxAsEIweCcfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784026361; a=rsa-sha256; cv=none; b=oJvOhGI2C/Am2D9dmHWc0BugWDrY/To/UTJWcgWiN1JS9/DBgGpP6NjTnCR6m0QECHDm/J 6FQlm4p9xkSe9kMpLGMb+fyH7uSME75jUWSsqMDWOHyn9k/Gd1uYRLS0mmVUs7euAWAJgI +4WnSnS8lpLU4D+BHXkQn8ZAYYhZpe9hV2Rm6+Ta7wpgzGrMU3xp9s9a+9IH7aaIKucleC aNSh0fxy65b8NmnOCYyHXS7by+eO2rku+AYppuMHqacEv0vYSV8lilUF+bya0zkrZAq64S eo/cu1UAjKXvFowg7iyXe7NZPlAn8sznZ6WRjcbFUi+RxsFOP81QmV6y/DB5Yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784026361; 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=gZtdVonZYz4h6WmUYWFzI4HbVtFAdHaf96ByAeNFj/0=; b=lnO8sRKyQE9KNH77RMWxZb1Jw2BRl+TygYCcZaej4uFSpPd07QSpHdNXVJ91yIzizcRPNg Kx4vmHTPpFhba9IpnwIqukvpy7I6lykUYXvASUPA4QqF0u2IKkAayTZISpcey8RxSSqphb ncqWRujtkJsEyMYPT61JkYMOBNk7PF5M3PLGoCwWs/e+lNwbfrQ/gnajrrSxtj4rz6ukYe sqC3X4FTtf4pke7GOrecA5eBnxCiplb9FgVAmXGRfTBIpruqXsFiqCaWnuELcqRkRuhMM8 2koRT1kMCOAiYSCY9zXQfid++AI7oSAN4iFpFa8analuyNp8ZZV8R5KlrjXJOg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gzx3D5T9Gzhjg for ; Tue, 14 Jul 2026 10:52:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1d394 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 14 Jul 2026 10:52:40 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jean-=?utf-8?Q?S=C3=A9bast?==?utf-8?Q?ien P=C3=A9?=dron Subject: git: 8909dd214144 - main - linuxkpi: Add `acpi_video_get_edid()` List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8909dd2141443625418593f6e63990965f5a2780 Auto-Submitted: auto-generated Date: Tue, 14 Jul 2026 10:52:40 +0000 Message-Id: <6a5614f8.1d394.2763fc21@gitrepo.freebsd.org> The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=8909dd2141443625418593f6e63990965f5a2780 commit 8909dd2141443625418593f6e63990965f5a2780 Author: Jean-Sébastien Pédron AuthorDate: 2026-06-12 14:00:07 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2026-07-14 10:52:20 +0000 linuxkpi: Add `acpi_video_get_edid()` Like the rest of , this function is unimplemented and returns `-ENODEV`. The amdgpu DRM driver started to use it in Linux 6.13. Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57576 --- sys/compat/linuxkpi/common/include/acpi/acpi_bus.h | 2 +- sys/compat/linuxkpi/common/include/acpi/video.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/acpi/acpi_bus.h b/sys/compat/linuxkpi/common/include/acpi/acpi_bus.h index da50d25a63bb..40dcbd85d6bf 100644 --- a/sys/compat/linuxkpi/common/include/acpi/acpi_bus.h +++ b/sys/compat/linuxkpi/common/include/acpi/acpi_bus.h @@ -29,7 +29,7 @@ #ifndef _LINUXKPI_ACPI_ACPI_BUS_H_ #define _LINUXKPI_ACPI_ACPI_BUS_H_ -/* Aliase struct acpi_device to device_t */ +/* Alias struct acpi_device to device_t; repeated in */ #define acpi_device _device typedef char acpi_device_class[20]; diff --git a/sys/compat/linuxkpi/common/include/acpi/video.h b/sys/compat/linuxkpi/common/include/acpi/video.h index 64c222bc2429..098bd2339f29 100644 --- a/sys/compat/linuxkpi/common/include/acpi/video.h +++ b/sys/compat/linuxkpi/common/include/acpi/video.h @@ -32,6 +32,9 @@ #include #include +/* Alias struct acpi_device to device_t; repeated from */ +#define acpi_device _device + #define ACPI_VIDEO_CLASS "video" #define ACPI_VIDEO_DISPLAY_CRT 1 @@ -77,4 +80,11 @@ acpi_video_backlight_use_native(void) return (true); } +static inline int +acpi_video_get_edid(struct acpi_device *device, int type, int device_id, + void **edid) +{ + return (-ENODEV); +} + #endif /* _LINUXKPI_ACPI_VIDEO_H_ */