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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux