1. 25 Apr, 2019 1 commit
  2. 22 Apr, 2019 1 commit
    • Oded Gabbay's avatar
      habanalabs: use ASIC functions interface for rreg/wreg · b2377e03
      Oded Gabbay authored
      This patch slightly changes the macros of RREG32 and WREG32, which are
      used when reading or writing from registers.
      
      Instead of directly calling a function in the common code from these
      macros, the new code calls a function from the ASIC functions interface.
      
      This change allows us to share much more code between real ASICs and
      simulators, which in turn reduces the maintenance burden and
      the chances for forgetting to port code between the ASIC files.
      
      The patch also implements the hl_poll_timeout macro, instead of calling
      the generic readl_poll_timeout macro. This is required to allow use of
      this macro in the simulator files.
      
      As a result from this change, more functions in goya.c are shared with the
      simulator and therefore, should not be defined as static.
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      b2377e03
  3. 21 Apr, 2019 2 commits
  4. 10 Apr, 2019 1 commit
  5. 02 May, 2019 35 commits