linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: han jonghun <jonghun79.han@gmail.com>
To: linux-fbdev@vger.kernel.org
Subject: How to allocate framebuffer bigger than 4MB
Date: Mon, 04 Oct 2010 07:33:25 +0000	[thread overview]
Message-ID: <AANLkTinCCoQD8dpz_MPr-CcghrmHF0rEMYgtnaD-e9ht@mail.gmail.com> (raw)

Hi,

I have a question how to allocate framebuffer bigger than 4MB.
I usually allocate framebuffer via dma_alloc_writecombine.

When I use dma_alloc_writecombine, I can allocate framebuffer less
than 4MB due to MAX_ORDER(11).
Before 2.6.36, I allocated framebuffer via bootmem and then I remaped
the fb via ioremap_wc for non-cacheable operation.
But from 2.6.36, I cannot use ioremap_wc for the memory which is
allocate by kernel.
How can I allocate framebuffer bigger than 4MB ?

Can anyone help me?

Thanks

Best regards,
Jonhun Han.

                 reply	other threads:[~2010-10-04  7:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=AANLkTinCCoQD8dpz_MPr-CcghrmHF0rEMYgtnaD-e9ht@mail.gmail.com \
    --to=jonghun79.han@gmail.com \
    --cc=linux-fbdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).