diff options
author | Ben Goz <ben.goz@amd.com> | 2015-01-03 20:12:29 (GMT) |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2015-01-09 20:26:03 (GMT) |
commit | 85ea7d07e1ec62480c19bce6019a2816e153c74a (patch) | |
tree | 987263d7cc55cb12189d7e7d9f53466884491f31 /drivers/scsi/st.c | |
parent | 093c7d8cfd2a26ff05e3bdff63d371147df1951c (diff) | |
download | linux-85ea7d07e1ec62480c19bce6019a2816e153c74a.tar.xz |
drm/amd: Add SDMA functions to kfd-->kgd interface
This patch adds three new functions to the kfd2kgd interface:
- hqd_sdma_load() - Loads SDMA mqd to a H/W SDMA hqd slot. Used only in no HWS
mode.
- hqd_sdma_is_occupied() - Checks if an SDMA hqd slot is occupied. Used only
in no HWS mode.
- hqd_sdma_destroy() - Destructs and preempts the SDMA queue assigned to
that SDMA hqd slot. Used only in no HWS mode.
These functions are needed to support SDMA queues scheduling when using no HWS
mode (used for debug or bring-up).
v2: Removed init_sdma_engines() from interface. Initialization is done in
radeon.
Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/scsi/st.c')
0 files changed, 0 insertions, 0 deletions