Guest User

0006-mxsfb-Fix-broken-screen-on-boot.patch

a guest
Nov 30th, 2018
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From 43d6603202bd68595780c350e074ee59c6025f3e Mon Sep 17 00:00:00 2001
  2. From: Joe Balough <scallopedllama@gmail.com>
  3. Date: Fri, 30 Nov 2018 10:23:01 -0500
  4. Subject: [PATCH 08/11] mxsfb: Fix broken screen on boot
  5.  
  6. MPU panel on boot does not work properly but after a blank / unblank cycle,
  7. works. Add the simplest fix possible by simply blanking the screen right before
  8. the unblank in the probe function.
  9. ---
  10. drivers/video/fbdev/mxsfb.c | 1 +
  11. 1 file changed, 1 insertion(+)
  12.  
  13. diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c
  14. index d283e1ce05b1..c999561d488b 100644
  15. --- a/drivers/video/fbdev/mxsfb.c
  16. +++ b/drivers/video/fbdev/mxsfb.c
  17. @@ -2600,6 +2600,7 @@ static int mxsfb_probe(struct platform_device *pdev)
  18. mxsfb_overlay_init(host);
  19.  
  20. console_lock();
  21. + ret = fb_blank(fb_info, FB_BLANK_NORMAL);
  22. ret = fb_blank(fb_info, FB_BLANK_UNBLANK);
  23. console_unlock();
  24. if (ret < 0) {
  25. --
  26. 2.19.1
RAW Paste Data