diff options
author | Eric Anholt <[email protected]> | 2018-06-21 12:54:28 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-06-22 13:47:43 -0700 |
commit | 46d8f405e16cdc47962edbe7771246c8d5b8c795 (patch) | |
tree | f3fff8941484ab60dd96714c3f34f84d51d548a8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 4adc18371f14cf9dfd169d9b8ebdfdaee13c2639 (diff) |
drm: Consider drivers setting DRIVER_ATOMIC as atomic.
Drivers such as vc4 don't initialize mode_config.funcs until later in
initialization, but we know they're atomic since they've got the flag
set. This avoids oopsing on dereferencing funcs in the new atomic
methods sanity checks.
I moved the atomic check function down below the core flag check, to
avoid needing a prototype.
Signed-off-by: Eric Anholt <[email protected]>
Fixes: ba1f665f161c ("drm: Add checks for atomic_[duplicate/destroy]_state with atomic drivers")
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions