allow DRM_MASTER to change client's priorities v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | drm/amdgpu: add parameter to allocate high priority contexts v11drivers/ drivers/ include/ | +70 | 0 replies | |
| 2/8 | drm/amdgpu: add framework for HW specific priority settings v9drivers/ drivers/ drivers/ +2 more | +103 | 0 replies | |
| 3/8 | drm/amdgpu: implement ring set_priority for gfx_v8 compute v9drivers/ drivers/ drivers/ | +105 | 0 replies | |
| 4/8 | drm/amdgpu: make amdgpu_to_sched_priority detect invalid parametersdrivers/ drivers/ | +7 | 0 replies | |
| 5/8 | drm/amd/sched: allow clients to edit an entity's rq v2drivers/ drivers/ | +25 | 0 replies | |
| 6/8 | drm/amdgpu: introduce AMDGPU_CTX_PRIORITY_UNSETdrivers/ drivers/ include/ | +5 | 0 replies | |
| 7/8 | drm/amdgpu: add plumbing for ctx priority changes v2drivers/ drivers/ | +34 | 0 replies | |
| 8/8 | drm/amdgpu: add interface for editing a foreign process's priority v3drivers/ drivers/ drivers/ +3 more | +164 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Emil Velikov | Christian König |
|---|---|---|
| 1/8 | R-b | R-b |
| 2/8 | A-b | |
| 3/8 | A-b | |
| 4/8 | A-b | |
| 5/8 | A-b | |
| 6/8 | A-b | |
| 7/8 | A-b | |
| 8/8 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] allow DRM_MASTER to change client's priorities v3
Just a rebase of v2 since it went a little stale.
Series available in the wip-process-priorities-v3 branch at:git://people.freedesktop.org/~lostgoat/linux
Gpuvis trace with normal priority running steamvr, hellovr_vulkan and ssao demo:
https://drive.google.com/open?id=0B2ygSoZuj3IMdFJ4bTZPcmh5aHc
Gpuvis trace with compute at high priority:
https://drive.google.com/open?id=0B2ygSoZuj3IMYzBFUUN0dXV4bGs
Full trace data vailable here:
https://drive.google.com/open?id=0B2ygSoZuj3IMWGUzV25yNGtyRFU
For validation, use the wip-process-priorities-v3 branch of:
mesa: [email protected]:lostgoat/mesa.git
libdrm: [email protected]:lostgoat/libdrm.git
vk-demos: [email protected]:lostgoat/Vulkan.git
Run the following two vk-demos simultaneously:
./ssao
./computeparticles -high-priority
Andres Rodriguez (8):
drm/amdgpu: add parameter to allocate high priority contexts v11 drm/amdgpu: add framework for HW specific priority settings v9 drm/amdgpu: implement ring set_priority for gfx_v8 compute v9 drm/amdgpu: make amdgpu_to_sched_priority detect invalid parameters drm/amd/sched: allow clients to edit an entity's rq v2 drm/amdgpu: introduce AMDGPU_CTX_PRIORITY_UNSET drm/amdgpu: add plumbing for ctx priority changes v2 drm/amdgpu: add interface for editing a foreign process's priority v3
drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 75 +++++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 76 +++++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 15 ++++ drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 109 ++++++++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h | 34 ++++++++ drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 99 +++++++++++++++++++++++ drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 24 +++++- drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 19 ++++- include/uapi/drm/amdgpu_drm.h | 28 ++++++- 15 files changed, 489 insertions(+), 12 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h
Signature · 6 lines
2.9.3 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx