]> git.baikalelectronics.ru Git - kernel.git/commit
drm: etnaviv: use previous GPU pipe state when pipe switching
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 21 Jan 2016 15:20:30 +0000 (15:20 +0000)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 7 Mar 2016 14:36:57 +0000 (15:36 +0100)
commit69ff21d85b4683f744e6cb4cdb400fa88f995089
tree7730cd5a471a58225f16652c35d9ccea50d6327c
parent1f30535a60a54c69fa069d6dcdf4c94b35ecd840
drm: etnaviv: use previous GPU pipe state when pipe switching

Use the previous GPU pipe state when deciding which GPU caches should
be flushed prior to switching the current pipe.  This avoids infering
what the previously selected pipe was, and potentially flushing the
wrong caches.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_buffer.c