dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] drm/panfrost: Add heap and no execute buffer allocation
@ 2019-08-02 19:51 Rob Herring
  2019-08-02 19:51 ` [PATCH v3 1/8] drm/gem: Allow sparsely populated page arrays in drm_gem_put_pages Rob Herring
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Rob Herring @ 2019-08-02 19:51 UTC (permalink / raw)
  To: dri-devel
  Cc: Tomeu Vizoso, Maxime Ripard, Sean Paul, Steven Price,
	David Airlie, Boris Brezillon, Alyssa Rosenzweig, Robin Murphy

This series adds new BO allocation flags PANFROST_BO_HEAP and
PANFROST_BO_NOEXEC. The heap allocations are paged in on GPU page faults.

Tomeu reports he has tested this in the panfrost CI.

This is based on drm-misc-next. An updated branch is here[1].

v3:
 - Retain shared irq support, splitting IRQ changes to separate patch (6/8)
 - Stop leaking SG tables
 - Prevent mmap and pinning pages for heap BOs

Rob

[1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git panfrost/heap-noexec


Rob Herring (8):
  drm/gem: Allow sparsely populated page arrays in drm_gem_put_pages
  drm/shmem: Put pages independent of a SG table being set
  drm/panfrost: Restructure the GEM object creation
  drm/panfrost: Split panfrost_mmu_map SG list mapping to its own
    function
  drm/panfrost: Add a no execute flag for BO allocations
  drm/panfrost: Convert MMU IRQ handler to threaded handler
  drm/panfrost: Add support for GPU heap allocations
  drm/panfrost: Bump driver version to 1.1

 drivers/gpu/drm/drm_gem.c               |   3 +
 drivers/gpu/drm/drm_gem_shmem_helper.c  |   4 +-
 drivers/gpu/drm/panfrost/TODO           |   2 -
 drivers/gpu/drm/panfrost/panfrost_drv.c |  65 ++++++--
 drivers/gpu/drm/panfrost/panfrost_gem.c | 106 +++++++++++--
 drivers/gpu/drm/panfrost/panfrost_gem.h |  16 +-
 drivers/gpu/drm/panfrost/panfrost_mmu.c | 200 ++++++++++++++++++++----
 include/uapi/drm/panfrost_drm.h         |   3 +
 8 files changed, 333 insertions(+), 66 deletions(-)

--
2.20.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-08-08 13:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-02 19:51 [PATCH v3 0/8] drm/panfrost: Add heap and no execute buffer allocation Rob Herring
2019-08-02 19:51 ` [PATCH v3 1/8] drm/gem: Allow sparsely populated page arrays in drm_gem_put_pages Rob Herring
2019-08-02 19:51 ` [PATCH v3 2/8] drm/shmem: Put pages independent of a SG table being set Rob Herring
2019-08-02 19:51 ` [PATCH v3 3/8] drm/panfrost: Restructure the GEM object creation Rob Herring
2019-08-02 19:51 ` [PATCH v3 4/8] drm/panfrost: Split panfrost_mmu_map SG list mapping to its own function Rob Herring
2019-08-08 12:57   ` Steven Price
2019-08-02 19:51 ` [PATCH v3 5/8] drm/panfrost: Add a no execute flag for BO allocations Rob Herring
2019-08-02 19:51 ` [PATCH v3 6/8] drm/panfrost: Convert MMU IRQ handler to threaded handler Rob Herring
2019-08-02 22:28   ` Alyssa Rosenzweig
2019-08-08 12:57   ` Steven Price
2019-08-02 19:51 ` [PATCH v3 7/8] drm/panfrost: Add support for GPU heap allocations Rob Herring
2019-08-08 13:37   ` Steven Price
2019-08-02 19:51 ` [PATCH v3 8/8] drm/panfrost: Bump driver version to 1.1 Rob Herring
2019-08-05 16:09 ` [PATCH v3 0/8] drm/panfrost: Add heap and no execute buffer allocation Tomeu Vizoso
2019-08-05 21:10   ` Rob Herring
2019-08-06  5:23     ` Tomeu Vizoso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).