diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-07-25 16:40:07 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 10:14:28 +1000 |
commit | 65a279c1a9709edc00a5859737d0abd50c029ca0 (patch) | |
tree | 477e9f0480f10d94de99bcd76411b091779fe88d /Documentation/locking | |
parent | 9c28abb7db540a9c1f4dedaaf547503adfc87394 (diff) |
drm/nouveau/subdev: track type+instance separately
We use subdev id bitmasks (as a u64) in a number of places, and GA100 adds
enough new engine instances that we run out of bits. We could alias IDs of
engines that no longer exist, but it's cleaner for a number of reasons to
just split the subdev index into a subdev type, and instance ID instead.
Just a lot more painful to do.
This magics up the values for old-style subdev constructors, and provides a
way to incrementally transition each subdev to the new style.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'Documentation/locking')
0 files changed, 0 insertions, 0 deletions