Skip to content
Snippets Groups Projects
Commit cb7e88e7 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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: default avatarBen Skeggs <bskeggs@redhat.com>
parent 6be4421a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment