Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452001 > unrolled thread

Re: [PATCH v2] drm/radeon: Remove deprecated create_singlethread_workqueue

Started byAlex Deucher <alexdeucher@gmail.com>
First post2016-07-28 18:20 +0200
Last post2016-07-28 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] drm/radeon: Remove deprecated create_singlethread_workqueue Alex Deucher <alexdeucher@gmail.com> - 2016-07-28 18:20 +0200

#1452001 — Re: [PATCH v2] drm/radeon: Remove deprecated create_singlethread_workqueue

FromAlex Deucher <alexdeucher@gmail.com>
Date2016-07-28 18:20 +0200
SubjectRe: [PATCH v2] drm/radeon: Remove deprecated create_singlethread_workqueue
Message-ID<rZWcq-ek-3@gated-at.bofh.it>
On Mon, Jul 18, 2016 at 8:48 PM, Tejun Heo <tj@kernel.org> wrote:
> On Sat, Jul 16, 2016 at 05:00:44PM +0530, Bhaktipriya Shridhar wrote:
>>
>> alloc_workqueue replaces deprecated create_singlethread_workqueue().
>>
>> Each hardware CRTC has a single flip work queue.
>> When a radeon_flip_work_func item is queued, it needs to be executed
>> ASAP because even a slight delay may cause the flip to be delayed by
>> one refresh cycle.
>>
>> Hence, a dedicated workqueue with WQ_HIGHPRI set, has been used here
>> since a delay can cause the outcome to miss the refresh cycle.
>>
>> Since there are only a fixed number of work items, explicit concurrency
>> limit is unnecessary here.
>>
>> Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
>
> Acked-by: Tejun Heo <tj@kernel.org>
>

Applied.  thanks!

Alex

> Thanks.
>
> --
> tejun
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web