Re: [Intel-gfx] [PATCH 8/9] drm/i915: Implement .get_format_info() hook for CCS

2017-02-26 Thread Chad Versace
On Wed 04 Jan 2017, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > SKL+ display engine can scan out certain kinds of compressed surfaces > produced by the render engine. This involved telling the display engine > the location of the color control surfae (CCS) which describes which

[Intel-gfx] [PATCH] intel: Update intel-symbol-check

2017-01-27 Thread Chad Versace
Fixes make check. The symbols below were missing: drm_intel_bufmgr_gem_can_disable_implicit_sync drm_intel_gem_bo_disable_implicit_sync drm_intel_gem_bo_enable_implicit_sync drm_intel_gem_bo_fence_exec Signed-off-by: Chad Versace --- intel/intel-symbol-check | 4 1 file

[Intel-gfx] [dinq] Request to merge in padovan's fence fd fix

2017-01-27 Thread Chad Versace
pointer. Reported-by: Chad Versace Signed-off-by: Gustavo Padovan Fixes: beaf5af48034 ("drm/fence: add ou

Re: [Intel-gfx] [PATCH v3 13/14] drm/i915: Enable userspace to opt-out of implicit fencing

2017-01-26 Thread Chad Versace
On Thu 26 Jan 2017, Chris Wilson wrote: > On Wed, Jan 25, 2017 at 12:38:32PM -0800, Chad Versace wrote: > > On Mon 14 Nov 2016, Chris Wilson wrote: > > > Userspace is faced with a dilemma. The kernel requires implicit fencing > > > to manage resource usage (we alwa

Re: [Intel-gfx] [Mesa-dev] [PATCH] i965: Share the workaround bo between all contexts

2017-01-26 Thread Chad Versace
On Thu 26 Jan 2017, Chad Versace wrote: > On Thu 26 Jan 2017, Chris Wilson wrote: > > Since the workaround bo is used strictly as a write-only buffer, we need > > only allocate one per screen and use the same one from all contexts. > > > > (The caveat here is duri

Re: [Intel-gfx] [Mesa-dev] [PATCH] i965: Share the workaround bo between all contexts

2017-01-26 Thread Chad Versace
On Thu 26 Jan 2017, Chris Wilson wrote: > On Thu, Jan 26, 2017 at 09:39:51AM -0800, Chad Versace wrote: > > On Thu 26 Jan 2017, Chris Wilson wrote: > > > Since the workaround bo is used strictly as a write-only buffer, we need > > > only allocate one per screen an

Re: [Intel-gfx] [Mesa-dev] [PATCH] i965: Share the workaround bo between all contexts

2017-01-26 Thread Chad Versace
on't fully understand the kernel's domain tracking). If that does work, then it just would require a small hack to brw_emit_pipe_control_write(). > Signed-off-by: Chris Wilson > Cc: Kenneth Graunke > Cc: Martin Peres > Cc: Chad Versace > Cc: Daniel Vetter > --- &

Re: [Intel-gfx] [PATCH v3 13/14] drm/i915: Enable userspace to opt-out of implicit fencing

2017-01-25 Thread Chad Versace
On Mon 14 Nov 2016, Chris Wilson wrote: > Userspace is faced with a dilemma. The kernel requires implicit fencing > to manage resource usage (we always must wait for the GPU to finish > before releasing its PTE) and for third parties. However, userspace may > wish to avoid this serialisation if it

Re: [Intel-gfx] [PATCH v3 14/14] drm/i915: Support explicit fencing for execbuf

2017-01-25 Thread Chad Versace
e that explicit fencing through an *explicit* knob. I believe the kernel should not interpret the presence of an in fence fd in execbuffer as that knob. If it did, then using this feature from GL/EGL userspace would be unwieldy. In other words, I like this. Patch 14 gets my Acked-by: Chad Versace

[Intel-gfx] [PATCH 3/3] intel: Support passing of explicit fencing from execbuf

2017-01-13 Thread Chad Versace
Wilson Squashed-fixes-from: Rafael Antognolli Signed-off-by: Chad Versace --- intel/intel_bufmgr.h | 6 ++ intel/intel_bufmgr_gem.c | 32 +++- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/intel/intel_bufmgr.h b/intel/intel_bufmgr.h index

[Intel-gfx] [PATCH 2/3] intel: Allow the client to control implicit synchronisation

2017-01-13 Thread Chad Versace
From: Chris Wilson The kernel allows implicit synchronisation to be disabled on individual buffers. Use at your own risk. Signed-off-by: Chris Wilson --- intel/intel_bufmgr.h | 2 ++ intel/intel_bufmgr_gem.c | 32 2 files changed, 30 insertions(+), 4 delet

[Intel-gfx] [PATCH 1/3] WAIT: headers: Update drm_i915.h

2017-01-13 Thread Chad Versace
Generated with `make headers_install` from tag 'chadv/test/i915-exec-fence-v03' of . TODO: Wait until header updates are in upstream kernel. References: http://git.kiwitree.net/cgit/~chadv/linux/tag/?h=chadv/test/i915-exec-fence-v03 Signed-off-by: Chad Versace --- include/drm/i915_d

[Intel-gfx] [PATCH 0/3] intel: Add fence fd support to execbuf

2017-01-13 Thread Chad Versace
but don't grok them. Chad Versace (1): WAIT: headers: Update drm_i915.h Chris Wilson (2): intel: Allow the client to control implicit synchronisation intel: Support passing of explicit fencing from execbuf include/drm/i915_drm.h | 277 +++

Re: [Intel-gfx] [RFC] i915: Add fence fds to execbuffer2 uapi

2016-06-29 Thread Chad Versace
On Tue 28 Jun 2016, John Harrison wrote: > The latest set of patches (including changes from feedback about rsvd > fields) never actually got posted to the mailing list due to the above issue > with de-staging. I have just updated my FDO git account with them instead. > The kernel patch is: > http

Re: [Intel-gfx] [RFC] i915: Add fence fds to execbuffer2 uapi

2016-06-29 Thread Chad Versace
On Mon 27 Jun 2016, Chris Wilson wrote: > On Mon, Jun 27, 2016 at 01:18:59PM -0700, Chad Versace wrote: > > On Mon 27 Jun 2016, Chad Versace wrote: > > > Let the hight 32 bits of drm_i915_gem_execbuffer2::rsvd1 contain an > > > input and/or output fence fd, whose pres

Re: [Intel-gfx] [RFC] i915: Add fence fds to execbuffer2 uapi

2016-06-27 Thread Chad Versace
On Mon 27 Jun 2016, Chad Versace wrote: > Let the hight 32 bits of drm_i915_gem_execbuffer2::rsvd1 contain an > input and/or output fence fd, whose presence is controlled by flags. > Also add I915_PARAM_HAS_FENCE_FD. > > Signed-off-by: Chad Versace > --- > include/uap

[Intel-gfx] [RFC] i915: Add fence fds to execbuffer2 uapi

2016-06-27 Thread Chad Versace
Let the hight 32 bits of drm_i915_gem_execbuffer2::rsvd1 contain an input and/or output fence fd, whose presence is controlled by flags. Also add I915_PARAM_HAS_FENCE_FD. Signed-off-by: Chad Versace --- include/uapi/drm/i915_drm.h | 24 ++-- 1 file changed, 22 insertions

Re: [Intel-gfx] [Mesa-dev] [PATCH v2 mesa] vk/intel: use negative VK_NO_PROTOTYPES scheme

2016-05-09 Thread Chad Versace
gt; > > > I'm pretty sure Mesa is the only repository where this lives. > > > > Yup > > Ping? > > I'm not sure why this didn't get at least an ACK from Intel, but I don't > see any reason not to apply this fix. > I don't h

Re: [Intel-gfx] [PATCH] drm/i915: Support to create uncached user mapping for a Gem object

2014-12-09 Thread Chad Versace
On 10/23/2014 06:23 AM, Chris Wilson wrote: > On Thu, Oct 23, 2014 at 12:56:46PM +0100, Chris Wilson wrote: >> On Thu, Oct 23, 2014 at 04:03:56PM +0530, akash.g...@intel.com wrote: >>> From: Akash Goel >>> >> >>> This is for improving the CPU write operation performance, as with such >>> mapping

Re: [Intel-gfx] [RFC/Draft] Testing requirements for upstream drm/i915 patches

2013-10-30 Thread Chad Versace
On 10/30/2013 12:05 PM, Daniel Vetter wrote: On Wed, Oct 30, 2013 at 7:11 PM, Ian Romanick wrote: test coverage of the existing code _before_ starting a feature instead of when the patches are ready for merging should help a lot, before everyone is invested into patches already and mou

Re: [Intel-gfx] [PATCH intel-gpu-tools] configure: Don't bail if libdrm_nouveau isn't available.

2013-10-11 Thread Chad Versace
On 10/11/2013 03:51 PM, Chad Versace wrote: On 10/11/2013 02:29 PM, Matt Turner wrote: On Fri, Oct 11, 2013 at 2:24 PM, Daniel Vetter wrote: On Fri, Oct 11, 2013 at 12:51:34PM -0700, Matt Turner wrote: On Fri, Oct 11, 2013 at 12:40 AM, Daniel Vetter wrote: On Fri, Oct 11, 2013 at 5:56 AM

Re: [Intel-gfx] [PATCH intel-gpu-tools] configure: Don't bail if libdrm_nouveau isn't available.

2013-10-11 Thread Chad Versace
On 10/11/2013 02:29 PM, Matt Turner wrote: On Fri, Oct 11, 2013 at 2:24 PM, Daniel Vetter wrote: On Fri, Oct 11, 2013 at 12:51:34PM -0700, Matt Turner wrote: On Fri, Oct 11, 2013 at 12:40 AM, Daniel Vetter wrote: On Fri, Oct 11, 2013 at 5:56 AM, Matt Turner wrote: We were seriously *requir

Re: [Intel-gfx] [PATCH] drm/i915/hsw: Change default LLC age to 3

2013-08-01 Thread Chad Versace
he wrapper, Reviewed-by: Chad Versace ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h v3

2013-07-25 Thread Chad Versace
like. It's flexible enough. Acked-by: Chad Versace ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH] [v3] drm/i915: Make i915 events part of uapi

2013-07-19 Thread Chad Versace
ook comments (Daniel) v3: Undid reset change introduced in last submission (Daniel) Fixed up comments to address removal changes. Thanks to Daniel Vetter for a majority of the parity error comments. CC: Chad Versace Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_irq.c | 8 ---

Re: [Intel-gfx] [PATCH] drm/i915: Make i915 events part of uapi

2013-07-17 Thread Chad Versace
On 07/16/2013 10:07 PM, Daniel Vetter wrote: On Tue, Jul 16, 2013 at 04:41:13PM -0700, Ben Widawsky wrote: Make the uevent strings part of the user API for people who wish to write their own listeners. CC: Chad Versace Signed-off-by: Ben Widawsky One thing I've toyed around with a b

Re: [Intel-gfx] [PATCH 1/2] intel_get_llc_size: Small tool to query LLC size

2013-07-12 Thread Chad Versace
On 07/11/2013 11:53 AM, Ben Widawsky wrote: v2: Use the new param CC: Chad Versace CC: Bryan Bell Signed-off-by: Ben Widawsky --- tools/Makefile.am | 1 + tools/intel_get_llc_size.c | 58 ++ 2 files changed, 59 insertions(+) create

Re: [Intel-gfx] [PATCH] [v2] drm/i915: Expose LLC size to user space

2013-07-12 Thread Chad Versace
am instead of reusing HAS_LLC param (Chris, Chad) Fix unicode multiply symbol (Ben) CC: Chad Versace CC: Bryan Bell Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_dma.c | 3 +++ drivers/gpu/drm/i915/i915_drv.h | 2 ++ drivers/gpu/drm/i915/i915_

Re: [Intel-gfx] [PATCH] drm/i915: Expose LLC size to user space

2013-07-10 Thread Chad Versace
f the spec. The excellent comments remain entirely copied from Chad's code. I've tested this on two platforms, and it seems to perform how I want. CC: Chad Versace CC: Bryan Bell Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_dma.c | 2 +- drivers/gpu/drm/i915/

Re: [Intel-gfx] [PATCH 5/5] drm/i915: debugfs entries for [e]LLC

2013-07-09 Thread Chad Versace
On 07/04/2013 11:46 AM, Ben Widawsky wrote: On Thu, Jul 04, 2013 at 08:43:58PM +0200, Daniel Vetter wrote: On Thu, Jul 4, 2013 at 8:40 PM, Ben Widawsky wrote: On Thu, Jul 04, 2013 at 08:14:41PM +0200, Daniel Vetter wrote: On Thu, Jul 04, 2013 at 11:02:07AM -0700, Ben Widawsky wrote: To make

Re: [Intel-gfx] [PATCH 1/2 libdrm] intel: Fix Haswell GT3 names.

2013-05-14 Thread Chad Versace
7;s fix this name in a standard and correct way. Signed-off-by: Rodrigo Vivi --- intel/intel_chipset.h | 53 ++- 1 file changed, 27 insertions(+), 26 deletions(-) For patch 1, Reviewed-by: Chad Versace _

Re: [Intel-gfx] [PATCH] drm/i915: s/valleyview/baytrail

2013-05-10 Thread Chad Versace
esa also uses the byt/baytrail names. Yes. I know this is painful. Doing it now is the least painful way to do this right (short of going back in time.) disclaimer: only compile tested. disclaimer2: I didn't fix pre-existing checkpatch issues. CC: Kenneth Graunke CC: Jesse Barnes

[Intel-gfx] [PATCH] intel: Add pci id for Haswell Harris Beach Mobile GT2+

2013-04-15 Thread Chad Versace
Signed-off-by: Chad Versace --- intel/intel_chipset.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h index b73fa0f..da2fbee 100644 --- a/intel/intel_chipset.h +++ b/intel/intel_chipset.h @@ -82,6 +82,7 @@ #define

[Intel-gfx] Working from home (Mon 3 Dec)

2012-12-03 Thread Chad Versace
I'm not coming to the office today. I have a cold. ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH] intel: Fix bufmgr_gem->gen for gen > 4

2012-01-30 Thread Chad Versace
On 01/30/2012 11:14 AM, Eric Anholt wrote: > On Mon, 30 Jan 2012 09:41:50 -0800, Chad Versace > wrote: >> If the pci_device's actual gen was > 4, then we stupidly set >> bufmgr_gem->gen = 6. > > Might be worth a note to say that no behavior should change. S

[Intel-gfx] [PATCH] intel: Fix bufmgr_gem->gen for gen > 4

2012-01-30 Thread Chad Versace
If the pci_device's actual gen was > 4, then we stupidly set bufmgr_gem->gen = 6. Signed-off-by: Chad Versace --- intel/intel_bufmgr_gem.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 2b4fa

Re: [Intel-gfx] [PATCH] Android port of intel-gpu-tools

2012-01-16 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/2012 10:36 AM, Daniel Vetter wrote: > On Mon, Jan 16, 2012 at 10:25:32AM -0800, Chad Versace wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 01/10/2012 04:47 AM, Daniel Vetter wrote: >>>

Re: [Intel-gfx] [PATCH] Android port of intel-gpu-tools

2012-01-16 Thread Chad Versace
Android.mk's are necessary. > > To address another concern of Dan's, this will not add another way to > configure > the Mesa build. Android handles the system's build configuration in a single > location which is outside of Mesa. > > I'm aware t

Re: [Intel-gfx] [PATCH] Android port of intel-gpu-tools

2012-01-16 Thread Chad Versace
OID definition for checks like fcntl.h > header path >> >> - ajax > > -- > Sateesh I want to see the C99 workarounds removed. In Mesa we enabled -std=c99 in the Android build with this hack: # Use C99. ifeq ($(LOCAL_CC),) ifeq ($(LOCAL_IS_HOST_MODULE),true) LOCAL

[Intel-gfx] [PATCH 1/2] libdrm,intel: Factor source file lists into sources.mk

2011-12-30 Thread Chad Versace
ource lists. So, by sharing the lists between the two build systems, we can reduce the frequency at which modifications to the Linux build breaks the Android build. Signed-off-by: Chad Versace --- Makefile.am |9 - intel/Makefile.am |9 - intel/sources.mk |

[Intel-gfx] [PATCH 2/2] libdrm,intel: Add Android makefiles (v2)

2011-12-30 Thread Chad Versace
This enables libdrm.so and libdrm_intel.so to build on Android IceCreamSandwich. v2: Link libdrm_intel to libpciaccess. Signed-off-by: Chad Versace --- Android.mk | 52 + intel/Android.mk | 57

Re: [Intel-gfx] [PATCH 1/3] intel: Disable drm_intel_probe_agp_aperture_size() on Android

2011-12-29 Thread Chad Versace
On 12/28/2011 07:11 AM, Purushothaman, Vijay A wrote: > You need libpciaccess in Android if you want to use intel-gpu-tools in > Android. We have already ported these tools to work in Android. > > Thanks, > Vijay Vijay, please share the source for your Android ports of libpciaccess and intel-gp

Re: [Intel-gfx] [PATCH 1/3] intel: Disable drm_intel_probe_agp_aperture_size() on Android

2011-12-28 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/28/2011 06:56 AM, Eugeni Dodonov wrote: > > On Dec 27, 2011 6:41 PM, "Eric Anholt" <mailto:e...@anholt.net>> wrote: >> >> On Fri, 23 Dec 2011 12:11:10 -0800, Chad Versace >> mailto:chad.vers...@linu

[Intel-gfx] [PATCH 3/3] libdrm,intel: Add Android makefiles

2011-12-23 Thread Chad Versace
This enables libdrm.so and libdrm_intel.so to build on Android IceCreamSandwich. Signed-off-by: Chad Versace --- Android.mk | 52 intel/Android.mk | 49 + 2 files changed, 101

[Intel-gfx] [PATCH 2/3] libdrm,intel: Factor source file lists into sources.mk

2011-12-23 Thread Chad Versace
ource lists. So, by sharing the lists between the two build systems, we can reduce the frequency at which modifications to the Linux build breaks the Android build. Signed-off-by: Chad Versace --- Makefile.am |9 - intel/Makefile.am |8 intel/sources.mk |

[Intel-gfx] [PATCH 1/3] intel: Disable drm_intel_probe_agp_aperture_size() on Android

2011-12-23 Thread Chad Versace
The function uses libpciaccess, which is not present on Android. So, make it a no-op that returns 0. Signed-off-by: Chad Versace --- intel/intel_bufmgr.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/intel/intel_bufmgr.c b/intel/intel_bufmgr.c index 905556f

[Intel-gfx] [PATCH 0/3] libdrm/intel: Add support for Android

2011-12-23 Thread Chad Versace
From: Chad Versace This series enables libdrm.so and libdrm_intel.so to build on Android IceCreamSandwich. Chad Versace (3): intel: Disable drm_intel_probe_agp_aperture_size() on Android libdrm,intel: Factor source file lists into sources.mk libdrm,intel: Add Android makefiles

Re: [Intel-gfx] [Mesa-dev] [PATCH] intel: Fix stencil buffer to be W tiled

2011-07-19 Thread Chad Versace
On 07/18/2011 01:20 AM, Paul Menzel wrote: > Am Montag, den 18.07.2011, 00:55 -0700 schrieb Chad Versace: > There are alignment/white space issues above. > >> + unsigned stride = irb->region->pitch;\ >> + unsigned heigh

[Intel-gfx] [PATCH] intel: Fix stencil buffer to be W tiled

2011-07-18 Thread Chad Versace
- In intel_verify_dri2_has_hiz(), verify that the stencil buffer is not tiled. - In the stencil buffer's span functions, the tile's layout must be decoded in software. This commit mutually depends on the xf86-video-intel commit dri: Do not tile stencil buffer Autho

[Intel-gfx] [PATCH] dri: Do not tile stencil buffer

2011-07-18 Thread Chad Versace
GTT is incapable of W fencing, so we allocate the stencil buffer with I915_TILING_NONE and decode the tile's layout in software. This commit mutually depends on the mesa commit: intel: Fix stencil buffer to be W tiled Author: Chad Versace Date: Mon Jul 18 00:37:45 2011 -0700 CC:

[Intel-gfx] [PATCH v2] intel: Fix stencil buffer to be W tiled

2011-07-18 Thread Chad Versace
Patch 1 v2: - Change buffer height from ALIGN(height / 2, 64) to ALIGN((height + 1) / 2, 64). Patch 2 v2: - Change buffer height from ALIGN(height / 2, 64) to ALIGN((height + 1) / 2, 64). - Change return type of intel_offset_S8 changed to intptr_t. - Improve performance of Y_

Re: [Intel-gfx] [Mesa-dev] [PATCH] intel: Fix stencil buffer to be W tiled

2011-07-18 Thread Chad Versace
On 07/18/2011 08:57 AM, Eric Anholt wrote: > On Mon, 18 Jul 2011 00:55:03 -0700, Chad Versace wrote: >> diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c >> b/src/mesa/drivers/dri/intel/intel_fbo.c >> index 1669af2..507cc33 100644 >> --- a/src/mesa/drivers/dri/int

Re: [Intel-gfx] [Mesa-dev] [PATCH] intel: Fix stencil buffer to be W tiled

2011-07-18 Thread Chad Versace
On 07/18/2011 02:02 PM, Ian Romanick wrote: > On 07/18/2011 01:54 PM, Chad Versace wrote: >> On 07/18/2011 11:49 AM, Ian Romanick wrote: >>> On 07/18/2011 12:55 AM, Chad Versace wrote: >>>> Until now, the stencil buffer was allocated as a Y tiled buffer, because >

Re: [Intel-gfx] [Mesa-dev] [PATCH] intel: Fix stencil buffer to be W tiled

2011-07-18 Thread Chad Versace
On 07/18/2011 08:57 AM, Eric Anholt wrote: > On Mon, 18 Jul 2011 00:55:03 -0700, Chad Versace wrote: >> diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c >> b/src/mesa/drivers/dri/intel/intel_fbo.c >> index 1669af2..507cc33 100644 >> --- a/src/mesa/drivers/dri/int

Re: [Intel-gfx] [Mesa-dev] [PATCH] intel: Fix stencil buffer to be W tiled

2011-07-18 Thread Chad Versace
On 07/18/2011 11:49 AM, Ian Romanick wrote: > On 07/18/2011 12:55 AM, Chad Versace wrote: >> Until now, the stencil buffer was allocated as a Y tiled buffer, because >> in several locations the PRM states that it is. However, it is actually >> W tiled. From the PRM, 2011 S

Re: [Intel-gfx] [Mesa-dev] [PATCH] dri: Do not tile stencil buffer

2011-07-18 Thread Chad Versace
On 07/18/2011 11:45 AM, Ian Romanick wrote: > On 07/18/2011 12:55 AM, Chad Versace wrote: >> Until now, the stencil buffer was allocated as a Y tiled buffer, because >> in several locations the PRM states that it is. However, it is actually >> W tiled. From the PRM, 2011 S

[Intel-gfx] [PATCH] intel: Fix stencil buffer to be W tiled

2011-07-18 Thread Chad Versace
- In intel_verify_dri2_has_hiz(), verify that the stencil buffer is not tiled. - In the stencil buffer's span functions, the tile's layout must be decoded in software. This commit mutually depends on the xf86-video-intel commit dri: Do not tile stencil buffer Autho

[Intel-gfx] [PATCH] dri: Do not tile stencil buffer

2011-07-18 Thread Chad Versace
GTT is incapable of W fencing, so we allocate the stencil buffer with I915_TILING_NONE and decode the tile's layout in software. This commit mutually depends on the mesa commit: intel: Fix stencil buffer to be W tiled Author: Chad Versace Date: Mon Jul 18 00:37:45 2011 -0700 CC:

[Intel-gfx] [PATCH] intel: Fix stencil buffer to be W tiled

2011-07-18 Thread Chad Versace
Chad Versace (2): xf86-video-intel dri: Do not tile stencil buffer src/intel_dri.c | 16 mesa intel: Fix stencil buffer to be W tiled src/mesa/drivers/dri/intel/intel_clear.c |6 ++ src/mesa/drivers/dri/intel/intel_context.c |9

Re: [Intel-gfx] [PATCH 2/2] dri: Add support for DRI2BufferStencil and DRI2BufferHiz

2011-06-05 Thread Chad Versace
On Sun, 05 Jun 2011 10:10:39 -0700, Eric Anholt wrote: > On Sat, 4 Jun 2011 17:06:31 -0700, Chad Versace wrote: > > Before this commit, if a client were to request a stencil or hiz buffer, > > then > > I830DRI2CreateBuffer() allocated and returned an X-tiled b

[Intel-gfx] [PATCH 3/3] dri: Add support for DRI2BufferStencil and DRI2BufferHiz

2011-06-05 Thread Chad Versace
its quirky pitch requirements. CC: Eric Anholt CC: Ian Romanick CC: Kristian Høgsberg CC: Kenneth Graunke Signed-off-by: Chad Versace --- configure.ac|1 + src/intel_dri.c | 30 ++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/configure.a

[Intel-gfx] [PATCH 2/3] dri: Do not create DRI2 buffers for unrecognized DRI2 buffer tokens

2011-06-05 Thread Chad Versace
ned-off-by: Chad Versace --- src/intel_dri.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/intel_dri.c b/src/intel_dri.c index 48d0f56..4571d07 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -338,10 +338,20 @@ I830DRI2CreateBuffer(DrawablePtr drawable

[Intel-gfx] [PATCH] Add attachment token DRI2BufferHiz

2011-06-05 Thread Chad Versace
... and bump version to 2.6. CC: Eric Anholt CC: Ian Romanick CC: Kristian Høgsberg Reviewed-by: Kenneth Graunke Signed-off-by: Chad Versace --- configure.ac |2 +- dri2proto.txt |6 +- dri2tokens.h |1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a

[Intel-gfx] [PATCH 0/3] [RESUBMIT] ddx/dri: Add support for hiz and separate stencil buffers

2011-06-05 Thread Chad Versace
ou didn't fix the "we'll allocate a buffer > for *anything*" behavior that made the compat path in Mesa strange this > time around. Eric, I've fixed the patch series according to your comments and resubmitted. Chad Versace (2): dri: Do not create DRI2 buffers for unreco

Re: [Intel-gfx] [PATCH 1/2] Add attachment token DRI2BufferHiz

2011-06-05 Thread Chad Versace
On Sun, 05 Jun 2011 01:53:29 -0700, Kenneth Graunke wrote: > On 06/04/2011 05:06 PM, Chad Versace wrote: > > ... and bump version to 2.6. > > > > Signed-off-by: Chad Versace > > --- > > configure.ac |2 +- > > dri2proto.txt |6 +- > >

[Intel-gfx] [PATCH 1/2] Add attachment token DRI2BufferHiz

2011-06-04 Thread Chad Versace
... and bump version to 2.6. Signed-off-by: Chad Versace --- configure.ac |2 +- dri2proto.txt |6 +- dri2tokens.h |1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 297be0e..d671f5a 100644 --- a/configure.ac +++ b

[Intel-gfx] [PATCH 2/2] dri: Add support for DRI2BufferStencil and DRI2BufferHiz

2011-06-04 Thread Chad Versace
() correctly returns a Y-tiled buffer and handles the stencil buffer as a special case due its quirky pitch requirements. This shouldn't break older Mesa versions, because they never query (via DRI2GetBuffersWithFormat) for the drawable's DRI2BufferStencil. Signed-off-by: Chad Versace

[Intel-gfx] [PATCH 0/2] ddx/dri: Add support for hiz and separate stencil buffers

2011-06-04 Thread Chad Versace
These patches belong to my effort to enable hiz and separate stencil for IVB. Patch 1 belongs to dri2proto. Patch 2 belongs to xf86-video-intel. There is a related patch series on the mesa-dev list that uses this functionality. See the thread with subject: i965: Implement hiz and separate st