summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-01-04 10:11:01 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-01-05 09:00:00 +0100
commit0f646425b94a01606450eb03b3a8f3b5e03ea9b8 (patch)
treee11ce6b4454247aa23ed46c9b49e48bb200e908a /drivers/gpu/drm/i915/intel_display.c
parent98a8883ad419128493b8cfab3982d58785deabda (diff)
downloadblackbird-op-linux-0f646425b94a01606450eb03b3a8f3b5e03ea9b8.tar.gz
blackbird-op-linux-0f646425b94a01606450eb03b3a8f3b5e03ea9b8.zip
drm: Use a normal idr allocation for the obj->name
Unlike the handle, the name table uses a sleeping mutex rather than a spinlock. The allocation is in a normal context, and we can use the simpler sleeping gfp_t, rather than have to take from the atomic reserves. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1451902261-25380-3-git-send-email-chris@chris-wilson.co.uk Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud