Re: [Intel-gfx] [PATCH 0/7] dma-buf: Add an API for exporting sync files (v11)

2021-06-10 Thread Chia-I Wu
On Tue, May 25, 2021 at 2:18 PM Jason Ekstrand wrote: > Modern userspace APIs like Vulkan are built on an explicit > synchronization model. This doesn't always play nicely with the > implicit synchronization used in the kernel and assumed by X11 and > Wayland. The client -> compositor half of th

Re: [Intel-gfx] [PATCH] drm/i915: fix wait ioctl with negative timeout

2014-10-12 Thread Chia-I Wu
On Sun, Oct 12, 2014 at 1:21 AM, Chia-I Wu wrote: > When timeout_ns is negative, it really means to wait indefinitely instead > of > returning immediately. But since userspace can no longer rely on that, I > am > not sure if there is any point fixing it. > Note that

[Intel-gfx] [PATCH] drm/i915: fix wait ioctl with negative timeout

2014-10-11 Thread Chia-I Wu
When timeout_ns is negative, it really means to wait indefinitely instead of returning immediately. But since userspace can no longer rely on that, I am not sure if there is any point fixing it. Signed-off-by: Chia-I Wu --- drivers/gpu/drm/i915/i915_gem.c | 7 --- 1 file changed, 4

Re: [Intel-gfx] [RFC-PATCH libdrm] intel/aub: allow to dump only states

2014-04-15 Thread Chia-I Wu
On Tue, Apr 15, 2014 at 3:37 PM, Chia-I Wu wrote: > Add drm_intel_bufmgr_gem_set_aub_state_only to disable dumping of unannotated > or untyped data. The result should still be a valid AUB dump, in that it can > be fed to the simulator. But it will not trigger execution. > > This

[Intel-gfx] [RFC-PATCH libdrm] intel/aub: allow to dump only states

2014-04-15 Thread Chia-I Wu
Add drm_intel_bufmgr_gem_set_aub_state_only to disable dumping of unannotated or untyped data. The result should still be a valid AUB dump, in that it can be fed to the simulator. But it will not trigger execution. This can be used to dump states in binary form. Signed-off-by: Chia-I Wu

Re: [Intel-gfx] [PATCH] Revert "drm/i915: enable HiZ Raw Stall Optimization on IVB"

2014-03-12 Thread Chia-I Wu
On Wed, Mar 5, 2014 at 2:38 AM, Daniel Vetter wrote: > On Tue, Mar 04, 2014 at 05:06:22PM +0200, Ville Syrjälä wrote: >> On Tue, Mar 04, 2014 at 10:38:58PM +0800, Chia-I Wu wrote: >> > On Tue, Mar 4, 2014 at 5:41 PM, Chris Wilson >> > wrote:

Re: [Intel-gfx] [PATCH] Revert "drm/i915: enable HiZ Raw Stall Optimization on IVB"

2014-03-04 Thread Chia-I Wu
bugs.freedesktop.org/show_bug.cgi?id=75623 > Signed-off-by: Chris Wilson > Cc: Chia-I Wu > Cc: Ville Syrjälä > --- > drivers/gpu/drm/i915/intel_pm.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/

[Intel-gfx] [PATCH 2/2] drm/i915: enable HiZ Raw Stall Optimization on IVB

2014-01-27 Thread Chia-I Wu
From: Chia-I Wu The optimization helps IVB too. No piglit regression. Signed-off-by: Chia-I Wu --- drivers/gpu/drm/i915/intel_pm.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index c535e5c..58aba3e 100644 --- a

[Intel-gfx] [PATCH 1/2] drm/i915: enable HiZ Raw Stall Optimization on HSW

2014-01-27 Thread Chia-I Wu
From: Chia-I Wu The optimization is available on Ivy Bridge and later, and is disabled by default. Enabling it helps certain workloads such as GLBenchmark TRex test. No piglit regression. v2 - no need to save the register before suspend as init_clock_gating can correctly program it after

Re: [Intel-gfx] [PATCH] drm/i915: enable HiZ Raw Stall Optimization

2014-01-27 Thread Chia-I Wu
On Mon, Jan 27, 2014 at 9:07 PM, Ville Syrjälä wrote: > On Mon, Jan 27, 2014 at 04:18:36PM +0800, Chia-I Wu wrote: >> From: Chia-I Wu >> >> The optimization is available on Ivy Bridge and later, and is disabled by >> default. Enabling it helps certain workloads su

Re: [Intel-gfx] [PATCH] drm/i915: enable HiZ Raw Stall Optimization

2014-01-27 Thread Chia-I Wu
[Additional comments, and copy Ian and Chad for real] On Mon, Jan 27, 2014 at 4:18 PM, Chia-I Wu wrote: > From: Chia-I Wu > > The optimization is available on Ivy Bridge and later, and is disabled by > default. Enabling it helps certain workloads such as GLBenchmark TRex test. Wi

[Intel-gfx] [PATCH] drm/i915: enable HiZ Raw Stall Optimization

2014-01-27 Thread Chia-I Wu
From: Chia-I Wu The optimization is available on Ivy Bridge and later, and is disabled by default. Enabling it helps certain workloads such as GLBenchmark TRex test. Signed-off-by: Chia-I Wu Cc: Ian Romanick Cc: Chad Versace --- drivers/gpu/drm/i915/i915_reg.h | 2 ++ drivers/gpu/drm

[Intel-gfx] [PATCH libdrm] intel: silence valgrind warnings for unsynchronized maps

2013-07-09 Thread Chia-I Wu
Mark the address ranges as accessible with VALGRIND_MAKE_MEM_DEFINED. Signed-off-by: Chia-I Wu --- intel/intel_bufmgr_gem.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index a51e3f3..f98f7a7 100644 --- a/intel/intel_bufmgr_gem.c

Re: [Intel-gfx] [PATCH] drm/i915: Fix current fb blocking for page flip.

2010-10-21 Thread Chia-I Wu
On Fri, Oct 22, 2010 at 12:18 AM, Jesse Barnes wrote: > On Thu, 21 Oct 2010 17:55:13 +0800 > Chia-I Wu wrote: > >> Hi list, >> >> According to the doc for page_flip, intel_crtc_page_flip should >> >>    ... block all rendering to the current fb until the f

Re: [Intel-gfx] [PATCH] drm/i915: fix current fb blocking for flipping.

2010-10-21 Thread Chia-I Wu
On Fri, Oct 22, 2010 at 12:56 AM, Jesse Barnes wrote: > On Thu, 21 Oct 2010 17:32:30 +0800 > Chia-I Wu wrote: > >> Block execbuffer for the fb to be flipped away, not the one that is to >> be flipped in. > I think we want to block rendering on both?  Otherwise we could d

[Intel-gfx] [PATCH] drm/i915: fix current fb blocking for flipping.

2010-10-21 Thread Chia-I Wu
Block execbuffer for the fb to be flipped away, not the one that is to be flipped in. Signed-off-by: Chia-I Wu --- drivers/gpu/drm/i915/intel_display.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915

[Intel-gfx] [PATCH] drm/i915: Fix current fb blocking for page flip.

2010-10-21 Thread Chia-I Wu
_flip_obj->pending_flip. This patch does fix the rendering artifacts with my Android on i915 project. Any thought? -- o...@lunarg.com From fd72d779b84d70bac104d5d46541e3ac1ced6f35 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 21 Oct 2010 16:39:14 +0800 Subject: [PATCH] drm/i915: Fi