Blit SDMA support for gfx70x

Change-Id: Ie6f215890553ef41c3f36b349fc9cc39c2d38747


[ROCm/ROCR-Runtime commit: 103cd04236]
This commit is contained in:
Besar Wicaksono
2016-05-31 13:38:45 -05:00
committed by Kent Russell
parent f937d533f6
commit 7b50eacba5
5 changed files with 54 additions and 14 deletions
@@ -227,6 +227,9 @@ class BlitSdma : public core::Blit {
/// Max total fill count supported by the queue.
size_t max_total_fill_size_;
/// True if platform atomic is supported.
bool platform_atomic_support_;
};
} // namespace amd
@@ -79,6 +79,11 @@ class GpuAgentInt : public core::Agent {
// @retval HSA_STATUS_SUCCESS DMA queue initialization is successful.
virtual void InitDma() = 0;
// @brief Initialize blit kernel object based on AQL queue.
//
// @retval HSA_STATUS_SUCCESS blit kernel object initialization is successful.
virtual hsa_status_t InitBlitKernel() = 0;
// @brief Invoke the user provided callback for each region accessible by
// this agent.
//
@@ -178,10 +183,8 @@ class GpuAgent : public GpuAgentInt {
// @brief Override from core::Agent.
void InitDma() override;
// @brief Initialize blit kernel object based on AQL queue.
//
// @retval HSA_STATUS_SUCCESS blit kernel object initialization is successful.
hsa_status_t InitBlitKernel();
// @brief Override from core::Agent.
hsa_status_t InitBlitKernel() override;
uint16_t GetMicrocodeVersion() const;