]> 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)
commita56a7c7713217fde4fb2764bdd116ce5c6f5b56b
tree7730cd5a471a58225f16652c35d9ccea50d6327c
parent6f68ab4440615ee95b8c8241247b3cbeac9b6946
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