nouveau: add PRIME support
authorDave Airlie <airlied@redhat.com>
Mon, 2 Apr 2012 10:53:06 +0000 (11:53 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 23 May 2012 09:46:55 +0000 (10:46 +0100)
This adds prime->fd and fd->prime support to nouveau,
it passes the SG object to TTM, and then populates the
GART entries using it.

v2: add stubbed kmap + use new function to fill out pages array
for faulting + add reimport test.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found