nv50,nvc0: fix crash when increasing bsp bo size for h264
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 4 Jan 2016 16:16:45 +0000 (11:16 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 4 Jan 2016 16:32:45 +0000 (11:32 -0500)
commitb5f2f7073f047b4e4128cf05af8dddf356f9b48c
treea2bf95b898766154c9a62fee248a4d68972ccf9c
parent8cf2e892fca20c4776b4a07c39918343cb2d4e0e
nv50,nvc0: fix crash when increasing bsp bo size for h264

H264 doesn't have a bitplane bo. We just need a device reference, so use
the one from the client.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv98_video_bsp.c
src/gallium/drivers/nouveau/nvc0/nvc0_video_bsp.c