From 87d58c11ec17234c4636a588466260a95fec59cb Mon Sep 17 00:00:00 2001 From: Christian König Date: Thu, 11 Feb 2016 17:31:37 +0100 Subject: drm/amdgpu: remove page flip work queue v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Mykola Lysenko Acked-by: Alex Deucher (v1) --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c') diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index edf91593ac87..2cb53c24dec0 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, -- cgit v1.2.3