diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-09-11 14:22:06 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-09-11 20:42:56 +0100 |
commit | d3f3e5e438d3ce47505db8b0a63d55629e48167e (patch) | |
tree | ef2a796a1ef6d3df13816c27d3b8caf794717674 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 146cdf3fad9c4b4653a4dfc6c79619c62ab27c15 (diff) |
drm/i915: Nuke struct_mutex from context_setparam
Userspace should be free to race against itself and shoot itself in
the foot if it so desires to adjust a parameter at the same time as
submitting a batch to that context. As such, the struct_mutex in context
setparam is only being used to serialise userspace against itself and
not for any protection of internal structs and so is superfluous.
v2: Separate user_flags from internal flags to reduce chance of
interference; and use locked bit ops for user updates.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180911132206.23032-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions