diff options
author | Jérôme Glisse <[email protected]> | 2014-05-07 16:35:24 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2014-05-20 14:42:06 +0200 |
commit | 24f47acc78b0ab5e2201f859fe1f693ae90c7c83 (patch) | |
tree | 834a08f452e00713beb57ddedf22a212314ab219 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 74ad54f249de39bc040cce7237b1b854a9c6f0ad (diff) |
drm/radeon: avoid segfault on device open when accel is not working.
When accel is not working on device with virtual address space radeon
segfault because the ib buffer is NULL and trying to map it inside the
virtual address space trigger segfault. This patch only map the ib
buffer if accel is working.
Cc: <[email protected]>
Signed-off-by: Jérôme Glisse <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions