freedreno: Rework supported-modifiers handling
What does this MR do and why?
freedreno: Rework supported-modifiers handling
We should be taking into account the format while deciding if we support a given modifier or not. So a simple array of supported modifiers does not do the trick.
While we are at it, also handle QCOM_TILED3. (We really only use QCOM_TILED2 in GMEM so it isn't user visible.)
Closes: #9938 (closed) Signed-off-by: Rob Clark robdclark@chromium.org