Re: [Mesa-dev] [PATCH] freedreno: document debug flag
Ping? Anything wrong with it? On Tue, Mar 26, 2013 at 2:48 PM, Erik Faye-Lund kusmab...@gmail.com wrote: Signed-off-by: Erik Faye-Lund kusmab...@gmail.com --- Here you go, a version of the patch prepared for git-am src/gallium/docs/source/debugging.rst | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index e081cbf..dc308e5 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG flags (0x0) + +Debug :ref:`flags` for the freedreno driver. + .. _flags: -- 1.8.1.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] freedreno: document debug flag
On Thu, Apr 4, 2013 at 4:32 PM, Brian Paul bri...@vmware.com wrote: On 04/04/2013 05:20 AM, Erik Faye-Lund wrote: Ping? Anything wrong with it? Looks OK to me. Do you need someone to commit for you? Well, I don't have commit access. But I was expecting to see rob pick it up and push it out the next time he had some updates, but I can't see it in his repo either. Either would be fine by me. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [PATCH] freedreno: document debug flag
Signed-off-by: Erik Faye-Lund kusmab...@gmail.com --- Here you go, a version of the patch prepared for git-am src/gallium/docs/source/debugging.rst | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index e081cbf..dc308e5 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG flags (0x0) + +Debug :ref:`flags` for the freedreno driver. + .. _flags: -- 1.8.1.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [PATCH] freedreno: document debug flag
Signed-off-by: Erik Faye-Lund kusmab...@gmail.com --- I just peeked into the freedreno code, and noticed that it had some undocumented debug-code. Perhaps it could make sense to document it, like this? src/gallium/docs/source/debugging.rst | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index e081cbf..3257618 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG bool (false) + +Output debug information for the freedreno driver. + .. _flags: -- 1.8.1.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] freedreno: document debug flag
On Mon, Mar 25, 2013 at 6:25 PM, Erik Faye-Lund kusmab...@gmail.com wrote: Signed-off-by: Erik Faye-Lund kusmab...@gmail.com --- I just peeked into the freedreno code, and noticed that it had some undocumented debug-code. Perhaps it could make sense to document it, like this? src/gallium/docs/source/debugging.rst | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index e081cbf..3257618 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG bool (false) + +Output debug information for the freedreno driver. + OK, so it turns out I was a bit trigger-happy. This isn't a normal bool, it's a bitflag. So perhaps something like this instead? diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index 3257618..8658412 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,9 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. -.. envvar:: FD_MESA_DEBUG bool (false) +.. envvar:: FD_MESA_DEBUG bitflag (false) -Output debug information for the freedreno driver. +Output debug information for the freedreno driver. Bit #0 enables debug +prints, while bit #1 enables TGSI and ASM dumps. .. _flags: ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] freedreno: document debug flag
On Mon, Mar 25, 2013 at 6:36 PM, Erik Faye-Lund kusmab...@gmail.com wrote: On Mon, Mar 25, 2013 at 6:25 PM, Erik Faye-Lund kusmab...@gmail.com wrote: Signed-off-by: Erik Faye-Lund kusmab...@gmail.com --- I just peeked into the freedreno code, and noticed that it had some undocumented debug-code. Perhaps it could make sense to document it, like this? src/gallium/docs/source/debugging.rst | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index e081cbf..3257618 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG bool (false) + +Output debug information for the freedreno driver. + OK, so it turns out I was a bit trigger-happy. This isn't a normal bool, it's a bitflag. So perhaps something like this instead? diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index 3257618..8658412 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,9 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. -.. envvar:: FD_MESA_DEBUG bool (false) +.. envvar:: FD_MESA_DEBUG bitflag (false) -Output debug information for the freedreno driver. +Output debug information for the freedreno driver. Bit #0 enables debug +prints, while bit #1 enables TGSI and ASM dumps. .. _flags: ...and with Rob's recent commit, I guess it should be: diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/deb index e081cbf..dc308e5 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG flags (0x0) + +Debug :ref:`flags` for the freedreno driver. + .. _flags: ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] freedreno: document debug flag
On Mon, Mar 25, 2013 at 3:27 PM, Erik Faye-Lund kusmab...@gmail.com wrote: On Mon, Mar 25, 2013 at 6:36 PM, Erik Faye-Lund kusmab...@gmail.com wrote: On Mon, Mar 25, 2013 at 6:25 PM, Erik Faye-Lund kusmab...@gmail.com wrote: Signed-off-by: Erik Faye-Lund kusmab...@gmail.com --- I just peeked into the freedreno code, and noticed that it had some undocumented debug-code. Perhaps it could make sense to document it, like this? src/gallium/docs/source/debugging.rst | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index e081cbf..3257618 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG bool (false) + +Output debug information for the freedreno driver. + OK, so it turns out I was a bit trigger-happy. This isn't a normal bool, it's a bitflag. So perhaps something like this instead? diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index 3257618..8658412 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,9 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. -.. envvar:: FD_MESA_DEBUG bool (false) +.. envvar:: FD_MESA_DEBUG bitflag (false) -Output debug information for the freedreno driver. +Output debug information for the freedreno driver. Bit #0 enables debug +prints, while bit #1 enables TGSI and ASM dumps. .. _flags: ...and with Rob's recent commit, I guess it should be: diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/deb index e081cbf..dc308e5 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG flags (0x0) + +Debug :ref:`flags` for the freedreno driver. + care to squash that down into one patch, and I'll push? BR, -R .. _flags: ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] freedreno: document debug flag
On Mon, Mar 25, 2013 at 9:28 PM, Rob Clark robdcl...@gmail.com wrote: On Mon, Mar 25, 2013 at 3:27 PM, Erik Faye-Lund kusmab...@gmail.com wrote: On Mon, Mar 25, 2013 at 6:36 PM, Erik Faye-Lund kusmab...@gmail.com wrote: On Mon, Mar 25, 2013 at 6:25 PM, Erik Faye-Lund kusmab...@gmail.com wrote: Signed-off-by: Erik Faye-Lund kusmab...@gmail.com --- I just peeked into the freedreno code, and noticed that it had some undocumented debug-code. Perhaps it could make sense to document it, like this? src/gallium/docs/source/debugging.rst | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index e081cbf..3257618 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG bool (false) + +Output debug information for the freedreno driver. + OK, so it turns out I was a bit trigger-happy. This isn't a normal bool, it's a bitflag. So perhaps something like this instead? diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index 3257618..8658412 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,9 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. -.. envvar:: FD_MESA_DEBUG bool (false) +.. envvar:: FD_MESA_DEBUG bitflag (false) -Output debug information for the freedreno driver. +Output debug information for the freedreno driver. Bit #0 enables debug +prints, while bit #1 enables TGSI and ASM dumps. .. _flags: ...and with Rob's recent commit, I guess it should be: diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/deb index e081cbf..dc308e5 100644 --- a/src/gallium/docs/source/debugging.rst +++ b/src/gallium/docs/source/debugging.rst @@ -81,6 +81,10 @@ Debug :ref:`flags` for the llvmpipe driver. Number of threads that the llvmpipe driver should use. +.. envvar:: FD_MESA_DEBUG flags (0x0) + +Debug :ref:`flags` for the freedreno driver. + care to squash that down into one patch, and I'll push? Well, that IS one patch. But you might want something for git-am? I'll send one a bit later, sure! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev