Re: [PATCH v6 3/3] drm/i915/selftests: add local workqueue for SW fence selftest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023/06/08 22:35, Jani Nikula wrote:
> From: Luca Coelho <luciano.coelho@xxxxxxxxx>
> 
> Instead of using a global workqueue for the SW fence selftest,
> allocate a separate one temporarily only while running the test.
> 
> Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
> Cc: Jani Nikula <jani.nikula@xxxxxxxxx>
> Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx>
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>

This patch will conflict with 
https://patchwork.freedesktop.org/patch/538384/?series=114608&rev=6 .

What should we do?

> @@ -540,7 +547,7 @@ static int test_ipc(void *arg)
>  
>  	ipc.value = 0;
>  	INIT_WORK_ONSTACK(&ipc.work, task_ipc);
> -	schedule_work(&ipc.work);
> +	queue_work(wq, &ipc.work);
>  
>  	wait_for_completion(&ipc.started);
>  




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux