From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/sunxi-mali-mainline-driver: update help section to make it work on Linux >= 4.20
Date: Fri, 15 Oct 2021 00:12:40 +0200 [thread overview]
Message-ID: <be4f2e4a-4068-6467-27fa-df96969f1049@benettiengineering.com> (raw)
In-Reply-To: <20211014204643.2433721-1-giulio.benetti@benettiengineering.com>
On 10/14/21 10:46 PM, Giulio Benetti wrote:
> 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
This also needs drm_kms_helper.drm_fbdev_overalloc=200 at least too as
olinuxino patch:
https://patchwork.ozlabs.org/project/buildroot/patch/20211014213630.2436055-1-giulio.benetti@benettiengineering.com/
I'm going to send a v2 patch for this.
Sorry again for the noise
--
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2021-10-14 22:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 20:46 [Buildroot] [PATCH] package/sunxi-mali-mainline-driver: update help section to make it work on Linux >= 4.20 Giulio Benetti
2021-10-14 22:12 ` Giulio Benetti [this message]
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=be4f2e4a-4068-6467-27fa-df96969f1049@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