Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147258774
D54432.1782704682.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
865 B
Referenced Files
None
Subscribers
None
D54432.1782704682.diff
View Options
diff --git a/stand/common/gfx_fb.c b/stand/common/gfx_fb.c
--- a/stand/common/gfx_fb.c
+++ b/stand/common/gfx_fb.c
@@ -83,6 +83,7 @@
*/
#include <sys/param.h>
+#include <assert.h>
#include <stand.h>
#include <teken.h>
#include <gfx_fb.h>
@@ -856,7 +857,7 @@
int rv;
#if defined(EFI)
EFI_STATUS status;
- EFI_GRAPHICS_OUTPUT_PROTOCOL *gop = gfx_state.tg_private;
+ EFI_GRAPHICS_OUTPUT_PROTOCOL *gop;
EFI_TPL tpl;
/*
@@ -866,7 +867,10 @@
* done as they are provided by protocols that disappear when exit
* boot services.
*/
- if (!ignore_gop_blt && gop != NULL && boot_services_active) {
+ if (gfx_state.tg_fb_type == FB_GOP && !ignore_gop_blt &&
+ boot_services_active) {
+ assert(gfx_state.tg_private != NULL);
+ gop = gfx_state.tg_private;
tpl = BS->RaiseTPL(TPL_NOTIFY);
switch (BltOperation) {
case GfxFbBltVideoFill:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jun 29, 3:44 AM (9 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28977177
Default Alt Text
D54432.1782704682.diff (865 B)
Attached To
Mode
D54432: loader.efi: only use firmware provided Blt on GOP
Attached
Detach File
Event Timeline
Log In to Comment