Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: buildroot@buildroot.org
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Subject: [Buildroot] [PATCH] package/sunxi-mali-mainline-driver: update help section to make it work on Linux >= 4.20
Date: Thu, 14 Oct 2021 22:46:43 +0200	[thread overview]
Message-ID: <20211014204643.2433721-1-giulio.benetti@benettiengineering.com> (raw)

On Linux version >= 4.20 we need to pass
drm_kms_helper.drm_leak_fbdev_smem=1 to make this driver to work.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 package/sunxi-mali-mainline-driver/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/sunxi-mali-mainline-driver/Config.in b/package/sunxi-mali-mainline-driver/Config.in
index 5db66c5bf6..9bc80944fb 100644
--- a/package/sunxi-mali-mainline-driver/Config.in
+++ b/package/sunxi-mali-mainline-driver/Config.in
@@ -25,5 +25,8 @@ config BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER
 	  starting from Linux Kernel >= 4.20 following options must be
 	  enabled:
 	  - CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM
+	  and following kernel command-line must be passed:
+	  `drm_kms_helper.drm_leak_fbdev_smem=1`
+	  since drm_kms_helper.drm_leak_fbdev_smem is set to 0 by default
 
 	  https://github.com/mripard/sunxi-mali/blob/master/README.md
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2021-10-14 20:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 20:46 Giulio Benetti [this message]
2021-10-14 22:12 ` [Buildroot] [PATCH] package/sunxi-mali-mainline-driver: update help section to make it work on Linux >= 4.20 Giulio Benetti
2021-10-15  8:16   ` [Buildroot] [PATCH v2] " Giulio Benetti
2021-10-18 19:47     ` Thomas Petazzoni
2021-10-25 11:20     ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211014204643.2433721-1-giulio.benetti@benettiengineering.com \
    --to=giulio.benetti@benettiengineering.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox