diff options
| author | David Belanger <[email protected]> | 2022-02-16 17:07:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:45:14 +0000 |
| commit | 1526ec9a3ed90e7ad36de7ef8aa2768b60af14df (patch) | |
| tree | 98e36a39b444ee4268be8354091b9b3fca4b5822 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu: reflect psp xgmi topology info for gfx9.4.3 (diff) | |
| download | kernel-1526ec9a3ed90e7ad36de7ef8aa2768b60af14df.tar.gz kernel-1526ec9a3ed90e7ad36de7ef8aa2768b60af14df.zip | |
drm/amdkfd: EOP Removal - Handle size 0 correctly
On GC 9.4.3, we are removing the EOP buffer.
If we specify 0 for the size, CP_HQD_EOP_CONTROL ends up with
incorrect value as order_size_2 calculations does not handle 0.
Fix it by using zero for the MQD entry for EOP size 0.
v2: Reworked code with a conditional assignment and fixed style issues.
Signed-off-by: David Belanger <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
