dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Move scheduler out of AMDGPU
@ 2017-12-01 15:28 Lucas Stach
  2017-12-01 15:29 ` [PATCH 1/2] drm: move amd_gpu_scheduler into common location Lucas Stach
       [not found] ` <20171201152901.3626-1-l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 2 replies; 10+ messages in thread
From: Lucas Stach @ 2017-12-01 15:28 UTC (permalink / raw)
  To: Christian König, Alex Deucher
  Cc: David Airlie, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	patchwork-lst-bIcnvbaLZ9MEGnE8C9+IrQ

Hi all,

so this is the first step to make the marvelous AMDGPU scheduler useable
for other drivers. I have a (mostly) working prototype of Etnaviv using
the scheduler, but those patches need to keep baking for a while.

I'm sending this out as I want to avoid rebasing this change too much
and don't want to take people by surprise when the Etnaviv implementation
surfaces. Also this might need some coordination between AMDGPU and
Etnaviv, which might be good to get going now.

Please speak up now if you have any objections or comments.

Regards,
Lucas

Lucas Stach (2):
  drm: move amd_gpu_scheduler into common location
  drm/sched: move fence slab handling to module init/exit

 drivers/gpu/drm/Kconfig                            |   5 +
 drivers/gpu/drm/Makefile                           |   1 +
 drivers/gpu/drm/amd/amdgpu/Makefile                |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |  16 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c            |  38 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |   8 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c          |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c            |  22 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c           |  14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h           |  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c          |  20 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h          |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c           |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h            |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c            |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h            |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c            |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c            |  14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h            |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h             |   4 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              |   4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c              |   8 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c              |   8 +-
 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h      | 185 --------------
 drivers/gpu/drm/scheduler/Makefile                 |   4 +
 .../gpu/drm/{amd => }/scheduler/gpu_scheduler.c    | 281 +++++++++++----------
 drivers/gpu/drm/{amd => }/scheduler/sched_fence.c  | 122 +++++----
 include/drm/gpu_scheduler.h                        | 171 +++++++++++++
 .../drm/gpu_scheduler_trace.h                      |  14 +-
 34 files changed, 525 insertions(+), 511 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
 create mode 100644 drivers/gpu/drm/scheduler/Makefile
 rename drivers/gpu/drm/{amd => }/scheduler/gpu_scheduler.c (64%)
 rename drivers/gpu/drm/{amd => }/scheduler/sched_fence.c (58%)
 create mode 100644 include/drm/gpu_scheduler.h
 rename drivers/gpu/drm/amd/scheduler/gpu_sched_trace.h => include/drm/gpu_scheduler_trace.h (83%)

-- 
2.11.0

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-12-05 22:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-01 15:28 [PATCH 0/2] Move scheduler out of AMDGPU Lucas Stach
2017-12-01 15:29 ` [PATCH 1/2] drm: move amd_gpu_scheduler into common location Lucas Stach
     [not found] ` <20171201152901.3626-1-l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-12-01 15:29   ` [PATCH 2/2] drm/sched: move fence slab handling to module init/exit Lucas Stach
2017-12-01 15:55   ` [PATCH 0/2] Move scheduler out of AMDGPU Christian König
2017-12-01 16:04     ` Lucas Stach
     [not found]     ` <7a884709-8717-cf45-152d-60bf8cb0f7e2-5C7GfCeVMHo@public.gmane.org>
2017-12-02 12:14       ` Liu, Monk
     [not found]         ` <BLUPR12MB04491E836AFBE4759784405E843E0-7LeqcoF/hwpTIQvHjXdJlwdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-12-04  9:42           ` Lucas Stach
2017-12-04 21:47       ` Alex Deucher
     [not found]         ` <CADnq5_OpH9eZ0iy5jRhY+_SNuUDi2yCL+XWHxa53t2UQVOcqGw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-05  9:18           ` Lucas Stach
2017-12-05 22:31             ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox