Mesa (master): i915g: Update TODO
Module: Mesa Branch: master Commit: d815e8af3944bca5eac7a0638da5529596735aef URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d815e8af3944bca5eac7a0638da5529596735aef Author: Stéphane Marchesin Date: Fri Mar 8 16:16:33 2013 -0800 i915g: Update TODO --- src/gallium/drivers/i915/TODO | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/src/gallium/drivers/i915/TODO b/src/gallium/drivers/i915/TODO index c72f09a..8856a7e 100644 --- a/src/gallium/drivers/i915/TODO +++ b/src/gallium/drivers/i915/TODO @@ -1,19 +1,11 @@ Random list of problems with i915g: -- Add support for PIPE_CAP_POINT_SPRITE either via the draw module or directly - via the hardware, look at the classic driver, more advanced. - - What does this button do? Figure out LIS7 with regards to depth offset. - Dies with BadDrawable on GLXFBconfig changes/destruction. Makes piglit totally unusable :( Upgrading xserver helped here, it doesn't crash anymore. Still broken, it doesn't update the viewport/get new buffers. -- Kills the chip in 3D_PRIMITIVE LINELIST with mesa-demos/fbotexture in - wireframe mode. Changing the cullmode to cw from none mitigates the crash. As - does emitting only one line segment (2 indices) per 3D_PRIMITIVE command in - the batch. - - Y-tiling is even more fun. i915c doesn't use it, maybe there's a reason? Texture sampling from Y-tiled buffers seems to work, though (save above problems). @@ -34,16 +26,13 @@ Random list of problems with i915g: - Replace constants and immediates which are 0,1,-1 or a combination of those with a swizzle. -- i915_delete_fs_state doesn't call draw_delete_fragment_shader. Why? - - Schedule instructions to minimize the number of phases. One way is to replace R registers responsible for a boundary with U registers to avoid phase boundaries. - Continue a previous primitive when there are no state changes -- Switch to the blitter for those buggy blit copies -- Or state save/restore has a bug with u_blitter, fix it. +- Fix fragment discard Other bugs can be found here: https://bugs.freedesktop.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Drivers/Gallium/i915g ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): i915g: Update TODO.
Module: Mesa Branch: master Commit: f41fd6b6c36c825179d509d0763d23bff8cd0c30 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f41fd6b6c36c825179d509d0763d23bff8cd0c30 Author: Stéphane Marchesin Date: Fri Nov 4 16:13:50 2011 -0700 i915g: Update TODO. --- src/gallium/drivers/i915/TODO |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/i915/TODO b/src/gallium/drivers/i915/TODO index f97af86..d52c1c0 100644 --- a/src/gallium/drivers/i915/TODO +++ b/src/gallium/drivers/i915/TODO @@ -40,5 +40,7 @@ Random list of problems with i915g: R registers responsible for a boundary with U registers to avoid phase boundaries. +- Continue a previous primitive when there are no state changes + Other bugs can be found here: https://bugs.freedesktop.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Drivers/Gallium/i915g ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): i915g: Update TODO once more.
Module: Mesa Branch: master Commit: 48555226789f73c0cf72445fb25da9ba66857575 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=48555226789f73c0cf72445fb25da9ba66857575 Author: Stéphane Marchesin Date: Mon Oct 10 16:56:49 2011 -0700 i915g: Update TODO once more. --- src/gallium/drivers/i915/TODO |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/i915/TODO b/src/gallium/drivers/i915/TODO index e529487..0e511ab 100644 --- a/src/gallium/drivers/i915/TODO +++ b/src/gallium/drivers/i915/TODO @@ -28,12 +28,9 @@ Random list of problems with i915g: 4D. Is it a big problem though? We're more limited by the # of texture indirections and the # of instructions. -- Leverage draw to enable more caps: - * PIPE_CAP_TGSI_INSTANCEID - - Finish front/back face. We need to add face support to lp_build_system_values_array and use it in draw_llvm.c. -- More optimizations, like replacing ADD + MUL with MAD. +- More optimizations, like replacing ADD + MUL with MAD or use DP2ADD. - Replace constants and immediates which are 0,1,-1 or a combination of those with a swizzle. ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): i915g: update TODO.
Module: Mesa Branch: master Commit: 2adf02b45639d9d91400d081277783d5bbd20a33 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2adf02b45639d9d91400d081277783d5bbd20a33 Author: Stéphane Marchesin Date: Wed Jun 29 21:59:01 2011 -0700 i915g: update TODO. --- src/gallium/drivers/i915/TODO |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/i915/TODO b/src/gallium/drivers/i915/TODO index b6b91c7..c26db19 100644 --- a/src/gallium/drivers/i915/TODO +++ b/src/gallium/drivers/i915/TODO @@ -39,5 +39,7 @@ Random list of problems with i915g: - Replace constants and immediates which are 0,1,-1 or a combination of those with a swizzle. +- i915_delete_fs_state doesn't call draw_delete_fragment_shader. Why? + Other bugs can be found here: https://bugs.freedesktop.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Drivers/Gallium/i915g ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): i915g: update TODO.
Module: Mesa Branch: master Commit: 4887e1c31a4149020b61ed894c6888b5f91e8d5e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4887e1c31a4149020b61ed894c6888b5f91e8d5e Author: Stéphane Marchesin Date: Mon Jun 27 02:03:45 2011 -0700 i915g: update TODO. --- src/gallium/drivers/i915/TODO | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/i915/TODO b/src/gallium/drivers/i915/TODO index fba1800..e4404d2 100644 --- a/src/gallium/drivers/i915/TODO +++ b/src/gallium/drivers/i915/TODO @@ -26,5 +26,18 @@ Random list of problems with i915g: - src/xvmc/i915_structs.h in xf86-video-intel has a few more bits of various commands defined. Scavenge them and see what's useful. +- Do smarter remapping. Right now we send everything onto tex coords 0-7. + We could also use diffuse/specular and pack two sets of 2D coords in a single + 4D. Is it a big problem though? We're more limited by the # of texture + indirections and the # of instructions. + +- Leverage draw to enable more caps: + * PIPE_CAP_TGSI_INSTANCEID + * PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR + * PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS + +- Finish front/back face. This would need EMIT_1F_FACE or adding a couple of + instructions in the shader. + Other bugs can be found here: https://bugs.freedesktop.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Drivers/Gallium/i915g ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): i915g: update TODO
Module: Mesa Branch: master Commit: f95892b46a9a6b5d90437998ef9a3babd55e9c7d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f95892b46a9a6b5d90437998ef9a3babd55e9c7d Author: Daniel Vetter Date: Sun Mar 6 00:37:46 2011 +0100 i915g: update TODO Comments about the deleted stuff: - openaren hang: likely caused by the vertex corruptions, fixed by Jakob. - tiling: Y-tiling works with my hw-clear branch. X-tiling works as merged to master a while ago (execbuf2 version). Signed-off-by: Daniel Vetter --- src/gallium/drivers/i915/TODO | 17 +++-- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/gallium/drivers/i915/TODO b/src/gallium/drivers/i915/TODO index f4e1423..fba1800 100644 --- a/src/gallium/drivers/i915/TODO +++ b/src/gallium/drivers/i915/TODO @@ -12,22 +12,19 @@ Random list of problems with i915g: unusable :( Upgrading xserver helped here, it doesn't crash anymore. Still broken, it doesn't update the viewport/get new buffers. -- Tends to hang the chip after a few minutes of openarena. Looks tiling related, - at the last frame rendered has tiling corruption over the complete frame. - - Kills the chip in 3D_PRIMITIVE LINELIST with mesa-demos/fbotexture in - wireframe mode. - -- Tiling is funny: If unlucky, it renders/samples all black. No clue yet what's - going on. Seems to depend on tiny details like whethever the sampler - relocation is fenced/unfenced (broken _with_ fenced reloc using tiling bits!). + wireframe mode. Changing the cullmode to cw from none mitigates the crash. As + does emitting only one line segment (2 indices) per 3D_PRIMITIVE command in + the batch. - Y-tiling is even more fun. i915c doesn't use it, maybe there's a reason? Texture sampling from Y-tiled buffers seems to work, though (save above problems). + RESOLVED: Y-tiling works with the render engine, but not with the blitter. + Use u_blitter and hw clears (PRIM3D_CLEAR_RECT). -- Need to validate buffers before usage. Currently do_exec on the batchbuffer - can fail with -ENOSPC. +- src/xvmc/i915_structs.h in xf86-video-intel has a few more bits of various + commands defined. Scavenge them and see what's useful. Other bugs can be found here: https://bugs.freedesktop.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Drivers/Gallium/i915g ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit