Patchwork [2/2] efi: Add efifb sysfs information to the sysfs documentation

login
register
mail settings
Submitter Peter Jones
Date Jan. 29, 2019, 6:51 p.m.
Message ID <20190129185155.32386-2-pjones@redhat.com>
Download mbox | patch
Permalink /patch/712777/
State New
Headers show

Comments

Peter Jones - Jan. 29, 2019, 6:51 p.m.
This adds the various files in
/sys/bus/platform/drivers/efi-framebuffer/efi-framebuffer.N/ to the
sysfs documentation.

Signed-off-by: Peter Jones <pjones@redhat.com>
---
 Documentation/ABI/testing/sysfs-firmware-efi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Peter Jones - Jan. 29, 2019, 7:20 p.m.
On Tue, Jan 29, 2019 at 01:51:55PM -0500, Peter Jones wrote:
> This adds the various files in
> /sys/bus/platform/drivers/efi-framebuffer/efi-framebuffer.N/ to the
> sysfs documentation.
> 
> Signed-off-by: Peter Jones <pjones@redhat.com>

Don't apply this one, as it's a follow-up to a patch that I've somehow
failed to send.  I'll merge them and re-send.

Patch

diff --git a/Documentation/ABI/testing/sysfs-firmware-efi b/Documentation/ABI/testing/sysfs-firmware-efi
index e794eac32a9..46cecd4cffe 100644
--- a/Documentation/ABI/testing/sysfs-firmware-efi
+++ b/Documentation/ABI/testing/sysfs-firmware-efi
@@ -28,3 +28,18 @@  Description:	Displays the physical addresses of all EFI Configuration
 		versions are always printed first, i.e. ACPI20 comes
 		before ACPI.
 Users:		dmidecode
+
+What:		/sys/bus/platform/drivers/efi-framebuffer/efi-framebuffer.N/
+Date:		October 2016
+Contact:	linux-efi@vger.kernel.org
+Description:	The characteristics of the EFI GOP framebuffer device.
+
+		base: The physical address of the framebuffer memory.
+		depth: The color depth of the framebuffer, in bits.
+		height: The height of the displayed frame in pixels.
+		linelength: The size of one line (i.e. the stride) of the
+			    framebuffer memory, in bytes.
+		width: The width of the displayed frame in pixels.
+		mode: The index into the EFI GOP mode table for the mode in use
+		      during boot-up.
+Users:		fwupd