Skip to content
Commit 8d90d1ef authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/gf100-/bar: don't fill in bar->alloc until after all vm setup done



gpuobj has a condition of (bar && bar->alloc) around usage to avoid
some nasty ordering issues (which, i've now been reminded to add a
todo about fixing...) between bar and vm.

The bar->alloc part of the condition isn't currently necessary (it
used to be, another change made bar always NULL where it matters),
so we got lucky.  That won't be the case for much longer.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 6f5cee5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment