anv: Fix stride mismatch in mesa and minigbm
It is observed that in display resolutions where width is not equal to stride, vulkan rendering is being distorted. This is happening due to stride calculation mismatch between minigbm and mesa.
Following is how the distortion looks
This fix makes sure that the stride calculated in minigbm is passed to anv and isl. Thus makes sure that there is no distortion as such.
The issue was found while debugging the following android cts tests and thus fixes them as well. android.graphics.cts.VulkanPreTransformTest#testVulkanPreTransformNotSetToMatchCurrentTransform android.graphics.cts.VulkanPreTransformTest#testVulkanPreTransformSetToMatchCurrentTransform
Signed-off-by: Sai Teja Pottumuttu sai.teja.pottumuttu@intel.com