commit | 1041dee2178ffd59e2c693426475c21594f9db86 | [log] [tgz] |
---|---|---|
author | Bernard <bernard@vivo.com> | Tue Jul 21 09:33:03 2020 +0800 |
committer | Rob Clark <robdclark@chromium.org> | Fri Jul 31 06:46:17 2020 -0700 |
tree | 51baabd6f1a821862e6063eef7fabbecb808395b | |
parent | 974b7115a73d8d3ff77cfd6f69408d20c1bb7d06 [diff] |
drm/msm: use kthread_create_worker instead of kthread_run Use kthread_create_worker to simplify the code and optimise the manager struct: msm_drm_thread. With this change, we could remove struct element (struct task_struct *thread & struct kthread_worker worker), instead, use one point (struct kthread_worker *worker). Signed-off-by: Bernard Zhao <bernard@vivo.com> Signed-off-by: Rob Clark <robdclark@chromium.org>