commit | cb7e88e70f52878f4be0fbcc04350cff72f67278 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Wed Nov 01 03:56:19 2017 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Thu Nov 02 13:32:21 2017 +1000 |
tree | 84b9f512876fa08272a6958250cc7898ed28e8d1 | |
parent | 6be4421a9f5f6d1e980a88e189453cb766744cac [diff] |
drm/nouveau: hang drm client of a master TTM memory allocations will be hanging off the DRM's client, but the locking needed to do so gets really tricky with all the other use of the DRM's object tree. To solve this, we make the normal DRM client a child of a new master, where the memory allocations will be done from instead. This also solves a potential race with client creation. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>