drm/i915/skl: gen9 uses the same bind_vma() vfuncs as gen6+
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 16 Jan 2014 16:42:32 +0000 (16:42 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 12:47:40 +0000 (14:47 +0200)
Temporary plug a BUG() while waiting for a better solution. See:

  http://lists.freedesktop.org/archives/intel-gfx/2014-January/038132.html

However Chris was looking at cleaning-up this as well, so went for the
easy intermediate solution instead.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c

index d78695de81017a8c5d2246b1d0afca1ad2e4aa81..688dd00ecbd20669655b1fe6bd30816b8e67db9d 100644 (file)
@@ -2130,6 +2130,7 @@ static struct i915_vma *__i915_gem_vma_create(struct drm_i915_gem_object *obj,
        vma->obj = obj;
 
        switch (INTEL_INFO(vm->dev)->gen) {
+       case 9:
        case 8:
        case 7:
        case 6: