Re: [PATCH v6 7/7] drm/i915: add a sysfs entry to let users set sseu configs

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

 



On 23/05/18 16:30, Tvrtko Ursulin wrote:

+{
+    struct drm_i915_private *dev_priv = kdev_minor_to_i915(kdev);
+    int ret = i915_gem_contexts_get_allow_sseu(dev_priv);
+
+    return snprintf(buf, PAGE_SIZE, "%d\n", ret);

Propagate ENODEV all the way by making i915_gem_contexts_get_allow_sseu return an int?

Actually should a cat on a sysfs entry fail with ENODEV?

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux