diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2022-06-01 20:46:51 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2022-11-09 10:44:35 +1000 |
commit | ab4f75eb1cc261263ac51814fed14fde08b6716f (patch) | |
tree | 84385f50a58509a96c276fc622a4292280cd1e58 /include/trace | |
parent | 4a16dd9d18a04742292cc7bfdbb79aedfe24e2c8 (diff) |
drm/nouveau/nvkm: give each nvkm_event its own lockdep class
The vblank and nonstall events have some annoying interactions with DRM
locking, and aren't able to do certain things as a result.
However, other uses of event notifications don't have such requirements,
and upcoming patches take advantage of this for various improvements.
Having separate classes for each nvkm_event's spinlocks allows lockdep
to distinguish between them and avoid false-positives.
v2: __always_inline + comment
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions