[PATCH] drm/tegra: Select root window for event dispatch

2014-12-17 Thread Thierry Reding
On Wed, Nov 19, 2014 at 01:04:49PM -0500, Sean Paul wrote: > In finish pageflip, the driver was not selecting the root > window when dispatching events. This exposed a race where > a plane update would change the window selection and cause > tegra_dc_finish_page_flip to check the wrong base

[PATCH] drm/tegra: Select root window for event dispatch

2014-11-19 Thread Sean Paul
In finish pageflip, the driver was not selecting the root window when dispatching events. This exposed a race where a plane update would change the window selection and cause tegra_dc_finish_page_flip to check the wrong base address. This patch also protects access to the window selection