aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2013-07-27 13:37:59 +0200
committerDave Airlie <[email protected]>2013-08-07 10:15:29 +1000
commit78af329a85bee7dd4671c67abfecde37b0057b10 (patch)
tree69dd90aad1c0809e902abd248e614170980a52ac /tools/perf/scripts/python/event_analyzing_sample.py
parent28ec711cd427f8b61f73712a43b8100ba8ca933b (diff)
drm/ttm: replace drm_mm_pre_get() by direct alloc
Instead of calling drm_mm_pre_get() in a row, we now preallocate the node and then use the atomic insertion functions. This has the exact same semantics and there is no reason to use the racy pre-allocations. Note that ttm_bo_man_get_node() does not run in atomic context. Nouveau already uses GFP_KERNEL alloc in nouveau/nouveau_ttm.c in nouveau_gart_manager_new(). So we can do the same in ttm_bo_man_get_node(). Signed-off-by: David Herrmann <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions