Skip to content

Commit

Permalink
Update efi_gop.c
Browse files Browse the repository at this point in the history
Change to handle 1+.  Avoid using handle 0, as this results in a blank screen on the Surface RT (Surface 2 and QEMU-EFI still had video).
  • Loading branch information
coherixmatts authored Sep 25, 2020
1 parent 72b3a39 commit efb3e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grub-core/video/efi_gop.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ check_protocol (void)
if (!handles || num_handles == 0)
return 0;

for (i = 0; i < num_handles; i++)
for (i = 1; i < num_handles; i++)
{
gop_handle = handles[i];
gop = grub_efi_open_protocol (gop_handle, &graphics_output_guid,
Expand Down

0 comments on commit efb3e7a

Please sign in to comment.