diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-15 10:59:18 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-16 20:31:13 +0000 |
commit | 24dbf51a5517b79de9585dd216488aed09fd5ee8 (patch) | |
tree | 457062e55aff6929515c9a306e71bb6abab824d4 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | 70001cd256548391add796cce40bd2e2394d4297 (diff) |
drm/i915: struct_mutex is not required for allocating the framebuffer
We do not need the BKL struct_mutex in order to allocate a GEM object,
nor to create the framebuffer, so resist the temptation to take the BKL
willy nilly. As this changes the locking contract around internal API
calls, the patch is a little larger than a plain removal of a pair of
mutex_lock/unlock.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170215105919.7347-2-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions