diff options
| author | Daniel Vetter <[email protected]> | 2016-06-14 20:51:00 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-06-16 10:17:42 +0200 |
| commit | 2cbae7e63747c917b08a505e44b31ec8b4ee5583 (patch) | |
| tree | 0d36159dc7956c404740d45ce70c295ecb19422f /tools/perf/scripts/python/bin | |
| parent | 6548f4e7a3babf9fd6c52e02da419458e19e2db9 (diff) | |
drm: Extract drm_master_open
And pull out the primary_client check to make it really obvious that
this can't happen on control/render nodes. Bonus that we can avoid the
master lock in this case.
v2: Don't leak locks on error path (and simplify control flow while
at it), reported by Julia.
Cc: Julia Lawall <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions