[PATCH 1/3] drm/vgem: Fix mmaping

2016-07-11 Thread Chris Wilson
The vGEM mmap code has bitrotted slightly and now immediately BUGs. Since vGEM was last updated, there are new core GEM facilities to provide more common functions, so let's use those here. v2: drm_gem_free_mmap_offset() is performed from drm_gem_object_release() so we can remove the redundant cal

[Intel-gfx] [PATCH 1/3] drm/vgem: Fix mmaping

2016-07-01 Thread Rodrigo Vivi
Is this something that Dave or Jani could help us with? This is a critical fix that blocking some projects around. Thanks, Rodrigo. On Sat, Jun 25, 2016 at 3:39 AM, Chris Wilson wrote: > On Thu, Jun 23, 2016 at 03:35:32PM +0100, Chris Wilson wrote: >> The vGEM mmap code has bitrotted slightly

[PATCH 1/3] drm/vgem: Fix mmaping

2016-06-25 Thread Chris Wilson
On Thu, Jun 23, 2016 at 03:35:32PM +0100, Chris Wilson wrote: > The vGEM mmap code has bitrotted slightly and now immediately BUGs. > Since vGEM was last updated, there are new core GEM facilities to > provide more common functions, so let's use those here. > > v2: drm_gem_free_mmap_offset() is pe

[PATCH 1/3] drm/vgem: Fix mmaping

2016-06-23 Thread Chris Wilson
The vGEM mmap code has bitrotted slightly and now immediately BUGs. Since vGEM was last updated, there are new core GEM facilities to provide more common functions, so let's use those here. v2: drm_gem_free_mmap_offset() is performed from drm_gem_object_release() so we can remove the redundant cal