ENUM HL_GOYA_DMA_DIRECTION(9)

📦 version 7.3.1, in nixpkgs unstable

💖 NAME 💖

okay so bestie, this is enum hl_goya_dma_direction(9) from the Kernel API Manual — the main-character enum that tells you the direction of a DMA operation inside a LIN_DMA packet that gets submitted to the GOYA's DMA QMAN. ✨

⚠️ plot twist: this attribute is not relevant to the H/W. The kernel driver is the one using it to parse the packet's addresses and patch/validate them. periodt.


✨ SYNOPSIS ✨

enum hl_goya_dma_direction {
    HL_DMA_HOST_TO_DRAM ,
    HL_DMA_HOST_TO_SRAM ,
    HL_DMA_DRAM_TO_SRAM ,
    HL_DMA_SRAM_TO_DRAM ,
    HL_DMA_SRAM_TO_HOST ,
    HL_DMA_DRAM_TO_HOST ,
    HL_DMA_DRAM_TO_DRAM ,
    HL_DMA_SRAM_TO_SRAM ,
    HL_DMA_ENUM_MAX

};

🌸 Constants 🌸

  • HL_DMA_HOST_TO_DRAM — DMA operation moving data from Host memory to GOYA's DDR. 💫
  • HL_DMA_HOST_TO_SRAM — DMA operation moving data from Host memory to GOYA's SRAM. 🫶
  • HL_DMA_DRAM_TO_SRAM — DMA operation moving data from GOYA's DDR to GOYA's SRAM. 🔥
  • HL_DMA_SRAM_TO_DRAM — DMA operation moving data from GOYA's SRAM to GOYA's DDR. 🦋
  • HL_DMA_SRAM_TO_HOST — DMA operation moving data from GOYA's SRAM to Host memory. 🌸
  • HL_DMA_DRAM_TO_HOST — DMA operation moving data from GOYA's DDR to Host memory. 💜
  • HL_DMA_DRAM_TO_DRAM — DMA operation moving data from GOYA's DDR to GOYA's DDR. literally DDR to DDR, no cap. 🎀
  • HL_DMA_SRAM_TO_SRAM — DMA operation moving data from GOYA's SRAM to GOYA's SRAM. iconic SRAM-on-SRAM behaviour. ✨
  • HL_DMA_ENUM_MAX — number of values in enum. the little count at the end, iykyk. 💅

🦋 SEE ALSO 🦋

  • Kernel file ./include/uapi/drm/habanalabs_accel.h enum
  • hl_device_status(9)
  • struct hl_info_hw_ip_info(9)
  • struct hl_info_pci_counters(9)
  • struct hl_info_clk_throttle(9)
  • struct hl_info_energy(9)
  • struct hl_open_stats_info(9)
  • struct hl_power_info(9)
  • struct hl_info_sync_manager(9)
  • struct hl_info_cs_counters(9)
  • struct hl_info_last_err_open_dev_time(9)
  • struct hl_info_cs_timeout_event(9)
  • struct hl_info_razwi_event(9)
  • struct hl_info_undefined_opcode_event(9)
  • struct hl_info_hw_err_event(9)
  • struct hl_info_fw_err_event(9)
  • struct hl_info_engine_err_event(9)
  • struct hl_info_dev_memalloc_page_sizes(9)
  • struct hl_page_fault_info(9)
  • struct hl_user_mapping(9)
  • struct hl_info_args(9)

source/version vibe: ./include/uapi/drm · date: October 2026 — mwah, bestie 💋💖

📦 where this page comes from