intel: drm_intel_bo_gem_create_from_* on platforms w/o HW tiling
authorImre Deak <imre.deak@intel.com>
Wed, 22 Jan 2020 09:31:22 +0000 (11:31 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 28 Jan 2020 13:32:39 +0000 (15:32 +0200)
commit933729720ba091c7d808bf2d0f435c85609f718a
tree248fa59b88aa8bf3e05e93d2267f198811f97a77
parent074947ee4be95f9b88558ab052e46cb0653a8a8f
intel: drm_intel_bo_gem_create_from_* on platforms w/o HW tiling

Platforms without a HW detiler doesn't support the get_tiling IOCTL.
Fix the drm_intel_bo_gem_create_from_* functions assuming the default
no-tiling, no-swizzling setting for the GEM buffer in this case.

v2:
- Add the missing gem handle IOCTL parameter. (Eric)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
intel/intel_bufmgr_gem.c