diff options
author | Chris Wilson <[email protected]> | 2012-05-11 14:29:31 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2012-05-19 22:39:53 +0200 |
commit | a15817cf16081b140e105736c9a6a50af38540b3 (patch) | |
tree | 578bf0f761086b4d25b90e76b618edf1501b8d0d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b4519513e8ca3bd82eabff9874d69166b58b6db9 (diff) |
drm/i915: Check whether the ring is initialised prior to dispatch
Rather than use the magic feature tests HAS_BLT/HAS_BSD just check
whether the ring we are about to dispatch the execbuffer on is
initialised.
v2: Use intel_ring_initialized()
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Ben Widawsky <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions