Enable FW assisted shadowing for GFX11
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest13 patches 19 repliesIn review
- v3 posting 2/213 patches 8 repliesSuperseded
- v3 posting 1/213 patches 1 replySuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 11 patches | 9 replies | Superseded | |
| v1 | 10 patches | 11 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | drm/amdgpu/gfx11: add FW version check for new CP GFX shadow featuredrivers/ drivers/ | +15 | 0 replies | |
| 2/13 | drm/amdgpu/gfx11: check the CP FW version CP GFX shadow supportdrivers/ | +9 | 2 replies | |
| 3/13 | drm/amdgpu/UAPI: add new CS chunk for GFX shadow buffersinclude/ | +10 | 13 replies | |
| 4/13 | drm/amdgpu: add gfx shadow CS IOCTL supportdrivers/ drivers/ drivers/ +1 more | +63 | 1 reply | |
| 5/13 | drm/amdgpu: add gfx11 emit shadow callbackdrivers/ drivers/ | +29 | 0 replies | |
| 6/13 | drm/amdgpu: don't require a job for cond_exec and shadowdrivers/ | +2 | 0 replies | |
| 7/13 | drm/amdgpu: add UAPI to query GFX shadow sizesinclude/ | +8 | 0 replies | |
| 8/13 | drm/amdgpu: add gfx shadow callbackdrivers/ | +10 | 0 replies | |
| 9/13 | drm/amdgpu: add get_gfx_shadow_info callback for gfx11drivers/ | +22 | 1 reply | |
| 10/13 | drm/amdgpu: add support for new GFX shadow size querydrivers/ | +13 | 1 reply | |
| 11/13 | drm/amdgpu: bump driver version number for CP GFX shadowdrivers/ | +2 | 1 reply | |
| 12/13 | drm/amdgpu: track MQD size for gfx and computedrivers/ drivers/ | +3 | 0 replies | |
| 13/13 | drm/amdgpu: add debugfs interface for reading MQDsdrivers/ | +59 | 0 replies |
Reviews trailers per patch
9 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Christian König | Marek Olšák |
|---|---|---|
| 1/13 | ||
| 2/13 | A-b | |
| 3/13 | R-b | |
| 4/13 | R-b | |
| 5/13 | R-b | |
| 6/13 | R-b | |
| 7/13 | R-b | |
| 8/13 | R-b | |
| 9/13 | ||
| 10/13 | ||
| 11/13 | ||
| 12/13 | R-b | |
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V4 00/13] Enable FW assisted shadowing for GFX11
This patch set allows for FW assisted shadowing on supported platforms. A new enough CP FW is required. This feature is required for mid command buffer preemption and proper SR-IOV support. This also simplifies the UMDs by allowing persistent hardware state when the command submission executes. UMDs that use this will have their state retained across command submissions.
The mesa MR to implement the user mode side of this is:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21986
v2: Integrate feedback from V1. UMDs now need to specify init_shadow
on first use.
v3: switch back to legacy mode before fence signalling, fix debugfs
subsequent MQD access.
v4: Minor code cleanups
Alex Deucher (11):
drm/amdgpu/gfx11: add FW version check for new CP GFX shadow feature drm/amdgpu/gfx11: check the CP FW version CP GFX shadow support drm/amdgpu/UAPI: add new CS chunk for GFX shadow buffers drm/amdgpu: don't require a job for cond_exec and shadow drm/amdgpu: add UAPI to query GFX shadow sizes drm/amdgpu: add gfx shadow callback
drm/amdgpu: add get_gfx_shadow_info callback for gfx11 drm/amdgpu: add support for new GFX shadow size query drm/amdgpu: bump driver version number for CP GFX shadow drm/amdgpu: track MQD size for gfx and compute drm/amdgpu: add debugfs interface for reading MQDs
Christian König (2):
drm/amdgpu: add gfx shadow CS IOCTL support
drm/amdgpu: add gfx11 emit shadow callback
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 26 +++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 12 +++++ drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 31 ++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 6 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 13 +++++ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 60 ++++++++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 4 ++ drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 69 ++++++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/nvd.h | 5 +- include/uapi/drm/amdgpu_drm.h | 18 +++++++ 12 files changed, 244 insertions(+), 5 deletions(-)
Signature · 1 line
2.39.2