1. 11 2月, 2016 1 次提交
  2. 18 8月, 2015 1 次提交
  3. 04 6月, 2015 1 次提交
  4. 19 5月, 2015 2 次提交
    • A
      930c5ff4
    • A
      drm/amdkfd: Add the events module · f3a39818
      Andrew Lewycky 提交于
      This patch adds the events module (kfd_events.c) and the interrupt
      handle module for Kaveri (cik_event_interrupt.c).
      
      The patch updates the interrupt_is_wanted(), so that it now calls the
      interrupt isr function specific for the device that received the
      interrupt. That function(implemented in cik_event_interrupt.c)
      returns whether this interrupt is of interest to us or not.
      
      The patch also updates the interrupt_wq(), so that it now calls the
      device's specific wq function, which checks the interrupt source
      and tries to signal relevant events.
      
      v2:
      
      Increase limit of signal events to 4096 per process
      Remove bitfields from struct cik_ih_ring_entry
      Rename radeon_kfd_event_mmap to kfd_event_mmap
      Add debug prints to allocate_free_slot and allocate_signal_page
      Make allocate_event_notification_slot return a correct value
      Add warning prints to create_signal_event
      Remove error print from IOCTL path
      Reformatted debug prints in kfd_event_mmap
      Map correct size (as received from mmap) in kfd_event_mmap
      
      v3:
      
      Reduce limit of signal events back to 256 per process
      Fix allocation of kernel memory for signal events
      Signed-off-by: NAndrew Lewycky <Andrew.Lewycky@amd.com>
      Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
      f3a39818
  5. 10 1月, 2015 2 次提交
  6. 09 12月, 2014 1 次提交
  7. 20 11月, 2014 1 次提交
  8. 04 1月, 2015 2 次提交
  9. 03 1月, 2015 1 次提交
  10. 17 7月, 2014 1 次提交
    • B
      amdkfd: Add mqd_manager module · 6e99df57
      Ben Goz 提交于
      The mqd_manager module handles MQD data structures.
      MQD stands for Memory Queue Descriptor, which is used by the H/W to
      keep the usermode queue state in memory.
      
      v3:
      
      Removed new typedefs
      Removed pragma pack 4
      Remove cik_mqds.h file
      Changed lower_32/upper_32 calls to use linux macros
      Used new gart allocation functions
      Added documentation
      
      v4:
      
      Added missing initialization of the addr field in init_mqd()
      
      Setting the hqd persistent.preload_req bit ON so that when queues switches
      on/off, their context will kept and read from the mqd when the cp reassign
      them, and thus the dispatched workload context kept consistent without any
      interrupts.
      
      v5:
      
      Move amdkfd from drm/radeon/ to drm/amd/
      Change format of mqd structure to match latest KV firmware
      Add support for AQL queues creation to enable working with open-source HSA
      runtime.
      Various fixes
      Signed-off-by: NBen Goz <ben.goz@amd.com>
      Signed-off-by: NOded Gabbay <oded.gabbay@amd.com>
      6e99df57