diff options
author | 2013-10-09 21:23:51 +0200 | |
---|---|---|
committer | 2013-10-16 22:04:24 +0200 | |
commit | dd4916c55aa4bacb26c343d0f0faa64e7aaef918 (patch) | |
tree | 8abe744474a06c1044101a37bf023b996507d8bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: vlv: fix VGA hotplug after modeset (diff) | |
download | linux-dev-dd4916c55aa4bacb26c343d0f0faa64e7aaef918.tar.xz linux-dev-dd4916c55aa4bacb26c343d0f0faa64e7aaef918.zip |
drm/i915: grab dev->struct_mutex around framebuffer_init
We look at gem state (like obj->tiling/obj->stride), we better have
the relevant locks.
Right now this doesn't matter much since most of these checks are
a curtesy to safe buggy userspace, but I'd like to freeze the tiling
once we have framebuffer objects attached. And then locking matters.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions