Request custom-device (drp-ai-device) interface for rzv-ai-applications-v2n

name: rzv-ai-applications-v2n
description: |
  This snap contains selected AI applications from renesas-rz/rzv_ai_sdk, built for RZ/V2N.
  The DRP-AI TVM runtime is staged from renesas-rz/rzv_drp-ai_tvm, v2.5.1.
snapcraft: 
https://github.com/canonical/rzv_ai_applications/blob/add-v2n-support/snap/snapcraft.yaml
slots:
  drp-ai-slot:
    interface: custom-device
    custom-device: drp-ai-device
    devices:
      - /dev/drpai0
      - /dev/drp1
      - /dev/udmabuf
      - /dev/rgnmm
      - /dev/rgnmmbuf

plugs:
  gpu-2404:
    interface: content
    target: $SNAP/gpu-2404
    default-provider: mesa-2404
  drp-ai-plug:
    interface: custom-device
    custom-device: drp-ai-device

This snap is used to run AI application demos of our (Canonical) customer (Renesas) on their RZ/V2N board. The snap requires custom-device interface (“drp-ai-device”) to be able to access these devices:

  • /dev/drpai0: control node for the DRP-AI accelerator.

  • /dev/drp1: control node for the DRP-AI accelerator for codec and opencv accelerator.

  • /dev/udmabuf: u-dma-buf manager; creates/destroys DMA buffers.

  • /dev/rgnmm: Renesas graphics memory allocator

  • /dev/rgnmmbuf: buffer node for the graphics memory allocator.

Note 1: this is not a request for auto connection, only for custom-device.

Note 2: this snap is only for the Renesas RZ/V2N board.

Note 3: we already have custom device request approved for the sibling of this snap: rzv-ai-applications for the V2H board. This is essentially the same request as the other one which has already been approved.

This request has been added to the queue for review by the @reviewers team.

Hello @devrim,

In align with the similar approved requests, this is a +1 from me for granting use-of the custom-device interface as listed for the snap rzv-ai-applications-v2n.

1 Like

Hello @devrim :slight_smile:

This is a +1 from my side as well for use-of the custom-device interface to the rzv-ai-applications-v2n snap!

1 Like

Thank you @elisehdy @yomonokio for the quick review!

Can I upload a new version to the snap store now? Is the custom-device interface enabled/defined for this snap as of now?

Hello @devrim,

My sincere apologies for the delay on this grant! +2 votes for, 0 votes against, granting use-of interface custom-device as specified to snap rzv-ai-applications-v2n. This is now live.

Please let me know if you run into any issues.