[PATCH 3/3] drm/gem: start adding support for per-file object mmaps

2012-12-19 Thread Dave Airlie
From: Dave Airlie This adds the support for drivers that use the gem mmap call, they need to specify DRIVER_GEM_MMAP in their feature set, so they get this behaviour. This saves me adding 10 open/close handlers for now, if someone would like to do that instead of midlayer, then I'd be happy to w

[PATCH 3/3] drm/gem: start adding support for per-file object mmaps

2012-12-19 Thread Chris Wilson
From: Chris Wilson Subject: Re: [proof-of-concept/rfc] per object file mmaps To: Dave Airlie , dri-devel at lists.freedesktop.org In-Reply-To: <1355892119-13926-1-git-send-email-airlied at gmail.com> References: <1355892119-13926-1-git-send-email-airlied at gmail.com> On Wed, 19 Dec 2012 14:41:56

Re: [PATCH 3/3] drm/gem: start adding support for per-file object mmaps

2012-12-19 Thread Chris Wilson
From: Chris Wilson Subject: Re: [proof-of-concept/rfc] per object file mmaps To: Dave Airlie , dri-devel@lists.freedesktop.org In-Reply-To: <1355892119-13926-1-git-send-email-airl...@gmail.com> References: <1355892119-13926-1-git-send-email-airl...@gmail.com> On Wed, 19 Dec 2012 14:41:56 +1000, D

[PATCH 3/3] drm/gem: start adding support for per-file object mmaps

2012-12-18 Thread Dave Airlie
From: Dave Airlie This adds the support for drivers that use the gem mmap call, they need to specify DRIVER_GEM_MMAP in their feature set, so they get this behaviour. This saves me adding 10 open/close handlers for now, if someone would like to do that instead of midlayer, then I'd be happy to w