Searched hist:b499914eb83765a27e3b43f216e9d1bdf4265418 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gemfs.h | diff b499914eb83765a27e3b43f216e9d1bdf4265418 Fri Apr 29 12:04:14 CEST 2022 Tvrtko Ursulin <tvrtko.ursulin@intel.com> drm/i915: Only setup private tmpfs mount when needed and fix logging
If i915 does not want to use huge pages there is a) no point in setting up the private mount and b) should former fail, it is misleading to log THP support is disabled in the caller, which does not even know if callee tried to enable it.
Fix both by restructuring the flow in i915_gemfs_init and at the same time note the failure to set it up in all cases.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Cc: Eero Tamminen <eero.t.tamminen@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220429100414.647857-2-tvrtko.ursulin@linux.intel.com
|
H A D | i915_gemfs.c | diff b499914eb83765a27e3b43f216e9d1bdf4265418 Fri Apr 29 12:04:14 CEST 2022 Tvrtko Ursulin <tvrtko.ursulin@intel.com> drm/i915: Only setup private tmpfs mount when needed and fix logging
If i915 does not want to use huge pages there is a) no point in setting up the private mount and b) should former fail, it is misleading to log THP support is disabled in the caller, which does not even know if callee tried to enable it.
Fix both by restructuring the flow in i915_gemfs_init and at the same time note the failure to set it up in all cases.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Cc: Eero Tamminen <eero.t.tamminen@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220429100414.647857-2-tvrtko.ursulin@linux.intel.com
|
H A D | i915_gem_shmem.c | diff b499914eb83765a27e3b43f216e9d1bdf4265418 Fri Apr 29 12:04:14 CEST 2022 Tvrtko Ursulin <tvrtko.ursulin@intel.com> drm/i915: Only setup private tmpfs mount when needed and fix logging
If i915 does not want to use huge pages there is a) no point in setting up the private mount and b) should former fail, it is misleading to log THP support is disabled in the caller, which does not even know if callee tried to enable it.
Fix both by restructuring the flow in i915_gemfs_init and at the same time note the failure to set it up in all cases.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Cc: Eero Tamminen <eero.t.tamminen@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220429100414.647857-2-tvrtko.ursulin@linux.intel.com
|