Re: [Mesa-dev] [PATCH v2 5/5] i965/gen9: Allocate YF/YS tiled buffer objects

2015-07-07 Thread Anuj Phogat
On Tue, Jul 7, 2015 at 12:11 PM, Anuj Phogat wrote: > On Tue, Jul 7, 2015 at 2:35 AM, Kenneth Graunke wrote: >> On Tuesday, June 23, 2015 01:23:05 PM Anuj Phogat wrote: >>> In case of I915_TILING_{X,Y} we need to pass tiling format to libdrm >>> using drm_intel_bo_alloc_tiled(). But, In case of Y

Re: [Mesa-dev] [PATCH v2 5/5] i965/gen9: Allocate YF/YS tiled buffer objects

2015-07-07 Thread Anuj Phogat
On Tue, Jul 7, 2015 at 2:35 AM, Kenneth Graunke wrote: > On Tuesday, June 23, 2015 01:23:05 PM Anuj Phogat wrote: >> In case of I915_TILING_{X,Y} we need to pass tiling format to libdrm >> using drm_intel_bo_alloc_tiled(). But, In case of YF/YS tiled buffers >> libdrm need not know about the tilin

Re: [Mesa-dev] [PATCH v2 5/5] i965/gen9: Allocate YF/YS tiled buffer objects

2015-07-07 Thread Kenneth Graunke
On Tuesday, June 23, 2015 01:23:05 PM Anuj Phogat wrote: > In case of I915_TILING_{X,Y} we need to pass tiling format to libdrm > using drm_intel_bo_alloc_tiled(). But, In case of YF/YS tiled buffers > libdrm need not know about the tiling format because these buffers > don't have hardware support

Re: [Mesa-dev] [PATCH v2 5/5] i965/gen9: Allocate YF/YS tiled buffer objects

2015-06-23 Thread Ben Widawsky
On Tue, Jun 23, 2015 at 01:23:05PM -0700, Anuj Phogat wrote: > In case of I915_TILING_{X,Y} we need to pass tiling format to libdrm > using drm_intel_bo_alloc_tiled(). But, In case of YF/YS tiled buffers > libdrm need not know about the tiling format because these buffers > don't have hardware supp

[Mesa-dev] [PATCH v2 5/5] i965/gen9: Allocate YF/YS tiled buffer objects

2015-06-23 Thread Anuj Phogat
In case of I915_TILING_{X,Y} we need to pass tiling format to libdrm using drm_intel_bo_alloc_tiled(). But, In case of YF/YS tiled buffers libdrm need not know about the tiling format because these buffers don't have hardware support to be tiled or detiled through a fenced region. libdrm still need