Re: [PATCH v5 2/2] drm/amdgpu: rework sched_list generation

2020-04-03 Thread Christian König
Am 03.04.20 um 11:09 schrieb Nirmoy: On 4/3/20 10:55 AM, Christian König wrote: Am 31.03.20 um 15:59 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() unneces

Re: [PATCH v5 2/2] drm/amdgpu: rework sched_list generation

2020-04-03 Thread Nirmoy
On 4/3/20 10:55 AM, Christian König wrote: Am 31.03.20 um 15:59 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_lis

Re: [PATCH v5 2/2] drm/amdgpu: rework sched_list generation

2020-04-03 Thread Christian König
Am 31.03.20 um 15:59 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 a

Re: [PATCH v5 2/2] drm/amdgpu: rework sched_list generation

2020-04-03 Thread Nirmoy
ping! On 3/31/20 3:59 PM, 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 one big array in stru

[PATCH v5 2/2] drm/amdgpu: rework sched_list generation

2020-03-31 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 amdgpu_ctx_init_en