All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Jackson <ajax@redhat.com>
To: Eric Anholt <eric@anholt.net>, dri-devel@lists.freedesktop.org
Subject: Re: [RFC PATCH] drm/vgem: virtual GEM provider
Date: Tue, 07 Feb 2012 18:32:49 -0500	[thread overview]
Message-ID: <4F31B4A1.8060208@redhat.com> (raw)
In-Reply-To: <20120207232857.GA19150@seagal.amr.corp.intel.com>

On 2/7/12 6:28 PM, Ben Widawsky wrote:
> On Wed, Jan 11, 2012 at 04:04:20PM -0500, Adam Jackson wrote:
>>> If you can, I recommend using the intel gtt mapping type of mmap ioctl,
>>> where it gives you back an offset that you use the mmap syscall on, and
>>> implement the vgem_gem_fault to map its pages, instead.  It should avoid
>>> tricking userland tools like valgrind, which really sucks with the
>>> do_mmap()-calling ioctl we have today.
>>
>> That makes sense.  Having two paths by which you could hit
>> drm_gem_mmap() seemed weird when I was writing it.
>>
>> I think the clean way of doing that requires exporting at least
>> shmem_fault and possibly some other shmfs details.
>>
>> - ajax
>
> I'm working on this presently unless you've already done it.

Go for it, I've been ratholed getting vesa working again on 1.12.

- ajax

  reply	other threads:[~2012-02-07 23:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 19:19 [RFC PATCH] drm/vgem: virtual GEM provider Adam Jackson
2012-01-11 20:16 ` Eric Anholt
2012-01-11 21:04   ` Adam Jackson
2012-02-07 23:28     ` Ben Widawsky
2012-02-07 23:32       ` Adam Jackson [this message]
2012-01-11 20:32 ` Daniel Vetter
2012-01-11 20:54   ` Dave Airlie

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=4F31B4A1.8060208@redhat.com \
    --to=ajax@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=eric@anholt.net \
    /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.