summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_gem.c
Commit message (Collapse)AuthorAgeFilesLines
* anv/device: Return the right error for failed mapsJason Ekstrand2016-12-151-4/+2
| | | | | | | Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Cc: "12.0 13.0" <mesa-dev@lists.freedesktop.org> (cherry picked from commit 920f34a2d9f14f023aee5203baa110c971519ee8)
* anv: remove define _DEFAULT_SOURCEEmil Velikov2016-05-231-2/+0
| | | | | | | The build systems already add this as applicable. There's no need to have this in the source file. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* anv/gem: Use C99-style struct initializers for DRM structsJason Ekstrand2016-03-111-99/+76
| | | | | | | | | | | This is more consistent with the way the rest of the driver works and ensures that all structs we pass into the kernel are zero'd out except for the fields we actually want to fill. We were previously doing then when building with valgrind to keep valgrind from complaining. However, we need to start doing this unconditionally as recent kernels have been getting touchier about this. In particular, as of kernel commit b31e51360e88 from Chris Wilson, context creation and destroy fail if the padding bits are not set to 0.
* Move the intel vulkan driver to src/intel/vulkanJason Ekstrand2016-02-181-0/+358