msdk: control linear vs tiling storage like in gstreamer-vaapi
Does msdk support setting linear and tiling storages for the underlying gpu surfaces ?
In libva there is VA_SURFACE_EXTBUF_DESC_ENABLE_TILING
, see https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/blob/master/gst-libs/gst/vaapi/gstvaapisurface.c#L159
According to https://software.intel.com/en-us/articles/native-one-copy-texture-uploads-for-chrome-os-on-intel-architecture-enabled-by-default . Careful the doc is dated 2016 so it is not accurate to current state. But the principle remains and it seems that converting linear storage to tiling storage leads to better results for the rendering part.
Drivers use linear storage with DMABuf so that it is compatible between 2 different gpus but when using the same GPU it might be useful to keep DMABuf+tiling, see https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/blob/master/gst/vaapi/gstvaapipluginbase.c#L487