diff options
| author | Chris Wilson <[email protected]> | 2017-03-21 11:33:20 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-03-21 14:14:55 +0000 |
| commit | 899f6204c0f8117d33226e586d3a630b3cf9bce0 (patch) | |
| tree | 366786612877abc5581dfec13a8ed18e6f26677e /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
| parent | 272bce17cc3ef4629e28c38324d81ca72a862115 (diff) | |
drm/i915/execlists: Split the atomic test_and_clear_bit for irq handler
Rather than impose the cost of a locked test before queuing a new
request, reduce it to a simple test_bit() with a following clear_bit()
prior to doing the CSB check. This ensure that if an interrupt does
occur whilst reading from the CSB, we still detect it (the interrupt
would trigger a rescheduling of the tasklet anyway).
Signed-off-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions