mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 register as well as the registers affected by it. Signed-off-by: Sean Paul <[email protected]> Signed-off-by: Thierry Reding <[email protected]>