[Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-10-06 Thread Matthew Auld
Not a fully blown gemfs, just our very own tmpfs kernel mount. Doing so moves us away from the shmemfs shm_mnt, and gives us the much needed flexibility to do things like set our own mount options, namely huge= which should allow us to enable the use of transparent-huge-pages for our shmem backed o

[Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-10-05 Thread Matthew Auld
Not a fully blown gemfs, just our very own tmpfs kernel mount. Doing so moves us away from the shmemfs shm_mnt, and gives us the much needed flexibility to do things like set our own mount options, namely huge= which should allow us to enable the use of transparent-huge-pages for our shmem backed o

Re: [Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-10-02 Thread Joonas Lahtinen
On Fri, 2017-09-29 at 17:10 +0100, Matthew Auld wrote: > Not a fully blown gemfs, just our very own tmpfs kernel mount. Doing so > moves us away from the shmemfs shm_mnt, and gives us the much needed > flexibility to do things like set our own mount options, namely huge= > which should allow us to

[Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-09-29 Thread Matthew Auld
Not a fully blown gemfs, just our very own tmpfs kernel mount. Doing so moves us away from the shmemfs shm_mnt, and gives us the much needed flexibility to do things like set our own mount options, namely huge= which should allow us to enable the use of transparent-huge-pages for our shmem backed o

Re: [Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-09-25 Thread Chris Wilson
Quoting Matthew Auld (2017-09-22 18:32:33) > @@ -4914,6 +4938,8 @@ i915_gem_load_init(struct drm_i915_private *dev_priv) > > spin_lock_init(&dev_priv->fb_tracking.lock); > > + WARN_ON(i915_gemfs_init(dev_priv)); Make this kinder, the driver will happily continue without a special

Re: [Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-09-23 Thread Chris Wilson
Quoting Matthew Auld (2017-09-22 18:32:33) > +static int i915_gem_object_create_shmem(struct drm_device *dev, > + struct drm_gem_object *obj, > + size_t size) > +{ > + struct drm_i915_private *i915 = to_i915(dev); > +

[Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-09-22 Thread Matthew Auld
Not a fully blown gemfs, just our very own tmpfs kernel mount. Doing so moves us away from the shmemfs shm_mnt, and gives us the much needed flexibility to do things like set our own mount options, namely huge= which should allow us to enable the use of transparent-huge-pages for our shmem backed o

[Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-07-25 Thread Matthew Auld
Not a fully blown gemfs, just our very own tmpfs kernel mount. Doing so moves us away from the shmemfs shm_mnt, and gives us the much needed flexibility to do things like set our own mount options, namely huge= which should allow us to enable the use of transparent-huge-pages for our shmem backed o

[Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs

2017-07-03 Thread Matthew Auld
Not a fully blown gemfs, just our very own tmpfs kernel mount. Doing so moves us away from the shmemfs shm_mnt, and gives us the much needed flexibility to do things like set our own mount options, namely huge= which should allow us to enable the use of transparent-huge-pages for our shmem backed o