1. 12 1月, 2015 3 次提交
    • O
      drm/amdkfd: Encapsulate KQ functions in ops structure · 443fbd5f
      Oded Gabbay 提交于
      This patch does some re-org on the kernel_queue structure. It takes out
      all the function pointers from the structure and puts them in a new structure,
      called kernel_queue_ops. Then, it puts an instance of that structure
      inside kernel_queue.
      
      This re-org is done to prepare the KQ module to support more than one AMD APU
      (Kaveri).
      Signed-off-by: NOded Gabbay <oded.gabbay@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      443fbd5f
    • B
      drm/amdkfd: Add initial VI support for DQM · a22fc854
      Ben Goz 提交于
      This patch starts to add support for the VI APU in the DQM module.
      
      Because most (more than 90%) of the DQM code is shared among AMD's APUs, we
      chose a design that performs most/all the code in the shared DQM file
      (kfd_device_queue_manager.c). If there is H/W specific code to be executed,
      than it is written in an asic-specific extension function for that H/W.
      
      That asic-specific extension function is called from the shared function at the
      appropriate time. This requires that for every asic-specific extension function
      that is implemented in a specific ASIC, there will be an equivalent
      implementation in ALL ASICs, even if those implementations are just stubs.
      
      That way we achieve:
      
      - Maintainability: by having one copy of most of the code, we only need to
        fix bugs at one locations
      
      - Readability: very clear what is the shared code and what is done per ASIC
      
      - Extensibility: very easy to add new H/W specific files/functions
      Signed-off-by: NBen Goz <ben.goz@amd.com>
      Signed-off-by: NOded Gabbay <oded.gabbay@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      a22fc854
    • O
      drm/amdkfd: Encapsulate DQM functions in ops structure · 45c9a5e4
      Oded Gabbay 提交于
      This patch does some re-org on the device_queue_manager structure. It takes out
      all the function pointers from the structure and puts them in a new structure,
      called device_queue_manager_ops. Then, it puts an instance of that structure
      inside device_queue_manager.
      
      This re-org is done to prepare the DQM module to support more than one AMD APU
      (Kaveri).
      Signed-off-by: NOded Gabbay <oded.gabbay@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      45c9a5e4
  2. 13 1月, 2015 1 次提交
  3. 18 8月, 2014 1 次提交
  4. 04 1月, 2015 1 次提交
    • B
      drm/amdkfd: Change MQD manager to be H/W specific · 4b8f589b
      Ben Goz 提交于
      The MQDs for CI and VI are different. Therefore, the MQD manager module need to
      be H/W specific.
      
      This patch splits the current MQD manager into three files:
      
      - kfd_mqd_manager.c, which contains common functions and initializes the
        specific mqd manager module according to the H/W
      
      - kfd_mqd_manager_cik.c, which contains Kaveri specific functions. This is
        basically the old kfd_mqd_manager.c
      
      - kfd_mqd_manager_vi.c, which will contain VI specific functions. Currently it
        is not implemented except for returning NULL on initialization.
      Signed-off-by: NBen Goz <ben.goz@amd.com>
      Signed-off-by: NOded Gabbay <oded.gabbay@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      4b8f589b
  5. 01 1月, 2015 1 次提交
  6. 04 1月, 2015 2 次提交
  7. 03 1月, 2015 4 次提交
  8. 27 10月, 2014 1 次提交
  9. 03 1月, 2015 1 次提交
    • B
      drm/radeon: Initialize compute vmid · 08dcc57f
      Ben Goz 提交于
      This patch moves to radeon the initialization of compute vmid.
      
      That initializations was done in kfd-->kgd interface, but doing it in radeon
      as part of radeon's H/W initialization routines is more appropriate.
      
      In addition, this simplifies the kfd-->kgd interface.
      
      The patch removes the function from the interface file and from the interface
      declaration file.
      
      The function initializes memory apertures to fixed base/limit address and non
      cached memory types.
      Signed-off-by: NBen Goz <ben.goz@amd.com>
      Signed-off-by: NOded Gabbay <oded.gabbay@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      08dcc57f
  10. 13 1月, 2015 1 次提交
  11. 10 1月, 2015 18 次提交
  12. 08 1月, 2015 6 次提交