Re: [Intel-gfx] [PATCH v7 1/3] drm/i915: fix whitelist selftests with readonly registers

2019-06-28 Thread Anuj Phogat
For the series: Tested-by: Anuj Phogat On Fri, Jun 28, 2019 at 5:07 AM Lionel Landwerlin wrote: > > When a register is readonly there is not much we can tell about its > value (apart from its default value?). This can be covered by tests > exercising the value of the register fr

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT

2019-06-20 Thread Anuj Phogat
w, PS_INVOCATION_COUNT); > + whitelist_reg(w, PS_INVOCATION_COUNT_UDW); > break; > > case VIDEO_DECODE_CLASS: > -- > 2.21.0.392.gf8f6787159e > > ___ > Intel-gfx mailing list > In

Re: [Intel-gfx] [PATCH v2] drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1

2019-04-29 Thread Anuj Phogat
On Sun, Apr 28, 2019 at 10:57 PM Tvrtko Ursulin wrote: > > > On 26/04/2019 17:58, Anuj Phogat wrote: > > > > Joonas, > > > > Mesa now applies this WA on ICL and we're not seeing any regressions in CI. > > I tested Mesa with and without this

Re: [Intel-gfx] [PATCH v2] drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1

2019-04-26 Thread Anuj Phogat
teCacheRedirectToCS:icl */ > + whitelist_reg(w, GEN9_SLICE_COMMON_ECO_CHICKEN1); > } > > void intel_engine_init_whitelist(struct intel_engine_cs *engine) > -- > 2.19.1 > > ___ > Intel-gfx mailing list > Intel-gfx@lists.freed

Re: [Intel-gfx] [PATCH v2] drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1

2019-04-26 Thread Anuj Phogat
Joonas, Mesa now applies this WA on ICL and we're not seeing any regressions in CI. I tested Mesa with and without this patch applied to kernel. I don't see any performance impact to Manhattan from GfxBench5. I'm little surprised to see it's not really helping benchmark performance in Mesa. I'll

Re: [Intel-gfx] [PATCH 1/2] drm/i915/icl: Default to Thread Group preemption for compute workloads

2019-03-05 Thread Anuj Phogat
Fixes multiple gpu hangs in piglit and vulkancts. Both patches are: Tested-by: Anuj Phogat On Tue, Mar 5, 2019 at 4:48 AM Michał Winiarski wrote: > > We assumed that the default preemption granularity is fine for ICL. > Unfortunately, it turns out that some drivers don't supp

Re: [Intel-gfx] [PATCH 1/2] drm/i915/icl: Default to Thread Group preemption for compute workloads

2019-02-27 Thread Anuj Phogat
m here, let's also update the "workaround" naming. > > Signed-off-by: Michał Winiarski > Cc: Anuj Phogat > Cc: Joonas Lahtinen > Cc: Matt Roper > Cc: Rafael Antognolli > --- > drivers/gpu/drm/i915/intel_workarounds.c | 9 +++-- > 1

Re: [Intel-gfx] [PATCH 7/7] drm/i915/icl: Add Wa_1406609255

2018-09-28 Thread Anuj Phogat
> > _______ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx Tested and Reviewed-by: Anuj Phogat ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Intel-gfx] [PATCH V2] drm/i915/icl:Add Wa_1606682166

2018-09-28 Thread Anuj Phogat
* piglit tests with Mesa i965 driver. Cc: Radhakrishna Sripada Signed-off-by: Anuj Phogat --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_workarounds.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/d

[Intel-gfx] [PATCH] Add Wa_1606682166

2018-09-28 Thread Anuj Phogat
* piglit tests with Mesa i965 driver. Cc: Radhakrishna Sripada Signed-off-by: Anuj Phogat --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_workarounds.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/d

Re: [Intel-gfx] [PATCH] Revert "drm/i915/icl: WaEnableFloatBlendOptimization"

2018-08-07 Thread Anuj Phogat
On Mon, Aug 6, 2018 at 9:14 AM Chris Wilson wrote: > Quoting Anuj Phogat (2018-08-03 20:24:09) > > > > > > On Mon, Jul 30, 2018 at 5:07 AM Mika Kuoppala < > mika.kuopp...@linux.intel.com> > > wrote: > > > > The register for 0xe420 is unable to

Re: [Intel-gfx] [PATCH] Revert "drm/i915/icl: WaEnableFloatBlendOptimization"

2018-08-03 Thread Anuj Phogat
is an apology and humble request for > Mesa folks to resurrect their state setup for this as they > were on right track from start. > > This reverts commit 0bf059f3532bb39c52d917142206a8554fc2f1c5. > > Fixes: 0bf059f3532b ("drm/i915/icl: WaEnableFloatBlendOptimization")

Re: [Intel-gfx] [PATCH 04/11] drm/i915/icl: WaEnableFloatBlendOptimization

2018-05-29 Thread Anuj Phogat
On Tue, May 29, 2018 at 5:47 AM, Lionel Landwerlin wrote: > FYI, we're setting this in Mesa : > https://cgit.freedesktop.org/mesa/mesa/tree/src/intel/vulkan/genX_state.c#n130 > https://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/i965/brw_state_upload.c#n67 > I don't think we realized

Re: [Intel-gfx] [PATCH 01/20] drm/i915/icl: Add the ICL PCI IDs

2018-02-13 Thread Anuj Phogat
d we don't need this info now anyway. > > v2: Use the new ICL_11 naming (Kelvin Gardiner). > v3: Latest IDs as per BSpec (Oscar). > v4: Make it compile (Paulo). > v5: Remove comments (Lucas). > v6: Multile rebases (Paulo). > v7: Rebase (Mika) > > Reviewed-by: Anuj Phoga

Re: [Intel-gfx] [PATCH libdrm] intel: Add more Coffeelake PCI IDs

2018-01-11 Thread Anuj Phogat
On Thu, Jan 11, 2018 at 10:31 AM, Rodrigo Vivi wrote: > On Thu, Jan 11, 2018 at 06:20:53PM +0000, Anuj Phogat wrote: >> Rodrigo, Can you push it upstream for me? > > I just pushed the libdrm. > > Do I also need to push the mesa one? > No, I've pushed the mesa patch.

Re: [Intel-gfx] [PATCH libdrm] intel: Add more Coffeelake PCI IDs

2018-01-11 Thread Anuj Phogat
Rodrigo, Can you push it upstream for me? Thanks Anuj On Wed, Jan 10, 2018 at 4:50 PM, Rodrigo Vivi wrote: > On Wed, Jan 10, 2018 at 11:51:02PM +0000, Anuj Phogat wrote: >> Cc: Rodrigo Vivi >> Cc: Anusha Srivatsa >> Signed-off-by: Anuj Phogat > > Reviewed-by: Rodri

[Intel-gfx] [PATCH libdrm] intel: Add more Coffeelake PCI IDs

2018-01-10 Thread Anuj Phogat
Cc: Rodrigo Vivi Cc: Anusha Srivatsa Signed-off-by: Anuj Phogat --- intel/intel_chipset.h | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h index d81b1646..3818e71e 100644 --- a/intel

Re: [Intel-gfx] [PATCH i-g-t] i915_pciids: Change a KBL pci id to GT2 from GT1.5

2017-09-21 Thread Anuj Phogat
On Thu, Sep 21, 2017 at 2:58 PM, Rodrigo Vivi wrote: > In sync with 41693fd52373 ("drm/i915/kbl: Change a KBL pci id > to GT2 from GT1.5") > > "See Mesa commit 9c588ff" > > Cc: Anuj Phogat > Signed-off-by: Rodrigo Vivi > --- > lib/i915_pciid

Re: [Intel-gfx] [PATCH libdrm V2 2/2] intel: Change a KBL pci id to GT2 from GT1.5

2017-09-21 Thread Anuj Phogat
On Wed, Sep 20, 2017 at 2:35 PM, Rodrigo Vivi wrote: > On Wed, Sep 20, 2017 at 07:11:03PM +0000, Anuj Phogat wrote: >> See Mesa commit 9c588ff >> >> Cc: Matt Turner >> Cc: Rodrigo Vivi >> Signed-off-by: Anuj Phogat > > Reviewed-by: Rodrigo Vivi > R

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/kbl: Change a KBL pci id to GT2 from GT1.5

2017-09-20 Thread Anuj Phogat
On Wed, Sep 20, 2017 at 2:34 PM, Rodrigo Vivi wrote: > On Wed, Sep 20, 2017 at 08:31:26PM +0000, Anuj Phogat wrote: >> See Mesa commit 9c588ff >> >> Cc: Matt Turner >> Cc: Rodrigo Vivi >> Signed-off-by: Anuj Phogat > > Reviewed-by: Rodrigo Vivi &

[Intel-gfx] [PATCH v2 2/2] drm/i915/kbl: Change a KBL pci id to GT2 from GT1.5

2017-09-20 Thread Anuj Phogat
See Mesa commit 9c588ff Cc: Matt Turner Cc: Rodrigo Vivi Signed-off-by: Anuj Phogat --- include/drm/i915_pciids.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h index 1257e15c1a03..972a25633525 100644 --- a/include/drm

Re: [Intel-gfx] [PATCH libdrm 2/2] intel: Change a KBL pci id to GT2 from GT1.5

2017-09-20 Thread Anuj Phogat
On Wed, Sep 20, 2017 at 12:13 PM, Anuj Phogat wrote: > Any comments on this one. Sent out v2 after dropping > [PATCH 1/2] drm/i915/kbl: Remove unused Kabylake pci ids Correction. Dropped patch for libdrm is: [PATCH libdrm 1/2] intel: Remove unused Kabylake pci ids > > On Mon, Sep 1

Re: [Intel-gfx] [PATCH libdrm 1/2] intel: Remove unused Kabylake pci ids

2017-09-20 Thread Anuj Phogat
Dropping this patch. On Mon, Sep 11, 2017 at 9:22 AM, Anuj Phogat wrote: > These PCI IDs are not used in any Kabylake SKUs. > See Mesa commits: ebc5ccf and b2dae9f > > Cc: Matt Turner > Cc: Rodrigo Vivi > Signed-off-by: Anuj Phogat > --- > in

Re: [Intel-gfx] [PATCH libdrm 2/2] intel: Change a KBL pci id to GT2 from GT1.5

2017-09-20 Thread Anuj Phogat
Any comments on this one. Sent out v2 after dropping [PATCH 1/2] drm/i915/kbl: Remove unused Kabylake pci ids On Mon, Sep 11, 2017 at 9:22 AM, Anuj Phogat wrote: > See Mesa commit 9c588ff > > Cc: Matt Turner > Cc: Rodrigo Vivi > Signed-off-by: Anuj Phogat > --- > inte

[Intel-gfx] [PATCH libdrm V2 2/2] intel: Change a KBL pci id to GT2 from GT1.5

2017-09-20 Thread Anuj Phogat
See Mesa commit 9c588ff Cc: Matt Turner Cc: Rodrigo Vivi Signed-off-by: Anuj Phogat --- intel/intel_chipset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h index 3ff59ada..d81b1646 100644 --- a/intel/intel_chipset.h +++ b

Re: [Intel-gfx] [PATCH 1/2] drm/i915/kbl: Remove unused Kabylake pci ids

2017-09-20 Thread Anuj Phogat
Dropping this patch. On Tue, Sep 12, 2017 at 5:31 PM, Rodrigo Vivi wrote: > On Tue, Sep 12, 2017 at 08:30:47PM +, Paulo Zanoni wrote: >> Em Seg, 2017-09-11 às 10:10 -0700, Rodrigo Vivi escreveu: >> > On Mon, Sep 11, 2017 at 04:11:33PM +, Anuj Phogat wrote: >&

Re: [Intel-gfx] [PATCH 1/2] drm/i915/kbl: Remove unused Kabylake pci ids

2017-09-12 Thread Anuj Phogat
On Mon, Sep 11, 2017 at 10:10 AM, Rodrigo Vivi wrote: > On Mon, Sep 11, 2017 at 04:11:33PM +0000, Anuj Phogat wrote: >> See Mesa commits: ebc5ccf and b2dae9f > > I believe we need to be in sync between multiple gfx stack components, > but I don't believe we should remove

[Intel-gfx] [PATCH libdrm 2/2] intel: Change a KBL pci id to GT2 from GT1.5

2017-09-11 Thread Anuj Phogat
See Mesa commit 9c588ff Cc: Matt Turner Cc: Rodrigo Vivi Signed-off-by: Anuj Phogat --- intel/intel_chipset.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h index 77a9ca6..6bd8ae2 100644 --- a/intel/intel_chipset.h +++ b

[Intel-gfx] [PATCH libdrm 1/2] intel: Remove unused Kabylake pci ids

2017-09-11 Thread Anuj Phogat
These PCI IDs are not used in any Kabylake SKUs. See Mesa commits: ebc5ccf and b2dae9f Cc: Matt Turner Cc: Rodrigo Vivi Signed-off-by: Anuj Phogat --- intel/intel_chipset.h | 26 -- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/intel/intel_chipset.h b

[Intel-gfx] [PATCH 1/2] drm/i915/kbl: Remove unused Kabylake pci ids

2017-09-11 Thread Anuj Phogat
See Mesa commits: ebc5ccf and b2dae9f Cc: Matt Turner Cc: Rodrigo Vivi Signed-off-by: Anuj Phogat --- drivers/gpu/drm/i915/i915_pci.c | 1 - include/drm/i915_pciids.h | 15 ++- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_pci.c b

[Intel-gfx] [PATCH 2/2] drm/i915/kbl: Change a KBL pci id to GT2 from GT1.5

2017-09-11 Thread Anuj Phogat
See Mesa commit 9c588ff Cc: Matt Turner Cc: Rodrigo Vivi Signed-off-by: Anuj Phogat --- include/drm/i915_pciids.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h index a1bf90e..1c29063 100644 --- a/include/drm

Re: [Intel-gfx] [PATCH] intel: Add Geminilake PCI IDs

2016-11-11 Thread Anuj Phogat
> Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx IDs cross checked in graphics specs. Reviewed-by: Anuj Phogat ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Intel-gfx] [PATCH v4 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-07-02 Thread Anuj Phogat
Don't split sentences across the one-line header and the changelog. (Chris) Signed-off-by: Anuj Phogat Cc: Ben Widawsky Cc: Chris Wilson --- intel/intel_bufmgr_gem.c | 35 +-- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/intel/intel_bufmgr_gem

[Intel-gfx] [PATCH v3 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-07-02 Thread Anuj Phogat
vious behavior. V2: Add a condition to avoid allocation from cache. (Ben) V3: Make no changes in cache allocation strategy. Just update the alignment. Update the aperture size estimate including the alignment. Signed-off-by: Anuj Phogat Cc: Ben Widawsky --- intel/intel_bufmgr_gem.c

Re: [Intel-gfx] [PATCH v2 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-06-26 Thread Anuj Phogat
n 23, 2015 at 04:44:52PM -0700, Anuj Phogat wrote: >> > > > On Mon, Jun 22, 2015 at 1:04 PM, Chris Wilson >> > > > wrote: >> > > > > On Mon, Jun 22, 2015 at 09:51:08PM +0200, Daniel Vetter wrote: >> > > > >> On Mon, Jun 22, 201

Re: [Intel-gfx] [PATCH v2 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-06-23 Thread Anuj Phogat
On Mon, Jun 22, 2015 at 1:04 PM, Chris Wilson wrote: > On Mon, Jun 22, 2015 at 09:51:08PM +0200, Daniel Vetter wrote: >> On Mon, Jun 22, 2015 at 11:47:02AM -0700, Anuj Phogat wrote: >> > and use it to initialize the align variable in drm_intel_bo. >> > >> > I

Re: [Intel-gfx] [PATCH 2/2] Set alignment value in drm_intel_add_validate_buffer()

2015-06-23 Thread Anuj Phogat
On Mon, Jun 22, 2015 at 12:49 PM, Daniel Vetter wrote: > On Mon, Jun 22, 2015 at 10:21:46AM -0700, Ben Widawsky wrote: >> On Fri, Jun 19, 2015 at 03:52:01PM -0700, Anuj Phogat wrote: >> > +Ben >> > >> > On Fri, Apr 10, 2015 at 5:20 PM, Anuj Phogat wrot

[Intel-gfx] [PATCH v2 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-06-22 Thread Anuj Phogat
vious behavior. V2: Add a condition to avoid allocation from cache. (Ben) Signed-off-by: Anuj Phogat Cc: Ben Widawsky --- intel/intel_bufmgr_gem.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 60

Re: [Intel-gfx] [PATCH 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-06-22 Thread Anuj Phogat
On Mon, Jun 22, 2015 at 10:01 AM, Ben Widawsky wrote: > On Fri, Jun 19, 2015 at 03:50:44PM -0700, Anuj Phogat wrote: >> +Ben. >> >> On Fri, Apr 10, 2015 at 5:20 PM, Anuj Phogat wrote: >> > and use it to initialize the align variable in drm_intel_bo. >> &

Re: [Intel-gfx] [PATCH 2/2] Set alignment value in drm_intel_add_validate_buffer()

2015-06-19 Thread Anuj Phogat
+Ben On Fri, Apr 10, 2015 at 5:20 PM, Anuj Phogat wrote: > Signed-off-by: Anuj Phogat > --- > intel/intel_bufmgr_gem.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c > index 51d87ae..92701a5

Re: [Intel-gfx] [PATCH 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-06-19 Thread Anuj Phogat
+Ben. On Fri, Apr 10, 2015 at 5:20 PM, Anuj Phogat wrote: > and use it to initialize the align variable in drm_intel_bo. > > 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 deti

Re: [Intel-gfx] [PATCH 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-06-19 Thread Anuj Phogat
On Wed, Jun 10, 2015 at 1:47 AM, Damien Lespiau wrote: > On Tue, Jun 09, 2015 at 02:59:33PM -0700, Anuj Phogat wrote: >> This patch is on the list for 8 weeks now. Please take a look so I can push >> it upstream. > > Could I suggest you nominate a mesa team member working o

Re: [Intel-gfx] [PATCH 2/2] Set alignment value in drm_intel_add_validate_buffer()

2015-06-09 Thread Anuj Phogat
On Wed, May 20, 2015 at 2:01 PM, Anuj Phogat wrote: > On Fri, Apr 10, 2015 at 5:20 PM, Anuj Phogat wrote: >> Signed-off-by: Anuj Phogat >> --- >> intel/intel_bufmgr_gem.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff -

Re: [Intel-gfx] [PATCH 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-06-09 Thread Anuj Phogat
On Wed, May 20, 2015 at 2:01 PM, Anuj Phogat wrote: > On Fri, Apr 10, 2015 at 5:20 PM, Anuj Phogat wrote: >> and use it to initialize the align variable in drm_intel_bo. >> >> In case of YF/YS tiled buffers libdrm need not know about the tiling >> format because these

Re: [Intel-gfx] [PATCH 2/2] Set alignment value in drm_intel_add_validate_buffer()

2015-05-20 Thread Anuj Phogat
On Fri, Apr 10, 2015 at 5:20 PM, Anuj Phogat wrote: > Signed-off-by: Anuj Phogat > --- > intel/intel_bufmgr_gem.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c > index 51d87ae..92701a5

Re: [Intel-gfx] [PATCH 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-05-20 Thread Anuj Phogat
On Fri, Apr 10, 2015 at 5:20 PM, Anuj Phogat wrote: > and use it to initialize the align variable in drm_intel_bo. > > 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 thr

[Intel-gfx] [PATCH 1/2] i965/gen9: Pass alignment as function parameter in drm_intel_gem_bo_alloc_internal()

2015-04-10 Thread Anuj Phogat
vious behavior. Cc: Kristian Høgsberg Cc: Damien Lespiau Cc: Daniel Vetter Signed-off-by: Anuj Phogat --- intel/intel_bufmgr_gem.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 5a67f53..51d87ae 100644 --- a/

[Intel-gfx] [PATCH 2/2] Set alignment value in drm_intel_add_validate_buffer()

2015-04-10 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- intel/intel_bufmgr_gem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 51d87ae..92701a5 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -459,7 +459,7

Re: [Intel-gfx] [PATCH 4/5] Align YS tile base address to 64KB

2015-04-01 Thread Anuj Phogat
On Tue, Mar 31, 2015 at 11:11 PM, Daniel Vetter wrote: > On Tue, Mar 31, 2015 at 06:57:07PM +0100, Damien Lespiau wrote: >> On Tue, Mar 31, 2015 at 10:49:22AM -0700, Anuj Phogat wrote: >> > On Tue, Mar 31, 2015 at 7:26 AM, Damien Lespiau >> > wrote: >> >

Re: [Intel-gfx] [PATCH 1/5] i965/skl: Add macros for Yf/Ys tiling formats

2015-03-31 Thread Anuj Phogat
On Tue, Mar 31, 2015 at 6:17 AM, Daniel Vetter wrote: > On Mon, Mar 30, 2015 at 02:00:04PM -0700, Anuj Phogat wrote: >> Signed-off-by: Anuj Phogat >> --- >> include/drm/i915_drm.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/include/

Re: [Intel-gfx] [PATCH 5/5] build: Bump the version to 2.4.61

2015-03-31 Thread Anuj Phogat
On Tue, Mar 31, 2015 at 7:28 AM, Damien Lespiau wrote: > On Mon, Mar 30, 2015 at 02:00:08PM -0700, Anuj Phogat wrote: >> This is required due to new macros added to i915_drm.h. >> These macros are used by i965 driver. >> >> Signed-off-by: Anuj Phogat >> --- >

Re: [Intel-gfx] [PATCH 4/5] Align YS tile base address to 64KB

2015-03-31 Thread Anuj Phogat
On Tue, Mar 31, 2015 at 7:26 AM, Damien Lespiau wrote: > On Mon, Mar 30, 2015 at 02:00:07PM -0700, Anuj Phogat wrote: >> Signed-off-by: Anuj Phogat >> --- >> intel/intel_bufmgr_gem.c | 7 ++- >> 1 file changed, 6 insertions(+), 1 deletion(-) >> >>

[Intel-gfx] [PATCH 2/5] i965/skl: Move tile_width computations out of drm_intel_gem_bo_tile_pitch

2015-03-30 Thread Anuj Phogat
This will be utilized by next patch in this series. Signed-off-by: Anuj Phogat --- intel/intel_bufmgr_gem.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 5a67f53..af44ba5 100644 --- a/intel

[Intel-gfx] [PATCH 1/5] i965/skl: Add macros for Yf/Ys tiling formats

2015-03-30 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- include/drm/i915_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index ded43b1..a6c167c 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h @@ -842,6 +842,8 @@ struct drm_i915_gem_caching

[Intel-gfx] [PATCH 3/5] i965/skl: Set tile width and height for YF/YS tiling

2015-03-30 Thread Anuj Phogat
I'm still passing tiling=I915_TILING_Y in drm_intel_gem_bo_alloc_internal() in case of YF/YS tiling. Passing tiling=I915_TILING_{YF,YS} causes bo allocation failure. Any advice what's the right thing to do here? Signed-off-by: Anuj Phogat --- intel/intel_bufmgr_

[Intel-gfx] [PATCH 5/5] build: Bump the version to 2.4.61

2015-03-30 Thread Anuj Phogat
This is required due to new macros added to i915_drm.h. These macros are used by i965 driver. Signed-off-by: Anuj Phogat --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 155d577..17c0e71 100644 --- a/configure.ac +++ b

[Intel-gfx] [PATCH 0/5] i965/skl: Add YF/YS tiling support

2015-03-30 Thread Anuj Phogat
Series is available at: https://github.com/aphogat/drm.git, branch: tiling-yf-ys Anuj Phogat (5): i965/skl: Add macros for Yf/Ys tiling formats i965/skl: Move tile_width computations out of drm_intel_gem_bo_tile_pitch i965/skl: Set tile width and height for YF/YS tiling Align YS tile

[Intel-gfx] [PATCH 4/5] Align YS tile base address to 64KB

2015-03-30 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- intel/intel_bufmgr_gem.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 7c50e26..775a9f9 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -289,8 +289,13

Re: [Intel-gfx] [PATCH] intel: Fix a case when mapping large texture fails

2012-03-07 Thread Anuj Phogat
On Mon 27 Feb 2012 11:45:46 AM PST, Anuj Phogat wrote: > This patch handles a case when mapping a large texture fails > in drm_intel_gem_bo_map_gtt(). These changes avoid assertion > failure later in the driver as reported in following bugs: > > https://bugs.freedesktop.org/show_b

[Intel-gfx] [PATCH] drm/i915: Handle request to map a very large buffer object

2012-02-27 Thread Anuj Phogat
another patch which I posted on mesa-dev (intel: Fix a case when mapping large texture fails) resolve above mentioned bugs. Recently posted piglit test case (large-textures) also passes with these patches. Signed-off-by: Anuj Phogat --- This fix doesn't limit developers to create very

[Intel-gfx] [PATCH] intel: Fix a case when mapping large texture fails

2012-02-27 Thread Anuj Phogat
: Anuj Phogat --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 26 --- src/mesa/drivers/dri/intel/intel_regions.c |7 - 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri

[Intel-gfx] drm/i915 fails to prepare buffer map with large textures

2012-02-02 Thread Anuj Phogat
ximum supported size for target texture type. >> > >> i.e. 1<< (ctx->Const.MaxTextureLevels - 1) >> > >> >> > >> This patch fixes Intel oglconform test case: max_values >> > >> Bugzilla: https://bugs.freedesktop.or