1. 30 Jan, 2023 2 commits
    • Dave Airlie's avatar
      Merge tag 'drm-habanalabs-next-2023-01-26' of... · 729b3c15
      Dave Airlie authored
      Merge tag 'drm-habanalabs-next-2023-01-26' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux into drm-next
      
      This tag contains habanalabs driver and accel changes for v6.3:
      
      - Moved the driver to the accel subsystem. Currently only the files were
        moved (including the uapi file which was also renamed). This doesn't
        include registering to the accel subsystem. This will probably be only
        in the next kernel version.
      
      - In case of decoder error (axi error) in Gaudi2, we can now find the exact
        IP that initiated the erroneous transaction and print the details for
        better debug.
      
      - Add more trace events. We now can trace mmio transactions and communication
        with the preboot firmware.
      
      - Add to Gaudi2 support for abrupt reset that is done by the firmware. This
        was support so far only for Gaudi1.
      
      - Add uAPI to flush memory transactions (to the device memory). This is
        needed by the communications library in case of doing p2p with a host NIC
        which access our HBM directly through the PCI BAR.
      
      - Add uAPI to pass-through a request from user-space to firmware and get the
        result back to user-space. This will allow the driver code to avoid the
        need to add new packet (in the communication channel with the firmware) for
        every new request type.
      
      - Remove the option to export dma-buf by memory allocation handle in our uAPI.
        This was planned for Gaudi2 but was never used. Instead, we will do export
        by memory address (same as Gaudi1). In addition, we added the option to
        specify an offset to the address. This is needed in Gaudi2 because there
        the user allocates the entire HBM in one allocation, but would like to
        export only small part of it.
      
      - Multiple bug fixes, refactors and small optimizations.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Oded Gabbay <ogabbay@kernel.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230126213317.GA1520525@ogabbay-vm-u20.habana-labs.com
      729b3c15
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2023-01-26' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 2e2245ef
      Dave Airlie authored
      drm-misc-next for v6.3:
      
      UAPI Changes:
      
      Cross-subsystem Changes:
      
      Core Changes:
      
       * fbdev-helper: Streamline code in generic fbdev and its helpers
      
       * TTM: Fixes plus their reverts
      
      Driver Changes:
      
       * accel/ivpu: Typo fixes
      
       * i915: TTM-related fixes
      
       * nouveau: Remove unused return value from disable helper
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/Y9I2nOzHxTxPeTjg@linux-uq9g
      2e2245ef
  2. 26 Jan, 2023 38 commits