Skip to content

etnaviv: Do expose 2D texture support on pre-halti GPUs

Marek Vasut requested to merge marex/mesa:etnaviv-gc600-2d into main

Commit d08bd9a8 ("etnaviv: don't expose array and 3D texture support on pre-halti GPUs") started returning 0 from PIPE_CAP_MAX_TEXTURE_2D_SIZE as well due to switch case fallthrough. Reinstate the behavior of PIPE_CAP_MAX_TEXTURE_2D_SIZE, while at the same time, retain the new behavior introduced by commit d08bd9a8 , Otherwise not even kmscube displays the spinning cube, weston does not display desktop and so on.

Triggered on "Vivante GC600 rev 4653" , i.MX8M Mini .

Fixes: d08bd9a8 ("etnaviv: don't expose array and 3D texture support on pre-halti GPUs") Closes: #7898 (closed)

Edited by Marek Vasut

Merge request reports