Thread (3 messages) 3 messages, 2 authors, 2017-09-25

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

From: Chris Wilson <hidden>
Date: 2017-09-25 18:06:31
Also in: intel-gfx

Possibly related (same subject, not in this thread)

Quoting Matthew Auld (2017-09-22 18:32:33)
quoted hunk ↗ jump to hunk
@@ -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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help