nv50: attach the buffer bo to the miptree structures
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 1 Sep 2014 14:51:08 +0000 (10:51 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 1 Sep 2014 22:38:02 +0000 (18:38 -0400)
commit2c440433130d3c64635684355a3667d145a188e3
treec0d0efd26990edd55f449c629758a57e513f57dd
parent9d52e551a5874e54bc80f306bf3cacbad2441315
nv50: attach the buffer bo to the miptree structures

The current code... makes no sense. Use nouveau_bo_ref to attach the bo
to the exposed resource so as to have the proper lifetime guarantees.

Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv84_video.c