drm: etnaviv: flush all GPU caches when stopping GPU

Flush the GPU caches to ensure that any dirty data is pushed out before
stopping the front end.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Этот коммит содержится в:
Russell King
2016-01-21 15:20:25 +00:00
коммит произвёл Lucas Stach
родитель f60863116b
Коммит 8581d81497
2 изменённых файлов: 44 добавлений и 4 удалений

9
drivers/gpu/drm/etnaviv/state_3d.xml.h Обычный файл
Просмотреть файл

@@ -0,0 +1,9 @@
#ifndef STATE_3D_XML
#define STATE_3D_XML
/* This is a cut-down version of the state_3d.xml.h file */
#define VIVS_TS_FLUSH_CACHE 0x00001650
#define VIVS_TS_FLUSH_CACHE_FLUSH 0x00000001
#endif /* STATE_3D_XML */