diff options
| author | Mukul Joshi <[email protected]> | 2022-05-09 22:25:25 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 09:42:50 -0400 |
| commit | 7fe51e6fd2368b358441a1f6e0c94f4cd7e0720f (patch) | |
| tree | f9300381fd879df2f4725bcfca85d2759b15aac1 /tools/perf/scripts/python | |
| parent | f87f686482c6d2d4465245356854710b01f312c1 (diff) | |
drm/amdkfd: Update context save handling for multi XCC setup (v2)
Context save handling needs to be updated for a multi XCC
setup:
- On a multi XCC setup, KFD needs to report context save base
address and size for each XCC in MQD.
- Thunk will allocate a large context save area covering all
XCCs which will be equal to: num_of_xccs in a partition * size
of context save area for 1 XCC. However, it will report only the
size of context save area for 1 XCC only in the ioctl call.
- Driver then setups the MQD correctly using the size passed from
Thunk and information about number of XCCs in a partition.
- Update get_wave_state function to return context save area
for all XCCs in the partition.
v2: update the get_wave_state function for mqd manager v11 (Morris)
Signed-off-by: Mukul Joshi <[email protected]>
Tested-by: Amber Lin <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Morris Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions