summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/etnaviv
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2017-10-19 10:40:54 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-12-01 17:37:30 +0100
commitb6047ebaf7b3fb63c3ad49ec9c381a0e0b9fb82a (patch)
treea61a68783ab4bcd4c44a9ce71fcad4b9a8b16601 /drivers/gpu/drm/etnaviv
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadblackbird-obmc-linux-b6047ebaf7b3fb63c3ad49ec9c381a0e0b9fb82a.tar.gz
blackbird-obmc-linux-b6047ebaf7b3fb63c3ad49ec9c381a0e0b9fb82a.zip
drm/etnaviv: add sensitive state for occlusion query address
Add GL.OCCLUSION_QUERY_ADDR (0x03824): address where GPU stores the occlusion query result. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
index 6e3bbcf24160..68e6d3772ad8 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
@@ -78,6 +78,7 @@ static const struct {
ST(0x17c0, 8),
ST(0x17e0, 8),
ST(0x2400, 14 * 16),
+ ST(0x3824, 1),
ST(0x10800, 32 * 16),
ST(0x14600, 16),
ST(0x14800, 8 * 8),
OpenPOWER on IntegriCloud