[PATCH AUTOSEL 4.18 29/33] drm: Get ref on CRTC commit object when waiting for flip_done

2018-10-30 Thread Sasha Levin
From: Leo Li [ Upstream commit 4364bcb2cd21d042bde4776448417ddffbc54045 ] This fixes a general protection fault, caused by accessing the contents of a flip_done completion object that has already been freed. It occurs due to the preemption of a non-blocking commit worker thread W by another

[PATCH AUTOSEL 4.18 29/33] drm: Get ref on CRTC commit object when waiting for flip_done

2018-10-30 Thread Sasha Levin
From: Leo Li [ Upstream commit 4364bcb2cd21d042bde4776448417ddffbc54045 ] This fixes a general protection fault, caused by accessing the contents of a flip_done completion object that has already been freed. It occurs due to the preemption of a non-blocking commit worker thread W by another