diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-12-12 21:06:50 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-12-13 16:17:37 +0300 |
commit | e30a7581bfc2d5619fed03ec7321c9e4ffb7e36f (patch) | |
tree | ca30e6d3f902ca1fb70fe7bd444cbe1f90d4fd5a /drivers/gpu/drm/i915/i915_gem_clflush.c | |
parent | d7dc4131eb2a1efd670692b7fb578980d8f41762 (diff) | |
download | linux-e30a7581bfc2d5619fed03ec7321c9e4ffb7e36f.tar.xz |
drm/i915: Mark up potential allocation paths within i915_sw_fence as might_sleep
As kmalloc is allowed to block (if given the right flags), mark up the
two i915_sw_fence routines that may call kmalloc as potential sleeping
routines.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171212180652.22061-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_clflush.c')
0 files changed, 0 insertions, 0 deletions