All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corbin Simpson <mostawesomedude@gmail.com>
To: Dave Airlie <airlied@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm: dumb scanout create/mmap for intel/radeon (v3)
Date: Thu, 6 Jan 2011 16:12:17 -0800	[thread overview]
Message-ID: <AANLkTi=k585dk-029UMfKEJzs8hucEPYrxwV+qbow9Wq@mail.gmail.com> (raw)
In-Reply-To: <1294355811-3225-1-git-send-email-airlied@gmail.com>

On Thu, Jan 6, 2011 at 3:16 PM, Dave Airlie <airlied@gmail.com> wrote:
> From: Dave Airlie <airlied@redhat.com>
>
> This is just an idea that might or might not be a good idea,
> it basically adds two ioctls to create a dumb and map a dumb buffer
> suitable for scanout. The handle can be passed to the KMS ioctls to create
> a framebuffer.
>
> It looks to me like it would be useful in the following cases:
> a) in development drivers - we can always provide a shadowfb fallback.
> b) libkms users - we can clean up libkms a lot and avoid linking
> to libdrm_*.
> c) plymouth via libkms is a lot easier.
>
> Userspace bits would be just calls + mmaps. We could probably
> mark these handles somehow as not being suitable for acceleartion
> so as top stop people who are dumber than dumb.
>
> Signed-off-by: Dave Airlie <airlied@redhat.com>

Looks pretty reasonable. One thing from the IRC conversation on v2 was
about cursors -- were they going to be handled through this patch?

~ C.

-- 
When the facts change, I change my mind. What do you do, sir? ~ Keynes

Corbin Simpson
<MostAwesomeDude@gmail.com>

  parent reply	other threads:[~2011-01-07  0:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06 23:16 [PATCH] drm: dumb scanout create/mmap for intel/radeon (v3) Dave Airlie
2011-01-07  0:12 ` Chris Wilson
2011-01-07  0:12 ` Corbin Simpson [this message]
2011-01-07  0:18 ` Jesse Barnes

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='AANLkTi=k585dk-029UMfKEJzs8hucEPYrxwV+qbow9Wq@mail.gmail.com' \
    --to=mostawesomedude@gmail.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.