Re: [Mesa-dev] [PATCH 06/22] anv/image: Remove incorrect assertion in anv_BindImage

2017-05-02 Thread Jason Ekstrand
On Thu, Apr 27, 2017 at 11:32 AM, Nanley Chery wrote: > According to the Linux kernel sources, the ioctl in anv_gem_mmap() will > not fail if the size isn't a multiple of 4KB. > I skimmed through the mmap code and I believe you are correct Reviewed-by: Jason Ekstrand > Signed-off-by: Nanley

[Mesa-dev] [PATCH 06/22] anv/image: Remove incorrect assertion in anv_BindImage

2017-04-27 Thread Nanley Chery
According to the Linux kernel sources, the ioctl in anv_gem_mmap() will not fail if the size isn't a multiple of 4KB. Signed-off-by: Nanley Chery --- src/intel/vulkan/anv_image.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vul