Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot (V3)

2018-04-16 Thread Zhang, Jerry (Junwei)
On 04/16/2018 05:19 PM, Christian König wrote: Am 16.04.2018 um 11:04 schrieb Zhang, Jerry (Junwei): On 04/16/2018 03:17 PM, Shirish S wrote: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and ensures that its

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot (V3)

2018-04-16 Thread Christian König
Am 16.04.2018 um 11:04 schrieb Zhang, Jerry (Junwei): On 04/16/2018 03:17 PM, Shirish S wrote: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and ensures that its executed in amdgpu_info_ioctl() if it wasn't

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot (V3)

2018-04-16 Thread Zhang, Jerry (Junwei)
On 04/16/2018 03:17 PM, Shirish S wrote: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and ensures that its executed in amdgpu_info_ioctl() if it wasn't scheduled. V2: Use queue_delayed_work() &

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot (V3)

2018-04-16 Thread Christian König
Am 16.04.2018 um 09:17 schrieb Shirish S: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and ensures that its executed in amdgpu_info_ioctl() if it wasn't scheduled. V2: Use queue_delayed_work() &

[PATCH] drm/amdgpu: defer test IBs on the rings at boot (V3)

2018-04-16 Thread Shirish S
amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and ensures that its executed in amdgpu_info_ioctl() if it wasn't scheduled. V2: Use queue_delayed_work() & flush_delayed_work(). V3: removed usage of separate wq,

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot (V2)

2018-04-16 Thread S, Shirish
On 4/13/2018 10:20 PM, Alex Deucher wrote: On Fri, Apr 13, 2018 at 9:25 AM, Christian König wrote: Am 13.04.2018 um 10:31 schrieb Shirish S: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot (V2)

2018-04-13 Thread Alex Deucher
On Fri, Apr 13, 2018 at 9:25 AM, Christian König wrote: > Am 13.04.2018 um 10:31 schrieb Shirish S: >> >> amdgpu_ib_ring_tests() runs test IB's on rings at boot >> contributes to ~500 ms of amdgpu driver's boot time. >> >> This patch defers it and ensures that its

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot (V2)

2018-04-13 Thread Christian König
Am 13.04.2018 um 10:31 schrieb Shirish S: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and ensures that its executed in amdgpu_info_ioctl() if it wasn't scheduled. V2: Use queue_delayed_work() &

[PATCH] drm/amdgpu: defer test IBs on the rings at boot (V2)

2018-04-13 Thread Shirish S
amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and ensures that its executed in amdgpu_info_ioctl() if it wasn't scheduled. V2: Use queue_delayed_work() & flush_delayed_work(). Signed-off-by: Shirish S

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot

2018-04-13 Thread S, Shirish
On 4/13/2018 12:38 PM, Christian König wrote: Am 13.04.2018 um 09:01 schrieb S, Shirish: On 4/13/2018 11:53 AM, Christian König wrote: Am 13.04.2018 um 06:07 schrieb Shirish S: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time.

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot

2018-04-13 Thread Christian König
Am 13.04.2018 um 09:01 schrieb S, Shirish: On 4/13/2018 11:53 AM, Christian König wrote: Am 13.04.2018 um 06:07 schrieb Shirish S: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and adds a check to report in

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot

2018-04-13 Thread S, Shirish
On 4/13/2018 11:53 AM, Christian König wrote: Am 13.04.2018 um 06:07 schrieb Shirish S: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and adds a check to report in amdgpu_info_ioctl() if it was scheduled or

Re: [PATCH] drm/amdgpu: defer test IBs on the rings at boot

2018-04-13 Thread Christian König
Am 13.04.2018 um 06:07 schrieb Shirish S: amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and adds a check to report in amdgpu_info_ioctl() if it was scheduled or not. That is rather suboptimal, but see below.

[PATCH] drm/amdgpu: defer test IBs on the rings at boot

2018-04-12 Thread Shirish S
amdgpu_ib_ring_tests() runs test IB's on rings at boot contributes to ~500 ms of amdgpu driver's boot time. This patch defers it and adds a check to report in amdgpu_info_ioctl() if it was scheduled or not. Signed-off-by: Shirish S --- drivers/gpu/drm/amd/amdgpu/amdgpu.h