diff options
author | 2020-03-26 14:27:27 +0000 | |
---|---|---|
committer | 2020-03-27 17:00:51 +0000 | |
commit | d002491168fcd1cd7b8092e8467e21f648748ec2 (patch) | |
tree | 2a1a474c5d76225ef5611ab7afc61341113bd55f /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm: Constify adjusted_mode a bit (diff) | |
download | linux-dev-d002491168fcd1cd7b8092e8467e21f648748ec2.tar.xz linux-dev-d002491168fcd1cd7b8092e8467e21f648748ec2.zip |
drm/i915: Differentiate between aliasing-ppgtt and ggtt pinning
Userptr causes lockdep to complain when we are using the aliasing-ppgtt
(and ggtt, but for that it is rightfully so to complain about) in that
when we revoke the userptr we take a mutex which we also use to revoke
the mmaps. However, we only revoke mmaps for GGTT bindings and we never
allow userptr to create a GGTT binding so the warning should be false
and is simply caused by our conflation of the aliasing-ppgtt with the
ggtt. So lets try treating the binding into the aliasing-ppgtt as a
separate lockclass from the ggtt. The downside is that we are
deliberately suppressing lockdep;s ability to warn us of cycles.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/478
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200326142727.31962-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions