lima: Fix lima_screen_query_dmabuf_modifiers()
authorRoman Stratiienko <r.stratiienko@gmail.com>
Sun, 26 Jul 2020 03:37:57 +0000 (06:37 +0300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Aug 2020 13:58:33 +0000 (13:58 +0000)
commit9a9b35a3bb40d736f3a89d27da10f8a7354bc1ed
treec453bffb377ff68f261ac9fded74b475550e8e54
parentee2c58dde46a7c673cd19cdd433af5c13b5e2ae1
lima: Fix lima_screen_query_dmabuf_modifiers()

Incorrect implementation has been found during code surfing.
v3d implementation used for reference.

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Icenowy Zheng <icenowy@aosc.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6076>
src/gallium/drivers/lima/lima_screen.c