Skip to content

allow DRM_MASTER to change client's priorities v3

Andres Rodriguez amd-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/amdgpu: add parameter to allocate high priority contexts v11drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c drivers/gpu/drm/amd/scheduler/gpu_scheduler.h include/uapi/drm/amdgpu_drm.h+70 -60 replies
2/8drm/amdgpu: add framework for HW specific priority settings v9drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c drivers/gpu/drm/amd/amdgpu/amdgpu_job.c drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c +2 more+103 -10 replies
3/8drm/amdgpu: implement ring set_priority for gfx_v8 compute v9drivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c+105 -00 replies
4/8drm/amdgpu: make amdgpu_to_sched_priority detect invalid parametersdrivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c drivers/gpu/drm/amd/scheduler/gpu_scheduler.h+7 -40 replies
5/8drm/amd/sched: allow clients to edit an entity's rq v2drivers/gpu/drm/amd/scheduler/gpu_scheduler.c drivers/gpu/drm/amd/scheduler/gpu_scheduler.h+25 -20 replies
6/8drm/amdgpu: introduce AMDGPU_CTX_PRIORITY_UNSETdrivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c drivers/gpu/drm/amd/scheduler/gpu_scheduler.h include/uapi/drm/amdgpu_drm.h+5 -10 replies
7/8drm/amdgpu: add plumbing for ctx priority changes v2drivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c+34 -10 replies
8/8drm/amdgpu: add interface for editing a foreign process's priority v3drivers/gpu/drm/amd/amdgpu/Makefile drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +3 more+164 -210 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchEmil VelikovChristian König
1/8R-b R-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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