Re: [Mesa-dev] intel GPU freeze with master, with apitrace log

2011-11-02 Thread Daniel Vetter
:do_wait_request] *ERROR* i915_do_wait_request returns -11 (awaiti ng 23347 at 23343, next 23348) Ping? Generally we need the i915_error_state from debugfs when diagnosing gpu hangs. Can you please attach that one? Thanks, Daniel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48

Re: [Mesa-dev] intel GPU freeze with master, with apitrace log

2011-11-02 Thread Daniel Vetter
lots of output in it.. I can grab it after a clean reboot if that helps. I've taken a quick look and nothing jumps out immediately. Anything else I can provide? Can you attach the full dmesg, please. And are you using any special i915 module options? Yours, Daniel -- Daniel Vetter Mail: dan

[Mesa-dev] [PATCH] gallium/i965g: hide that utterly broken driver better

2011-11-28 Thread Daniel Vetter
And warn loudly in case people want to use it. Too many tester report gpu hangs on irc and we rootcause this ... Signed-Off-by: Daniel Vetter daniel.vet...@ffwll.ch --- configure.ac |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index

Re: [Mesa-dev] [PATCH] gallium/i965g: hide that utterly broken driver better

2011-11-28 Thread Daniel Vetter
On Mon, Nov 28, 2011 at 03:17:09PM -0800, Jose Fonseca wrote: - Original Message - And warn loudly in case people want to use it. Too many tester report gpu hangs on irc and we rootcause this ... Signed-Off-by: Daniel Vetter daniel.vet...@ffwll.ch If you're doing this then why

Re: [Mesa-dev] Reminder: FOSDEM2012 speakers due Okt 1st.

2011-09-26 Thread Daniel Vetter
into here. I'll see what makes a good fit and shows best what awesome stuff is currently going on in opens source graphics. Cheers, Daniel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48 ___ mesa-dev mailing list mesa-dev

Re: [Mesa-dev] [PATCH] i965: Compile the driver with -march=core2.

2013-01-26 Thread Daniel Vetter
took us a few attempts to put that crazy pciid into the right tables in the kernel/ddx/mesa - originally we've marked it as gen3 until someont tried to actually use it. Marketing and production differention win again :( -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57

Re: [Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-05 Thread Daniel Vetter
with latest 3.8-rc kernels might be good - we've just merged a few workaround patches for snb, which reportedly fix some hangs. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-06 Thread Daniel Vetter
On Tue, Feb 05, 2013 at 10:40:28PM +0100, Martin Steigerwald wrote: Am Dienstag, 5. Februar 2013 schrieb Daniel Vetter: On Sat, Feb 02, 2013 at 09:22:55PM +0100, Martin Steigerwald wrote: About these messages: Uhm, bingo: merkaba:~ zgrep -i GPU hung /var/log/kern.log* /var/log

Re: [Mesa-dev] [PATCH 2/3] intel: Do temporary CPU maps of textures that are too big to GTT map.

2013-04-03 Thread Daniel Vetter
, slice); } else { intel_miptree_map_gtt(intel, mt, map, level, slice); } -- 1.7.10.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer

Re: [Mesa-dev] [PATCH 2/3] intel: Do temporary CPU maps of textures that are too big to GTT map.

2013-04-03 Thread Daniel Vetter
://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] intel: Do temporary CPU maps of textures that are too big to GTT map.

2013-04-05 Thread Daniel Vetter
need to have a proper interface for userspace to figure this out. And snoopable bos obviously need a separate cache, otherwise we'll drown in clflush. On the patch: Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 23

Re: [Mesa-dev] [PATCH 3/3] i965: Prefer Y-tiling on Gen6+.

2013-04-08 Thread Daniel Vetter
; return I915_TILING_NONE; } -- 1.8.1.1 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http

Re: [Mesa-dev] [PATCH 3/3] i965: Prefer Y-tiling on Gen6+.

2013-04-08 Thread Daniel Vetter
On Tue, Apr 09, 2013 at 01:17:39AM +0200, Daniel Vetter wrote: On Mon, Apr 08, 2013 at 07:27:38PM -0700, Kenneth Graunke wrote: In the past, we preferred X-tiling for color buffers because our BLT code couldn't handle Y-tiling. However, the BLT paths have been largely replaced by BLORP

Re: [Mesa-dev] new i965g pipe driver for Intel GEN6 (and later)

2013-04-17 Thread Daniel Vetter
with a i830_dri.so - i915_dri.so symlink and the ddx should start to ask for the i830 dri on gen2. Back in the days when I didn't just have little, but provable zero clue I've had some amusement around that on my i855gm trying to use i915g ;-) -Daniel -- Daniel Vetter Software Engineer, Intel

Re: [Mesa-dev] [PATCH] intel: Be more conservative in disabling tiling to save memory.

2013-04-26 Thread Daniel Vetter
and 64b when Y-tiling is possible? Otoh only pre-gen6 would care, so meh. Either way Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch - if (ALIGN(mt-total_width * mt-cpp, 512) = 32768) { + if (ALIGN(minimum_pitch, 512) = 32768) { perf_debug(%dx%d miptree too large to blit, falling

Re: [Mesa-dev] [v2 09/10] egl: dri2: support for creating images out of dma buffers

2013-04-29 Thread Daniel Vetter
://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 0/2] i965/hsw: Set MOCS for surfaces

2013-05-06 Thread Daniel Vetter
don't remember having any trouble like this before. This one here maybe? https://bugs.freedesktop.org/show_bug.cgi?id=63914 Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev

Re: [Mesa-dev] [PATCH mesa] wayland: Disable prime support on buggy kernels

2013-05-10 Thread Daniel Vetter
on the kernel side. Things are solved on the kernel side now I think, and prime fixes are trickling down to all stable releases atm. So I don't think you need any workarounds and we can just enable prime buffer passing in the next mesa release. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation

Re: [Mesa-dev] [v6 2/9] intel: do not create renderbuffers out of planar images

2013-05-30 Thread Daniel Vetter
-eg_image step still gives a useful piece of information to users. Since this sounds like a spec question cc'ing all the people from the original dma_buf_import spec discussions. Yours, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch

Re: [Mesa-dev] [RFC] Mesa 9.2 and release process changes

2013-07-04 Thread Daniel Vetter
patches for backporting, there's no burden on developers to keep track of patches which should get nominated after some testing and still there's a reasonable chance that crap doesn't land in the stable branch. Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57

Re: [Mesa-dev] [PATCH 05/13] i965: Delete the data cache is the sampler cache comments on Gen7+.

2013-07-11 Thread Daniel Vetter
, brw-shader_time.bo, 0, -- 1.8.3.2 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365

Re: [Mesa-dev] [PATCH 3/5] i965/hsw: Change L3 MOCS of SURFACE_STATE

2013-07-19 Thread Daniel Vetter
, and they can happen even if mesa _never_ access the bo from the gpu with cached mocs settings or with the cpu. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev

Re: [Mesa-dev] [PATCH 16/20] radeonsi: add FMASK texture binding slots and resource setup

2013-08-11 Thread Daniel Vetter
is directly driven by vm pressure. Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa

Re: [Mesa-dev] Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Daniel Vetter
in _mesa_ClientWaitSync (if the driver sets syncObject-Status correctly). So I guess the current kernel code should work as-is and only the libdrm interface needs some colour adjustments around the timeout parameter. -Daniel -- Daniel Vetter daniel.vet...@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch

Re: [Mesa-dev] Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-31 Thread Daniel Vetter
libdrm doesn't make much sense imo. -Daniel -- Daniel Vetter daniel.vet...@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 3/3] intel: wait render timeout implementation

2012-06-06 Thread Daniel Vetter
mailing list dri-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org

Re: [Mesa-dev] [PATCH 2/2 v4] intel: wait render timeout implementation

2012-06-07 Thread Daniel Vetter
param and fallback for older kernels v3: only doing getparam at init prototypes now have a signed input value v4: update comments fall back to correct polling behavior with new userspace and old kernel Cc: Eric Anholt e...@anholt.net Cc: Daniel Vetter daniel.vet...@ffwll.ch Signed-off

Re: [Mesa-dev] [Intel-gfx] [RFC] [PATCH] i965: better ClientWaitSync

2012-06-07 Thread Daniel Vetter
-StatusFlag = 1; drm_intel_bo_unreference(sync-bo); sync-bo = NULL; -- 1.7.10.3 ___ Intel-gfx mailing list intel-...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Mail: dan...@ffwll.ch

Re: [Mesa-dev] [PATCH v5] intel: wait render timeout implementation

2012-06-08 Thread Daniel Vetter
in this function instead. As Daniel pointed out, the polling case (timeout == 0) should also return -ETIME. Cc: Eric Anholt e...@anholt.net Cc: Daniel Vetter daniel.vet...@ffwll.ch Signed-off-by: Ben Widawsky b...@bwidawsk.net Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch --- intel

Re: [Mesa-dev] [PATCH] i915g: Fix depth/stencil glClear

2012-06-10 Thread Daniel Vetter
) is executed instead of glClear(DEPTH)/glClear(STENCIL). Woot, nice catch - iirc this problem elluded me for about a year, i.e. since I've enabled hw clears. Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch Do you have commit access or should I do that? Yours, Daniel --- src/gallium/drivers/i915

Re: [Mesa-dev] [PATCH 00/25] i915 HW context support

2012-06-14 Thread Daniel Vetter
patches directly and only applied the minimal change to get rid of object-context_id. Please commit the i-g-t testcase so that qa can start testing this aspa. Cheers, Daniel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48 ___ mesa-dev

[Mesa-dev] [PATCH 0/3] gen6+ pipe control fixes for queries

2012-06-26 Thread Daniel Vetter
grossly oversized) works around the issue. These patches here don't fix this major issue, but at least a few other things. Cheers, Daniel Daniel Vetter (3): i965: tackle the occlusion query pipe control mess i965: we want 64bit writes for depth count i965: adjust gen6+ timestamp

[Mesa-dev] [PATCH 1/3] i965: tackle the occlusion query pipe control mess

2012-06-26 Thread Daniel Vetter
- Separate out the depth stall from the depth count write, workarounds say that a depth stall needs to be preceeded with a non-zero post-sync op. - Implement the cs stall workaround like the kernel does. I've hoped that this would fix a occlusion query issue on snb, but alas, it doesn't seem

[Mesa-dev] [PATCH 2/3] i965: we want 64bit writes for depth count

2012-06-26 Thread Daniel Vetter
... and the hardware seems to take the lenght of the pipe control command to indicate whether the write is 64bit or 32bit. Which makes sense for immediate writes. I've discovered this by writing a pattern into the query object bo and noticing that the high 32bits are left intact, even on those

[Mesa-dev] [PATCH 3/3] i965: adjust gen6+ timestamp pipe_control writes

2012-06-26 Thread Daniel Vetter
Similar treatment to the depth count pipe_control writes - Add the CS_STALL workaround, timestamp writes are non-zero post-sync ops, too. - Also ensure that we write the full 64bits by using the 5 dword long variant of pipe_control. --- src/mesa/drivers/dri/i965/brw_queryobj.c | 32

Re: [Mesa-dev] [PATCH 2/3] i965: we want 64bit writes for depth count

2012-07-02 Thread Daniel Vetter
On Sun, Jul 01, 2012 at 07:59:56PM -0700, Kenneth Graunke wrote: On 06/26/2012 07:28 AM, Daniel Vetter wrote: ... and the hardware seems to take the lenght of the pipe control command to indicate whether the write is 64bit or 32bit. Which makes sense for immediate writes. I've

Re: [Mesa-dev] [PATCH 3/3] i965: adjust gen6+ timestamp pipe_control writes

2012-07-02 Thread Daniel Vetter
On Sun, Jul 01, 2012 at 08:10:49PM -0700, Kenneth Graunke wrote: On 06/26/2012 07:28 AM, Daniel Vetter wrote: Similar treatment to the depth count pipe_control writes - Add the CS_STALL workaround, timestamp writes are non-zero post-sync ops, too. - Also ensure that we write the full

[Mesa-dev] [PATCH 2/4] i965: we want 64bit writes for depth count

2012-07-20 Thread Daniel Vetter
... and the hardware seems to take the lenght of the pipe control command to indicate whether the write is 64bit or 32bit. Which makes sense for immediate writes. I've discovered this by writing a pattern into the query object bo and noticing that the high 32bits are left intact, even on those

[Mesa-dev] [PATCH 1/4] i965: tackle the occlusion query pipe control mess

2012-07-20 Thread Daniel Vetter
- Separate out the depth stall from the depth count write, workarounds say that a depth stall needs to be preceeded with a non-zero post-sync op. - Implement the cs stall workaround like the kernel does. I've hoped that this would fix a occlusion query issue on snb, but alas, it doesn't seem

[Mesa-dev] [PATCH 3/4] i965: adjust gen6+ timestamp pipe_control writes

2012-07-20 Thread Daniel Vetter
Similar treatment to the depth count pipe_control writes - Add the CS_STALL workaround, timestamp writes are non-zero post-sync ops, too. - Also ensure that we write the full 64bits by using the 5 dword long variant of pipe_control. v2: Implement |(5-2) suggestion from Kenneth Graunke. ---

[Mesa-dev] [PATCH 4/4] i965: make the length for PIPE_CONTROL explicit

2012-07-20 Thread Daniel Vetter
PIPE_CONTROL has variable length, depending upon gen and whether we write out 32bit or 64bit. So make this explicit. Suggested by Kenneth Graunke. --- src/mesa/drivers/dri/i965/brw_queryobj.c | 22 +++--- src/mesa/drivers/dri/i965/gen6_vs_state.c |2 +-

Re: [Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Daniel Vetter
need a CS stall, which needs a stall at scoreboard. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch Signed-off-by: Kenneth Graunke kenn...@whitecape.org In my understanding of Bspec (haven't done any experiments on hw) we need to set the depth stall bit on the pipe_control

Re: [Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Daniel Vetter
On Wed, Aug 08, 2012 at 09:41:44AM +0200, Daniel Vetter wrote: On Tue, Aug 07, 2012 at 04:05:33PM -0700, Kenneth Graunke wrote: Separate out the depth stall from the depth count write. Workarounds say that a depth stall needs to be preceeded with a non-zero post-sync op (in this case

Re: [Mesa-dev] [PATCH v2] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Daniel Vetter
Vetter daniel.vet...@ffwll.ch Cc: Eric Anholt e...@anholt.net Signed-off-by: Kenneth Graunke kenn...@whitecape.org v2 lsooks good to me now. Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48

Re: [Mesa-dev] [PATCH] llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED.

2012-12-04 Thread Daniel Vetter
the monotonic clock, leading to nice unified timestamps accross all things linux media. Hence I think pipe queries should do the same, just for consistency. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch

[Mesa-dev] [PATCH 02/13] i915g: s/hw_tiled/tiling

2010-11-19 Thread Daniel Vetter
More in line with other intel drivers. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/gallium/drivers/i915/i915_resource.h |4 ++-- src/gallium/drivers/i915/i915_resource_texture.c |8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src

[Mesa-dev] [PATCH 05/13] i915g: kill buf-map_gtt

2010-11-19 Thread Daniel Vetter
Not using the gtt is considered harmful for performance. And for partial uploads there's always drm_intel_bo_subdata. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/gallium/winsys/i915/drm/i915_drm_buffer.c | 16 ++-- src/gallium/winsys/i915/drm/i915_drm_winsys.h

[Mesa-dev] [PATCH 03/13] i915g: add pineview pci ids

2010-11-19 Thread Daniel Vetter
Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/gallium/drivers/i915/i915_reg.h|2 ++ src/gallium/drivers/i915/i915_screen.c |8 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/i915/i915_reg.h b/src/gallium/drivers/i915

[Mesa-dev] [PATCH 00/13] execbuf2 support for i915g

2010-11-19 Thread Daniel Vetter
]. i915g is still in a very sorry state: - crashes with BadDrawable on GLXFBconfig changes (and desdruction) with openaren. - hangs the chip after a few minutes. - ... Anyway, I've decided to submit the first batch of patches. Comments and reviews highly welcome. Thanks, Daniel Daniel Vetter (13

[Mesa-dev] [PATCH 06/13] i915g: kill idws-pool

2010-11-19 Thread Daniel Vetter
The drm winsys only ever handles one gem memory manager. Rip out the unnecessary complication. --- src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c |2 +- src/gallium/winsys/i915/drm/i915_drm_buffer.c |9 ++--- src/gallium/winsys/i915/drm/i915_drm_winsys.c |6 +++---

[Mesa-dev] [PATCH 08/13] i915g: add winsys function to create tiled buffers

2010-11-19 Thread Daniel Vetter
Different kernels have different restrictions for tiled buffers. Hence use the libdrm abstraction to calculate the necessary stride and height alignment requirements. Not yet used. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/gallium/drivers/i915/i915_winsys.h|8

[Mesa-dev] [PATCH 09/13] i915g: switch to tiled allocations, kill set_fence

2010-11-19 Thread Daniel Vetter
This way relaxed fencing is handled by libdrm. And buffers _can't_ ever change their tiling. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/gallium/drivers/i915/i915_resource_texture.c | 16 ++-- src/gallium/drivers/i915/i915_winsys.h |9 - src

[Mesa-dev] [PATCH 10/13] i915g: prepare winsys/batchbuffer for execbuf2

2010-11-19 Thread Daniel Vetter
Wire up a fenced parameter, switch all relocations to _FENCED Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/gallium/drivers/i915/i915_batch.h |5 ++- src/gallium/drivers/i915/i915_batchbuffer.h|4 +- src/gallium/drivers/i915/i915_blit.c

[Mesa-dev] [PATCH 12/13] i915g: implement unfenced colordepth buffer using tiling bits

2010-11-19 Thread Daniel Vetter
Also change the vbo reloc to unfenced - tiled vbos are not a great idea ;-) Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/gallium/drivers/i915/i915_context.h|3 +-- src/gallium/drivers/i915/i915_reg.h|2 ++ src/gallium/drivers/i915/i915_state_emit.c | 12

[Mesa-dev] [PATCH 13/13] i915g: implement unfenced relocs for textures using tiling bits

2010-11-19 Thread Daniel Vetter
Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/gallium/drivers/i915/i915_reg.h |5 - src/gallium/drivers/i915/i915_state_sampler.c |3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/i915/i915_reg.h b/src/gallium/drivers

Re: [Mesa-dev] [PATCH 00/13] execbuf2 support for i915g

2010-11-20 Thread Daniel Vetter
doing so). Cheers, Daniel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [Mesa3d-dev] [PATCH] invalidate dri2 buffers more often/pageflip related screen flickering

2011-01-09 Thread Daniel Vetter
Hi Jesse, On Sat, Jan 08, 2011 at 03:10:03PM -0800, Jesse Barnes wrote: On Sat, 8 Jan 2011 16:02:09 +0100 Daniel Vetter daniel.vet...@ffwll.ch wrote: I've been tracking down an annoying flickering problem on intel hw that completely disappears with vblank_mode=0. Some add-hoc tracing all

Re: [Mesa-dev] [PATCH] intel: Fix accum buffer mapping since the swrast rework.

2012-01-25 Thread Daniel Vetter
of ||? No, because irb is NULL, so the following references would segfault. The condition checks for !irb, so with the we will deref irb only if it is NULL. I haven't checked the code and generally got squat clue about all this ... -Daniel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0

[Mesa-dev] [PATCH] i965: fixup W-tile offset computation to take swizzling into account

2012-03-02 Thread Daniel Vetter
that swizzling is enable, but it isn't. The kernel commit that fixes this for backport to pre-v3.2 is commit acc83eb5a1e0ae7dbbf89ca2a1a943ade224bb84 Author: Daniel Vetter daniel.vet...@ffwll.ch Date: Mon Sep 12 20:49:16 2011 +0200 drm/i915: fix swizzling on gen6+ But if the kernel doesn't lie

Re: [Mesa-dev] [PATCH] intel: Improve teximage perf for Google Chrome paint rects

2012-09-11 Thread Daniel Vetter
*/ if (dims != 2 || !intel_blit_texsubimage(ctx, texImage, xoffset, yoffset, -- 1.7.12 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel

Re: [Mesa-dev] [PATCH] intel: Improve teximage perf for Google Chrome paint rects

2012-09-13 Thread Daniel Vetter
On Thu, Sep 13, 2012 at 04:22:20PM +0300, Chad Versace wrote: On 09/11/2012 10:40 PM, Daniel Vetter wrote: Only quick read-through but I'd have expected a has_llc check in there - if vlv is anything like the previous platforms wc gtt will be much faster there. I'm not too familiar

Re: [Mesa-dev] FOSDEM2013: DevRoom or not?

2012-09-28 Thread Daniel Vetter
). Or something else. To make the intel roundup complete: Chris, can I volunteer you to give another stab at an updates from flatland talk? Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-07 Thread Daniel Vetter
-- 1.7.11.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-08 Thread Daniel Vetter
;-) -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gallium/xorg st/nv50/i915: add PIPE_BIND_CURSOR

2011-05-02 Thread Daniel Vetter
Vetter daniel.vet...@ffwll.ch -- Daniel Vetter daniel.vet...@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gallium/xorg st/nv50/i915: add PIPE_BIND_CURSOR

2011-05-02 Thread Daniel Vetter
-checking the code. On the other hand, that part is broken, it needs a tex-tiling = I915_TILE_NONE; and perhaps some check that width == height == 64 indeed holds. Then move it out as the first if clause and it'd start to make sense ... -Daniel -- Daniel Vetter daniel.vet...@ffwll.ch - +41 (0

Re: [Mesa-dev] [PATCH] gallium/xorg st/nv50/i915: add PIPE_BIND_CURSOR

2011-05-03 Thread Daniel Vetter
On Mon, May 2, 2011 at 8:40 PM, Marcin Slusarz marcin.slus...@gmail.com wrote: On Mon, May 02, 2011 at 03:11:00PM +0200, Daniel Vetter wrote: On Mon, May 2, 2011 at 2:56 PM, Benjamin Franzke benjaminfran...@googlemail.com wrote: I think in i915g the CURSOR flag should be used

Re: [Mesa-dev] [PATCH 0/6] Support for 10 bpc EGLSurface

2013-09-16 Thread Daniel Vetter
the pixel format to gbm so we can generate buffers with that format. Creating 10bpc rgb framebuffers also works with the old addfb ioctl, same for rbg565 and rgb555. Heck even c8 palette mode works ;-) Just so you don't unduly restrict the wayland/weston support here ... Cheers, Daniel -- Daniel Vetter

Re: [Mesa-dev] [PATCH 4/7] i965/blorp: Use R16_UNORM for Z32F surfaces.

2013-10-08 Thread Daniel Vetter
: this-brw_surfaceformat = BRW_SURFACEFORMAT_R16_UNORM; break; -- 1.8.3.2 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57

Re: [Mesa-dev] [PATCH 6/7] i965/blorp: Rework sRGB override behavior.

2013-10-08 Thread Daniel Vetter
-by: Daniel Vetter daniel.vet...@ffwll.ch It's a bit hairy how the outermost blt code needs to check the depth stuff, I'd have prefered to keep that logic in one place. But bubbling that error up the layers looks like a pain, blorp has other similar conditions already and the code seems

[Mesa-dev] [PATCH] i965: CS writes/reads should use I915_GEM_INSTRUCTION

2013-10-09 Thread Daniel Vetter
helper used by the gen6 queryobj code. Cc: Kenneth Graunke kenn...@whitecape.org Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/mesa/drivers/dri/i965/gen6_queryobj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen6_queryobj.c b/src

Re: [Mesa-dev] Possible Sandybridge GPU hang fixes

2013-10-27 Thread Daniel Vetter
. Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 08/18] i965: Wire up initial support for DRI_RENDERER_QUERY extension

2013-11-07 Thread Daniel Vetter
. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 08/18] i965: Wire up initial support for DRI_RENDERER_QUERY extension

2013-11-08 Thread Daniel Vetter
On Thu, Nov 07, 2013 at 04:23:12PM -0800, Ian Romanick wrote: On 11/07/2013 01:33 PM, Daniel Vetter wrote: On Sat, Oct 12, 2013 at 12:10 AM, Ian Romanick i...@freedesktop.org wrote: + /* Once a batch uses more than 75% of the maximum mappable size, we + * assume that there's some

Re: [Mesa-dev] [PATCH 07/18] i915: Wire up initial support for DRI_RENDERER_QUERY extension

2013-11-09 Thread Daniel Vetter
://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 07/18] i915: Wire up initial support for DRI_RENDERER_QUERY extension

2013-11-11 Thread Daniel Vetter
On Mon, Nov 11, 2013 at 11:03:49AM -0800, Ian Romanick wrote: On 11/09/2013 02:44 AM, Daniel Vetter wrote: On Fri, Oct 11, 2013 at 03:10:14PM -0700, Ian Romanick wrote: From: Ian Romanick ian.d.roman...@intel.com Signed-off-by: Ian Romanick ian.d.roman...@intel.com --- src/mesa

Re: [Mesa-dev] [PATCH 2/4] i965: Use drm_intel_get_aperture_sizes instead of hard-coded 2GiB

2013-11-11 Thread Daniel Vetter
. Signed-off-by: Ian Romanick ian.d.roman...@intel.com Cc: Daniel Vetter dan...@ffwll.ch Cc: 10.0 mesa-sta...@lists.freedesktop.org --- src/mesa/drivers/dri/i965/intel_screen.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/i965

Re: [Mesa-dev] [PATCH 2/4] i965: Use drm_intel_get_aperture_sizes instead of hard-coded 2GiB

2013-11-11 Thread Daniel Vetter
On Mon, Nov 11, 2013 at 01:45:43PM -0800, Ian Romanick wrote: On 11/11/2013 01:35 PM, Daniel Vetter wrote: On Mon, Nov 11, 2013 at 11:19:07AM -0800, Ian Romanick wrote: From: Ian Romanick ian.d.roman...@intel.com Systems with little physical memory installed will report less than 2GiB

Re: [Mesa-dev] [PATCH 23/27] i965: Start and stop OA counters as necessary.

2013-11-14 Thread Daniel Vetter
a few questions I wanted to throw out there for consideration, current approach looks fine to me. I've read through the entire pile of patches, so Acked-by: Daniel Vetter daniel.vet...@ffwll.ch on the series. Whatever that's worth ;-) Cheers, Daniel + +/** + * Called at the end of every render

Re: [Mesa-dev] [PATCH] dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888

2013-11-22 Thread Daniel Vetter
, 0, __DRI_IMAGE_FORMAT_XRGB, 4 }, } }, -- 1.8.4.2 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48

Re: [Mesa-dev] [PATCH] dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888

2013-11-22 Thread Daniel Vetter
On Fri, Nov 22, 2013 at 12:01 PM, Keith Packard kei...@keithp.com wrote: Daniel Vetter dan...@ffwll.ch writes: Hm, where do we have the canonical source for all these fourcc codes? I'm asking since we have our own copy in the kernel as drm_fourcc.h, and that one is part of the userspace ABI

Re: [Mesa-dev] [Intel-gfx] [PATCH] dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888

2013-11-25 Thread Daniel Vetter
the different projects anyway, so meh. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] intel: Track known prime buffers for re-use

2013-11-25 Thread Daniel Vetter
/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] intel: Track known prime buffers for re-use

2013-11-26 Thread Daniel Vetter
a small comment saying that the kernel lies. Or just remove it. Either way: Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch Aside: I think drm is the only subsystem that goes out of it's way to ensure a unique relationship between dmabuf and other handles and underlying objects. If you throw

Re: [Mesa-dev] [PATCH] mesa: Define helper function to get the number of texture layers.

2013-12-11 Thread Daniel Vetter
but also no false positive compiler warnings, even in release builds. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org

Re: [Mesa-dev] [PATCH 04/10] i965: Emit full-length PIPE_CONTROLs for (non-write) flushes.

2013-12-13 Thread Daniel Vetter
/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 05/10] i965: Use Global GTT for Sandybridge post-sync non-zero workaround.

2013-12-13 Thread Daniel Vetter
checks whether the write lands) for gen67, this is Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/mesa/drivers/dri/i965/intel_batchbuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri

Re: [Mesa-dev] [PATCH 06/10] i965: Use full-length PIPE_CONTROL packets for workaround writes.

2013-12-13 Thread Daniel Vetter
(and MI_FLUSH_DW, too) have a stern w/a notice on all gen6+ generations that bit5 of the target address must be cleared. I haven't checked existing users, but these here seem safe. So Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch --- src/mesa/drivers/dri/i965/intel_batchbuffer.c | 15 +-- 1

Re: [Mesa-dev] [PATCH 08/10] i965: Introduce an OUT_RELOC64 macro.

2013-12-13 Thread Daniel Vetter
() intel_batchbuffer_cached_advance(brw); -- 1.8.4.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http

Re: [Mesa-dev] [PATCH 08/10] i965: Introduce an OUT_RELOC64 macro.

2013-12-13 Thread Daniel Vetter
On Fri, Dec 13, 2013 at 10:04:53AM -0800, Kenneth Graunke wrote: On 12/13/2013 09:28 AM, Daniel Vetter wrote: On Thu, Dec 12, 2013 at 01:26:40AM -0800, Kenneth Graunke wrote: Broadwell uses 48-bit addresses. The first DWord is the low 32 bits, and the second DWord is the high 16 bits

Re: [Mesa-dev] [PATCH] Don't use libudev for glx/dri3

2013-12-14 Thread Daniel Vetter
do that dance in reverse if we want to have a pci id based lookup. Anyway I've never read through the loader code, just figured it won't hurt if I drop my uninformed opinion ;-) Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch

Re: [Mesa-dev] [PATCH] Don't use libudev for glx/dri3

2013-12-16 Thread Daniel Vetter
On Mon, Dec 16, 2013 at 11:19:56AM -0800, Eric Anholt wrote: Daniel Vetter dan...@ffwll.ch writes: On Sat, Dec 14, 2013 at 3:33 AM, Kenneth Graunke kenn...@whitecape.org wrote: On 11/18/2013 12:58 PM, Emil Velikov wrote: On 18/11/13 01:08, Keith Packard wrote: libudev doesn't have

Re: [Mesa-dev] [PATCH 05/10] i965: Use Global GTT for Sandybridge post-sync non-zero workaround.

2014-01-14 Thread Daniel Vetter
to consult the I915_PARAM_HAS_ALIASING_PPGTT driver param. If it is set then you should use ppgtt as the address space selector. This will even hold for full ppgtt (so a better name would be USES_PPGTT_FOR_EXECBUF, but abi and all that). Cheers, Daniel -- Daniel Vetter Software Engineer, Intel

Re: [Mesa-dev] [PATCH 3/3] i965: Bump MaxTexMbytes from 1GB to 1.5GB.

2014-02-04 Thread Daniel Vetter
) only has 512 MB of aperture ... Also going this high runs the risk that you fool up with fragmentation, but meh. You'd need to get at bufmgr_gem-gtt_size somehow. At least the current code is safe for address spaces 4G. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57

Re: [Mesa-dev] [PATCH] drm: add FOURCC formats for compute dma_buf interop.

2014-03-15 Thread Daniel Vetter
___ dri-devel mailing list dri-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev

Re: [Mesa-dev] [PATCH] drm: add FOURCC formats for compute dma_buf interop.

2014-03-15 Thread Daniel Vetter
On Sat, Mar 15, 2014 at 05:41:05AM +0100, Gwenole Beauchesne wrote: Hi, 2014-03-14 22:52 GMT+01:00 Daniel Vetter dan...@ffwll.ch: On Fri, Mar 14, 2014 at 06:59:21PM +0100, Gwenole Beauchesne wrote: This is a follow-up to: http://lists.freedesktop.org/archives/mesa-dev/2014-March/055742

Re: [Mesa-dev] [PATCH] drm: add FOURCC formats for compute dma_buf interop.

2014-03-19 Thread Daniel Vetter
On Wed, Mar 19, 2014 at 7:30 AM, Gwenole Beauchesne gb.de...@gmail.com wrote: 2014-03-15 12:28 GMT+01:00 Daniel Vetter dan...@ffwll.ch: On Sat, Mar 15, 2014 at 05:41:05AM +0100, Gwenole Beauchesne wrote: Hi, 2014-03-14 22:52 GMT+01:00 Daniel Vetter dan...@ffwll.ch: On Fri, Mar 14, 2014

Re: [Mesa-dev] [rong.r.y...@intel.com: [Intel-gfx] How user space applications load registers on HSW?]

2014-05-13 Thread Daniel Vetter
for the kernel team. --Ken ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch

Re: [Mesa-dev] [Intel-gfx] [PATCH 00/68] Broadwell 48b addressing and prelocations (no relocs)

2014-08-22 Thread Daniel Vetter
poking people to look at this for years. too. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [Mesa-dev] [Intel-gfx] [PATCH 00/68] Broadwell 48b addressing and prelocations (no relocs)

2014-08-22 Thread Daniel Vetter
On Fri, Aug 22, 2014 at 3:38 PM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Fri, Aug 22, 2014 at 03:30:12PM +0200, Daniel Vetter wrote: On Fri, Aug 22, 2014 at 9:03 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: If a GPU client uses only prelocations, the relocation process can

  1   2   3   4   >