diff options
| author | Maíra Canal <[email protected]> | 2025-04-09 20:50:06 +0000 |
|---|---|---|
| committer | Maíra Canal <[email protected]> | 2025-04-10 18:28:02 +0000 |
| commit | dcdae6e92d4e062da29235fe88980604595e3f0f (patch) | |
| tree | 452b362455e19b8f3dd429dcfadc87f945b230c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/rockchip: dw_hdmi_qp: Fix io init for dw_hdmi_qp_rockchip_resume (diff) | |
| download | kernel-dcdae6e92d4e062da29235fe88980604595e3f0f.tar.gz kernel-dcdae6e92d4e062da29235fe88980604595e3f0f.zip | |
drm/v3d: Fix Indirect Dispatch configuration for V3D 7.1.6 and later
This commit is a resubmission of commit 1fe1c66274fb ("drm/v3d: Fix
Indirect Dispatch configuration for V3D 7.1.6 and later"), which was
accidentally reverted by commit 91dae758bdb8 ("Merge tag
'drm-misc-next-2024-08-01' of https://gitlab.freedesktop.org/drm/misc/kernel
into drm-next"), likely due to an unfortunate conflict resolution.
From the original commit message:
```
`args->cfg[4]` is configured in Indirect Dispatch using the number of
batches. Currently, for all V3D tech versions, `args->cfg[4]` equals the
number of batches subtracted by 1. But, for V3D 7.1.6 and later, we must not
subtract 1 from the number of batches.
Implement the fix by checking the V3D tech version and revision.
Fixes several `dEQP-VK.synchronization*` CTS tests related to Indirect Dispatch.
```
Fixes: 91dae758bdb8 ("Merge tag 'drm-misc-next-2024-08-01' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next")
Signed-off-by: Maíra Canal <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
