Skip to content
Snippets Groups Projects
  1. Jul 31, 2019
    • Rob Herring's avatar
      drm/panfrost: Bump driver version to 1.1 · 5c295d78
      Rob Herring authored
      
      Increment the driver version to expose the new BO allocation flags.
      
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Cc: Boris Brezillon <boris.brezillon@collabora.com>
      Cc: Robin Murphy <robin.murphy@arm.com>
      Cc: Steven Price <steven.price@arm.com>
      Cc: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
    • Rob Herring's avatar
      drm/panfrost: Add support for GPU heap allocations · 3885b06e
      Rob Herring authored
      
      The midgard/bifrost GPUs need to allocate GPU heap memory which is
      allocated on GPU page faults and not pinned in memory. The vendor driver
      calls this functionality GROW_ON_GPF.
      
      This implementation assumes that BOs allocated with the
      PANFROST_BO_NOEXEC flag are never mmapped or exported. Both of those may
      actually work, but I'm unsure if there's some interaction there. It
      would cause the whole object to be pinned in memory which would defeat
      the point of this.
      
      On faults, we map in 2MB at a time in order to utilize huge pages (if
      enabled). Currently, once we've mapped pages in, they are only unmapped
      if the BO is freed. Once we add shrinker support, we can unmap pages
      with the shrinker.
      
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Cc: Boris Brezillon <boris.brezillon@collabora.com>
      Cc: Robin Murphy <robin.murphy@arm.com>
      Cc: Steven Price <steven.price@arm.com>
      Cc: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      3885b06e
  2. Jul 26, 2019
    • Rob Herring's avatar
      drm/panfrost: Convert MMU IRQ handler to threaded handler · d6152df0
      Rob Herring authored
      
      In preparation to handle mapping of page faults, we need the MMU handler
      to be threaded as code paths take a mutex.
      
      As the IRQ may be shared, we can't use the default handler and must
      disable the MMU interrupts locally.
      
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Cc: Boris Brezillon <boris.brezillon@collabora.com>
      Cc: Robin Murphy <robin.murphy@arm.com>
      Cc: Steven Price <steven.price@arm.com>
      Cc: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      d6152df0
  3. Jul 24, 2019
  4. Jul 23, 2019
  5. Jul 22, 2019
  6. Jul 21, 2019
Loading