diff options
author | Christian König <christian.koenig@amd.com> | 2016-02-11 16:31:37 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-16 22:25:38 (GMT) |
commit | 87d58c11ec17234c4636a588466260a95fec59cb (patch) | |
tree | 8b965b90dd6135aca7dd3558e21fcdbbe73cae25 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
parent | c3874b758ad52708ffdbab3e7c58e70167ce5024 (diff) | |
download | linux-87d58c11ec17234c4636a588466260a95fec59cb.tar.xz |
drm/amdgpu: remove page flip work queue v3
Just use the system queue now that we don't block any more.
v2: handle DAL as well.
v3: agd: split DAL changes out
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Mykola Lysenko <mykola.lysenko@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index edf9159..2cb53c2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -39,11 +39,9 @@ static void amdgpu_flip_callback(struct fence *f, struct fence_cb *cb) { struct amdgpu_flip_work *work = container_of(cb, struct amdgpu_flip_work, cb); - struct amdgpu_device *adev = work->adev; - struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[work->crtc_id]; fence_put(f); - queue_work(amdgpu_crtc->pflip_queue, &work->flip_work); + schedule_work(&work->flip_work); } static bool amdgpu_flip_handle_fence(struct amdgpu_flip_work *work, |