[PATCH libdrm] intel: drm_intel_bo_gem_create_from_* on platforms w/o HW tiling

Emil Velikov emil.l.velikov at gmail.com
Tue Jan 21 18:52:03 UTC 2020


On Mon, 20 Jan 2020 at 16:43, Imre Deak <imre.deak at intel.com> wrote:
>
> 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.
>
> Signed-off-by: Imre Deak <imre.deak at intel.com>

Seems like it this can happen only in vgpu cases.... which explains
why it was not raised earlier. Regardless:
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Aside: might want to do similar patch for mesa. Be that for
classic/i965, gallium/iris and/or the Vulkan ANV driver.

-Emil


More information about the dri-devel mailing list