drm/udl: handle page mapping in dmabuf export.
authorHaixia Shi <hshi@chromium.org>
Tue, 25 Nov 2014 20:04:02 +0000 (12:04 -0800)
committerDave Airlie <airlied@redhat.com>
Wed, 26 Nov 2014 00:03:00 +0000 (10:03 +1000)
commit4bc158e0be4b03b320db9f3b91a84c898ae928a0
tree20b69afd73ae291cd077bfac5b19b8521b773a4c
parent0a3d775fb2c951d1bd3f5f916eee55face0eaada
drm/udl: handle page mapping in dmabuf export.

Fixes dmabuf export failure with -E_NOMEM when the page is not mapped.

Signed-off-by: Haixia Shi <hshi@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_dmabuf.c
drivers/gpu/drm/udl/udl_drv.h
drivers/gpu/drm/udl/udl_gem.c