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

Chris Wilson chris at chris-wilson.co.uk
Mon Sep 25 18:06:25 UTC 2017


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
gemfs mounting. (For mock, maybe WARN and bail for the tests that need gemfs?)

if (i915_gemfs_init(dev_priv)))
	DRM_NOTE("Unable to create a private tmpfs mountpoint, hugepage support will be disabled.\n");
-Chris


More information about the Intel-gfx mailing list