linux/drivers/gpu/drm/v3d
Eric Anholt 62d1a75287 drm/v3d: Fix prime imports of buffers from other drivers.
v3d_bo_get_pages() checks this to decide to map the imported buffer
instead of the backing shmem file.  The caller was about to set this
value anyway, and there's no error path in between.  Ideally we
wouldn't even allocate the shmem file for our imports, but that's a
more invasive fix.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 57692c94dc ("drm/v3d: Introduce a new DRM driver for Broadcom V3D V3.x+")
Link: https://patchwork.freedesktop.org/patch/msgid/20181128230927.10951-3-eric@anholt.net
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Dave Emett <david.emett@broadcom.com>
2018-11-30 13:47:34 -08:00
..
Kconfig drm/v3d: add CONFIG_MMU dependency 2018-05-30 12:15:18 -07:00
Makefile
v3d_bo.c drm/v3d: Fix prime imports of buffers from other drivers. 2018-11-30 13:47:34 -08:00
v3d_debugfs.c drm/v3d: Skip debugfs dumping GCA on platforms without GCA. 2018-10-15 13:10:54 -07:00
v3d_drv.c drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_drv.h drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_fence.c drm/v3d: Remove unnecessary dma_fence_ops. 2018-07-05 11:42:50 -07:00
v3d_gem.c drm/v3d: Drop the "dev" argument to lock/unlock of BO reservations. 2018-11-30 13:03:35 -08:00
v3d_irq.c drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_mmu.c
v3d_regs.h drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_sched.c drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00
v3d_trace_points.c
v3d_trace.h drm/v3d: Add support for submitting jobs to the TFU. 2018-11-30 13:03:32 -08:00