diff options
author | 2016-10-03 13:45:15 +0100 | |
---|---|---|
committer | 2016-10-10 16:06:41 +0300 | |
commit | ca5732c53bf66ad755284786897e0dd10330de87 (patch) | |
tree | 8dde1aa9606b05edb7df1bbebffb8bf508629bd0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Just clear the mmiodebug before a register access (diff) | |
download | linux-dev-ca5732c53bf66ad755284786897e0dd10330de87.tar.xz linux-dev-ca5732c53bf66ad755284786897e0dd10330de87.zip |
drm/i915: Unalias obj->phys_handle and obj->userptr
We use obj->phys_handle to choose the pread/pwrite path, but as
obj->phys_handle is a union with obj->userptr, we then mistakenly use
the phys_handle path for userptr objects within pread/pwrite.
Testcase: igt/gem_userptr_blits/forbidden-operations
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97519
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161003124516.12388-2-chris@chris-wilson.co.uk
(cherry picked from commit 5f12b80a0b42da253691ca03828033014bb786eb)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions