From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9ABD43803F8 for ; Wed, 17 Jun 2026 15:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781708563; cv=none; b=rj91OQsmvq2zXRz6BlR4Ff8iEz4MnBvYVvuYj5x6Q40Gf7c9S0kK4O7s/ADmclbn6Hu1I4T8PX72h5annJGpsQ06Kq+o8HoK/2bg7S7grpRKW1RqfouNRmqpVN81Mu5OB5Ma+jQJEgxXrGaGnmwdHXZAssO5jaheGM0MGUV+HC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781708563; c=relaxed/simple; bh=L+MhBhP0zK7Hl2O5986wbg/Nyi1MxpB19N0QKg+SD8I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=J1scvZFE/koMQ9vCFgwdfXO8nay82LFgIUPk2dYhkwRF1G/ZSdfDEq4NLnRg9NTS/bbC+JwLDcbue8UIy3+iNM6MWQ/3aRtmoHId0e7h61LyF4HbYqBdu/5xDDXubYsf3ZmmPEmoPt9JvESNElFBH5pGy6Lq+0I+52onnhT+BkQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fireburn.co.uk; spf=none smtp.mailfrom=fireburn.co.uk; dkim=pass (2048-bit key) header.d=fireburn-co-uk.20251104.gappssmtp.com header.i=@fireburn-co-uk.20251104.gappssmtp.com header.b=EnbH0vhY; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fireburn.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=fireburn.co.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fireburn-co-uk.20251104.gappssmtp.com header.i=@fireburn-co-uk.20251104.gappssmtp.com header.b="EnbH0vhY" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-490c1915793so48635705e9.2 for ; Wed, 17 Jun 2026 08:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fireburn-co-uk.20251104.gappssmtp.com; s=20251104; t=1781708561; x=1782313361; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+3aI77IsFSOhcLG8puWNqVG+Et3rUWgqrQkokd+XyWI=; b=EnbH0vhYOtKnylsR+bsGCU18jmzDMvGjtX0wBTm9hkLLZBhWhMWKPjqPbnrHxlP4CS twUDy47h57qAswzgiWrZoD4Wy6q1VSzwqcdSH3jwYInhORK8S2RSpPzYYTGMq39nXH52 qMHiPtFM8qkqhOurVqi3CSDcxV+4/bKmqvZypRTwSO6Ua9kKjObWQqWp/+6XodpOSzAT 7xXFS9TiV2yZzR3fpKvaK6Z8r/LPuwjZLABgqqQiQbfqSUdR6wm+F3VnnORVSP3iMyKI NOPjyunLV3vebwFtf9qkTsTHQ33FUzSxwnbDwdy2Fbj7xRduefv8krbCSjgQyvG0qemb v0eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781708561; x=1782313361; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+3aI77IsFSOhcLG8puWNqVG+Et3rUWgqrQkokd+XyWI=; b=ejpKwWn8VtBL1GRhtfoB6DIpPBjEOzwLfeS01Qzg/Edp9pFZIqWOCPveV0Pklby4wY r+NkZfrUlcj2ZQnw0uaosysqGxihRbHPj1Kk5n24MDkl/07hXizZcbz9fdF/79WTjbZq DBmP5UGWn82dcIKPtgyBlOu1p9/+6d2uHT/DPEqcQNcM8T8E0nWCWWqvDey70UFVgr+K apTehzjk3C/vauwM9XDNVyE3JTjWhLMbiwBmoGAqaD80a7j6VkIPTPk3s1fZ0Rr/erNw Hl4wKTum9LZhALXKRSKEr+gVLBaCVbhhuCQwqRW6zSNnrRIoBD5INX37qzL/SfNXK3Kx 6N2g== X-Forwarded-Encrypted: i=1; AFNElJ9PBj3bpCyFkFO1TUxtH/PizVgMBxo5UWA0sqBbPWuv3kcIUpYvNP7JgKUXVqz4kOEG8kbwEu+TXxc2e5g=@vger.kernel.org X-Gm-Message-State: AOJu0YyMHHhl2eXx/Vvfjd7TZI59J90j3KoVaFp7m8F93sge4cjLFZbq EL0FZpsO8IqoLpbnJPUACfdLQFYO8ilDjoaOibf1SR8OAdIGY6AdSTm2VySw6pZT7A== X-Gm-Gg: Acq92OGD2J2rk5zXkIaR/MJHVF3yZ5cCGyVLk7QJs40ICr1awMw6lSlH8PmNYBfzFSR c8bt1m5zbG4K8X/YwUO9uaGPD9EmtWXgS7FGS+kttgv09pR1y4yHMufwOl31pxJAxZf813Umn00 veQ/JtqjDLaTJgLCvIDUqOzg6eQPD651FQJHJ+G+RpiCVpC2aqpzf5eq+rvmFPZN59TmKX4K0KW eRzEC6w5iAvlwxGaHBBsv6rIwSowa88BqZz2tFP9dkFd4Bf4Zu0n3LoXPMpSUB0emg0mbLEuoSt X1fySWuXN/B8M9w+85rs16xkTnSq8VHLIWLBcF46bo/2zRNWkD/Oh9KcqG+KrgilygifUxoqZGM BUlK5mvE2L8GGl7Kof81tKD0fnyju4v8lAR7NYVL/a2zwybLlYpmQpaIrgGlW6ILm6blnIeffTZ bF/eoKQnSC/a5CjBherQvJ5YAG/morJpFksaD1xvnFQjpIgKIQ7Gmja/6s X-Received: by 2002:a05:600c:55d7:b0:490:d079:2919 with SMTP id 5b1f17b1804b1-49234108832mr46116185e9.14.1781708561083; Wed, 17 Jun 2026 08:02:41 -0700 (PDT) Received: from axion.fireburn.co.uk ([137.220.119.72]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4606f26f1cdsm57264311f8f.11.2026.06.17.08.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2026 08:02:40 -0700 (PDT) From: Mike Lothian To: dri-devel@lists.freedesktop.org Cc: Mike Lothian , rust-for-linux@vger.kernel.org, Miguel Ojeda , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Daniel Almeida , Greg Kroah-Hartman , Alexandre Courbot , Asahi Lina , Lorenzo Stoakes , Joel Fernandes , linux-kernel@vger.kernel.org Subject: [RFC PATCH 2/4] rust: drm: expose drm_edid.h for reading connector EDID Date: Wed, 17 Jun 2026 16:02:24 +0100 Message-ID: <20260617150232.2210-3-mike@fireburn.co.uk> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260617150232.2210-1-mike@fireburn.co.uk> References: <20260617150232.2210-1-mike@fireburn.co.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pull into bindings_helper.h so bindgen emits drm_edid_alloc(), drm_edid_free(), drm_edid_connector_update(), drm_edid_connector_add_modes() and drm_add_modes_noedid(). This lets a Rust driver read the real downstream EDID over its own transport and install it through the DRM core (parse / validate / derive the mode list) instead of synthesising a fixed mode — the same flow gud and udl use. Raw bindings only; no abstraction. Signed-off-by: Mike Lothian Assisted-by: Claude:claude-opus-4-8 [Claude-Code] --- rust/bindings/bindings_helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h index 877f82b927a0..8d45195df6e6 100644 --- a/rust/bindings/bindings_helper.h +++ b/rust/bindings/bindings_helper.h @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include -- 2.54.0