commit | 9c1f6ed80441bcd1cb4fec7a12201240e9249ea9 | [log] [tgz] |
---|---|---|
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Sat Oct 24 16:04:29 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Sat Oct 24 16:15:33 2020 +0000 |
tree | 1bce3c519b1e8928233606c0cd4380a2549639ae | |
parent | bef6007c3aa40eee069250bd796e72f6d8a82341 [diff] |
frontends/va: Initialize drm modifier on import. On import we don't get a modifier so the modifier in the Gallium handle should be set to DRM_FORMAT_MOD_INVALID instead of LINEAR. Otherwise things like screen capture break if the driver actually starts supporting modifiers. Acked-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7302>