etnaviv: fix SAMP_ANISOTROPY register value
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 3 May 2020 06:54:47 +0000 (08:54 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 4 May 2020 14:39:24 +0000 (14:39 +0000)
commitb38e51bd969e212cce90998bc283049e74f9b33c
tree80c7b5d51cd7f6a6a6c783ad0e27a289da8afc98
parentcb1e0db23e3fa17562bb276b125aeab0b85582cb
etnaviv: fix SAMP_ANISOTROPY register value

This caused some serious problems like shredded output, ~1fps and GPU hungs.

Fixes: 7aaa0e59086 ("etnaviv: add anisotropic filter support")
Reported-by: Lukas F. Hartmann <lukas@mntmn.com>
Tested-by: Lukas F. Hartmann <lukas@mntmn.com>
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4872>
src/gallium/drivers/etnaviv/etnaviv_texture_desc.c