Re: [RFC PATCH 1/1] drm/amdgpu: rework sched_list generation

2020-03-25 Thread Huang Rui
On Tue, Mar 24, 2020 at 07:40:10PM +0800, Nirmoy Das wrote: > Generate HW IP's sched_list in amdgpu_ring_init() instead of > amdgpu_ctx.c. This makes amdgpu_ctx_init_compute_sched(), > ring.has_high_prio and amdgpu_ctx_init_sched() unnecessary. > This patch also stores sched_list for all HW IPs in

Re: [RFC PATCH 1/1] drm/amdgpu: rework sched_list generation

2020-03-25 Thread Nirmoy
On 3/24/20 7:41 PM, Christian König wrote: Am 24.03.20 um 12:40 schrieb Nirmoy Das: Generate HW IP's sched_list in amdgpu_ring_init() instead of amdgpu_ctx.c. This makes amdgpu_ctx_init_compute_sched(), ring.has_high_prio and amdgpu_ctx_init_sched() unnecessary. This patch also stores

Re: [RFC PATCH 1/1] drm/amdgpu: rework sched_list generation

2020-03-24 Thread Christian König
Am 24.03.20 um 12:40 schrieb Nirmoy Das: Generate HW IP's sched_list in amdgpu_ring_init() instead of amdgpu_ctx.c. This makes amdgpu_ctx_init_compute_sched(), ring.has_high_prio and amdgpu_ctx_init_sched() unnecessary. This patch also stores sched_list for all HW IPs in one big array in struct

[RFC PATCH 1/1] drm/amdgpu: rework sched_list generation

2020-03-24 Thread Nirmoy Das
Generate HW IP's sched_list in amdgpu_ring_init() instead of amdgpu_ctx.c. This makes amdgpu_ctx_init_compute_sched(), ring.has_high_prio and amdgpu_ctx_init_sched() unnecessary. This patch also stores sched_list for all HW IPs in one big array in struct amdgpu_device which makes