nvc0: inform kernel about buffers that screen_create touches
authorBen Skeggs <bskeggs@redhat.com>
Fri, 22 Nov 2013 01:34:13 +0000 (11:34 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 22 Nov 2013 01:34:43 +0000 (11:34 +1000)
commit085ad4821e450349ec1ba8c82d4bd0e7dcfef0af
treeb92d73884e1987ff612bffb4aa4e6595bf245b64
parent1bdb99330ac68003a9ee6c963f46bddb03b9073d
nvc0: inform kernel about buffers that screen_create touches

Prevents a GPU page fault if somehow the uniform bo gets evicted
before the screen_create pushbuf has been submitted.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c