<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/firmware/efi/libstub/gop.c, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2020-05-20T17:09:20Z</updated>
<entry>
<title>efi/gop: Add an option to list out the available GOP modes</title>
<updated>2020-05-20T17:09:20Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-05-18T19:07:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=14c574f35cfbc9272fc67b41f074c847db139652'/>
<id>urn:sha1:14c574f35cfbc9272fc67b41f074c847db139652</id>
<content type='text'>
Add video=efifb:list option to list the modes that are available.

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200518190716.751506-20-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi/gop: Use efi_err for error messages</title>
<updated>2020-05-01T07:40:02Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-04-30T18:28:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=61eac6d92d351fc446c7a0ba3b55a9b8d9977e30'/>
<id>urn:sha1:61eac6d92d351fc446c7a0ba3b55a9b8d9977e30</id>
<content type='text'>
Use efi_err instead of bare efi_printk for error messages.

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200430182843.2510180-6-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi/libstub: Add a helper function to split 64-bit values</title>
<updated>2020-05-01T07:40:02Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-04-30T18:28:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=eed4e0193ee7b00213791f7732bce0fc0c54f3b3'/>
<id>urn:sha1:eed4e0193ee7b00213791f7732bce0fc0c54f3b3</id>
<content type='text'>
In several places 64-bit values need to be split up into two 32-bit
fields, in order to be backward-compatible with the old 32-bit ABIs.

Instead of open-coding this, add a helper function to set a 64-bit value
as two 32-bit fields.

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200430182843.2510180-3-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi: Kill __efistub_global</title>
<updated>2020-04-24T12:52:16Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-04-16T15:12:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=544393707f3ca4f185ea1e41cc3206d1526c99cf'/>
<id>urn:sha1:544393707f3ca4f185ea1e41cc3206d1526c99cf</id>
<content type='text'>
Now that both arm and x86 are using the linker script to place the EFI
stub's global variables in the correct section, remove __efistub_global.

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Link: https://lore.kernel.org/r/20200416151227.3360778-4-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi/gop: Allow automatically choosing the best mode</title>
<updated>2020-04-23T18:15:06Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-03-28T16:06:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=45d97a749e9fec6d5324b19561ce5fbfa937d60b'/>
<id>urn:sha1:45d97a749e9fec6d5324b19561ce5fbfa937d60b</id>
<content type='text'>
Add the ability to automatically pick the highest resolution video mode
(defined as the product of vertical and horizontal resolution) by using
a command-line argument of the form
	video=efifb:auto

If there are multiple modes with the highest resolution, pick one with
the highest color depth.

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200328160601.378299-2-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi/gop: Allow specifying depth as well as resolution</title>
<updated>2020-04-23T18:15:06Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-03-20T02:00:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9a1663bc4d9856f6810786fec597dab5440a9d8d'/>
<id>urn:sha1:9a1663bc4d9856f6810786fec597dab5440a9d8d</id>
<content type='text'>
Extend the video mode argument to handle an optional color depth
specification of the form
	video=efifb:&lt;xres&gt;x&lt;yres&gt;[-(rgb|bgr|&lt;bpp&gt;)]

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200320020028.1936003-14-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi/gop: Allow specifying mode by &lt;xres&gt;x&lt;yres&gt;</title>
<updated>2020-04-23T18:15:06Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-03-20T02:00:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d9ff0323d074c6c06467118c7a43d5748f147369'/>
<id>urn:sha1:d9ff0323d074c6c06467118c7a43d5748f147369</id>
<content type='text'>
Add the ability to choose a video mode using a command-line argument of
the form
	video=efifb:&lt;xres&gt;x&lt;yres&gt;

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200320020028.1936003-13-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi/gop: Allow specifying mode number on command line</title>
<updated>2020-04-23T18:15:06Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-03-20T02:00:25Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fffb68047e563fb74f782c726e9bdf1fa117d93d'/>
<id>urn:sha1:fffb68047e563fb74f782c726e9bdf1fa117d93d</id>
<content type='text'>
Add the ability to choose a video mode for the selected gop by using a
command-line argument of the form
	video=efifb:mode=&lt;n&gt;

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200320020028.1936003-12-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi/gop: Remove unreachable code from setup_pixel_info</title>
<updated>2020-04-23T18:15:06Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-03-20T02:00:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d49fd4bbf9bb0dbee3a3eed301ffeeb75636053b'/>
<id>urn:sha1:d49fd4bbf9bb0dbee3a3eed301ffeeb75636053b</id>
<content type='text'>
pixel_format must be one of
	PIXEL_RGB_RESERVED_8BIT_PER_COLOR
	PIXEL_BGR_RESERVED_8BIT_PER_COLOR
	PIXEL_BIT_MASK
since we skip PIXEL_BLT_ONLY when finding a gop.

Remove the redundant code and add another check in find_gop to skip any
pixel formats that we don't know about, in case a later version of the
UEFI spec adds one.

Reformat the code a little.

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200320020028.1936003-10-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>efi/gop: Use helper macros for find_bits</title>
<updated>2020-04-23T18:15:06Z</updated>
<author>
<name>Arvind Sankar</name>
<email>nivedita@alum.mit.edu</email>
</author>
<published>2020-03-20T02:00:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9867fc9de6a6a7a54edb2c43540c6db226e84a14'/>
<id>urn:sha1:9867fc9de6a6a7a54edb2c43540c6db226e84a14</id>
<content type='text'>
Use the __ffs/__fls macros to calculate the position and size of the
mask.

Correct type of mask to u32 instead of unsigned long.

Signed-off-by: Arvind Sankar &lt;nivedita@alum.mit.edu&gt;
Link: https://lore.kernel.org/r/20200320020028.1936003-9-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
</feed>
