grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 10/12] efi/uga: Use video instead of fb as debug condition


From: Javier Martinez Canillas
Subject: [PATCH v2 10/12] efi/uga: Use video instead of fb as debug condition
Date: Wed, 4 Mar 2020 12:58:49 +0100

From: Peter Jones <address@hidden>

All other video drivers use "video" as the debug condition instead of "fb"
so change this in the efi/uga driver to make it consistent with the others.

Signed-off-by: Peter Jones <address@hidden>
Signed-off-by: Javier Martinez Canillas <address@hidden>
---

 grub-core/video/efi_uga.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/grub-core/video/efi_uga.c b/grub-core/video/efi_uga.c
index 97a607c01a5..e74d6c23500 100644
--- a/grub-core/video/efi_uga.c
+++ b/grub-core/video/efi_uga.c
@@ -110,7 +110,7 @@ find_card (grub_pci_device_t dev, grub_pci_id_t pciid, void 
*data)
     {
       int i;
 
-      grub_dprintf ("fb", "Display controller: %d:%d.%d\nDevice id: %x\n",
+      grub_dprintf ("video", "Display controller: %d:%d.%d\nDevice id: %x\n",
                    grub_pci_get_bus (dev), grub_pci_get_device (dev),
                    grub_pci_get_function (dev), pciid);
       addr += 8;
@@ -140,7 +140,7 @@ find_card (grub_pci_device_t dev, grub_pci_id_t pciid, void 
*data)
          base64 <<= 32;
          base64 |= (old_bar1 & GRUB_PCI_ADDR_MEM_MASK);
 
-         grub_dprintf ("fb", "%s(%d): 0x%" PRIxGRUB_UINT64_T "\n",
+         grub_dprintf ("video", "%s(%d): 0x%" PRIxGRUB_UINT64_T "\n",
                        ((old_bar1 & GRUB_PCI_ADDR_MEM_PREFETCH) ?
                        "VMEM" : "MMIO"), type == GRUB_PCI_ADDR_MEM_TYPE_64 ? i 
- 1 : i,
                        base64);
-- 
2.24.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]