drm/omap: accept NULL for dma_addr in omap_gem_pin
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 10 Oct 2019 11:59:55 +0000 (13:59 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Oct 2019 14:02:25 +0000 (17:02 +0300)
commitd6e52e28e4ca5ae5d066048f5ae2eac68dacb453
tree09cb3deab5fa22e62f34e281c19735e30a330bf7
parentd3e4c46df688fa0bfacffd5f040b5ae89562ab0c
drm/omap: accept NULL for dma_addr in omap_gem_pin

Allow NULL to be passed in 'dma_addr' for omap_gem_pin(), in case the
caller does not need the dma_addr.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191010120000.1421-4-jjhiblot@ti.com
drivers/gpu/drm/omapdrm/omap_gem.c