summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_dmabuf.c
Commit message (Collapse)AuthorAgeFilesLines
* drm/udl: properly check for error pointersHaixia Shi2014-11-261-3/+3
| | | | | | | | | The drm_prime_pages_to_sg() function never returns NULL pointers, only error pointers and valid pointers. Signed-off-by: Haixia Shi <hshi@chromium.org> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
* drm/udl: handle page mapping in dmabuf export.Haixia Shi2014-11-261-2/+5
| | | | | | | | 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>
* drm/udl: add support to export a handle to a FD on UDL.Haixia Shi2014-11-201-0/+273
Only importing an FD to a handle is currently supported on UDL, but the exporting functionality is equally useful. Signed-off-by: Haixia Shi <hshi@chromium.org> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
OpenPOWER on IntegriCloud