From nobody Tue Jul 14 10:52:40 2026 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 4gzx3F020Tz6lZVd 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 4gzx3D6bccz3vlq for ; Tue, 14 Jul 2026 10:52:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784026360; 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=UigVCN7Nwr+ZMmBF+1nY10kqoZBC6ZSfhyD3Ncp8+GIhccJvMqaYFvkRwa+eREODNJZJ/5 6qeNHfC3XiQXOrLLfAwQbrTS8W8sWd0HwxDs4507F2RbU5F3ZHq2vHAWHk4nJuwq8C1Xir vHiL25cOnO9ozZXCmqyXhnslD9xXgy0hot2eQrrjL4hKxYY3PMb9tYWu116GTr9KOAevbi QFfBwCM2tUc+HeG5tcQxwajAm+FHyxICHcHap8T76Lb5ifWEIB+3dGysfTtp0XyZb64vGb 5lQiU4cKgWXlzomtrfpY9YgAwv5iC/ECTQDdqHzOk6ZWCXaYZkO5Xwa1nMwrhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784026360; a=rsa-sha256; cv=none; b=enG2Hg1Cshst64lad+6qFwrFId7utItE1pPVkelo9giMP6TI9/yrlK2oY7m9EdAScXiICQ gJ+NCI4MnRYwPpJdgf8/ju5dLdoR/l29712jtZCaVkLGvXYcG91aSCJZPrN7zNnxHS89TT H6m6NaOTcp1GeeIjT5diI1hwGNL7iPOhjklni4BaFtJIfgB3Cl39D2mf5n8xmiz/yw8WiY SFaI/YJNPSfrXIryVrSAGfxE1rrJw7Hj9xr8lE6Q21g5SXFxt3knUyheVP7ioFPes6TUZ4 cFlA757fzEgSSCyhjsLGFaLxizcRxIIsTRpjahSUuK25Si1SILsyn+8KM1KWQg== 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=1784026360; 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=YzRKu/e9LgHLih/ZjOSIH2QJf7KyK8HHQQeZszKqOUSXBbmkPNsaHE5+qQtKl8zDTW3267 kAlMqzMTtM6hByfJbomnqJWDKIiKDjA+SC6l3PT9GUEvvz32eAKB1yV0ZbvtnRmbUWpbfX 1n2U8qVHkXSRf4I9uQt4aDUtvA8DGLU+4CXwxNr77/q+XTJ+W6fHJ28qEs/49vG6NKhQm0 hkx3Bd24SvdcWFLcelhkef2/6M+jyxjLf8WwUccQNqmsPJghrIgAyj3hDoQWz+e9eUdBYu 0pmSRA+9olewWLs/Fz6tAt9m84qJOZ+Ih0IWPSvzLU6fwMgbLkw6YCWny83D1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gzx3D5XQKzj3K 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 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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_ */