summaryrefslogtreecommitdiffstats
path: root/0006-efifb-Copy-the-ACPI-BGRT-boot-graphics-to-the-frameb.patch
diff options
context:
space:
mode:
authorJeremy Cline <jcline@redhat.com>2018-08-14 10:44:37 +0100
committerJeremy Cline <jcline@redhat.com>2018-08-14 13:00:57 +0100
commit6003595fcc58ff971c2f53c7bf7d0ec19a7b8d8f (patch)
tree6836d8ea5ca86b039c0935e31b3991dce154aead /0006-efifb-Copy-the-ACPI-BGRT-boot-graphics-to-the-frameb.patch
parent5e30106a2aa0140ad8a103b9e1a4221db1aaaf73 (diff)
downloadkernel-6003595fcc58ff971c2f53c7bf7d0ec19a7b8d8f.tar.gz
kernel-6003595fcc58ff971c2f53c7bf7d0ec19a7b8d8f.tar.xz
kernel-6003595fcc58ff971c2f53c7bf7d0ec19a7b8d8f.zip
Linux v4.18-1283-g10f3e23f07cb
Diffstat (limited to '0006-efifb-Copy-the-ACPI-BGRT-boot-graphics-to-the-frameb.patch')
-rw-r--r--0006-efifb-Copy-the-ACPI-BGRT-boot-graphics-to-the-frameb.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/0006-efifb-Copy-the-ACPI-BGRT-boot-graphics-to-the-frameb.patch b/0006-efifb-Copy-the-ACPI-BGRT-boot-graphics-to-the-frameb.patch
index 706c2f3c8..248b34335 100644
--- a/0006-efifb-Copy-the-ACPI-BGRT-boot-graphics-to-the-frameb.patch
+++ b/0006-efifb-Copy-the-ACPI-BGRT-boot-graphics-to-the-frameb.patch
@@ -22,7 +22,7 @@ Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
1 file changed, 140 insertions(+)
diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c
-index 46a4484e3da7..fa01eecc0a55 100644
+index c6f78d27947b..67684412ba8a 100644
--- a/drivers/video/fbdev/efifb.c
+++ b/drivers/video/fbdev/efifb.c
@@ -9,16 +9,39 @@
@@ -63,7 +63,7 @@ index 46a4484e3da7..fa01eecc0a55 100644
+} __packed;
+
static bool request_mem_succeeded = false;
- static bool nowc = false;
+ static u64 mem_flags = EFI_MEMORY_WC | EFI_MEMORY_UC;
@@ -66,6 +89,121 @@ static int efifb_setcolreg(unsigned regno, unsigned red, unsigned green,
return 0;
@@ -186,8 +186,8 @@ index 46a4484e3da7..fa01eecc0a55 100644
+
static void efifb_destroy(struct fb_info *info)
{
- if (info->screen_base)
-@@ -283,6 +421,8 @@ static int efifb_probe(struct platform_device *dev)
+ if (info->screen_base) {
+@@ -311,6 +449,8 @@ static int efifb_probe(struct platform_device *dev)
goto err_release_fb;
}