Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Mauro Carvalho Chehab wrote: > Em Fri, 01 Jul 2016 20:24:48 +0300 > Jani Nikula escreveu: >> The current media DocBook docs are a prime example. There are really >> great features there, but IMHO done in a really complicated way and >> specifically

Re: [PATCH 1/6] lib: string: add function strtolower()

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Markus Mayer <markus.ma...@broadcom.com> wrote: > On 1 July 2016 at 03:52, Jani Nikula <jani.nik...@linux.intel.com> wrote: >> On Fri, 01 Jul 2016, Markus Mayer <mma...@broadcom.com> wrote: >>> Add a function called strtolower() to conver

Re: [PATCH 1/6] lib: string: add function strtolower()

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Markus Mayer wrote: > On 1 July 2016 at 03:52, Jani Nikula wrote: >> On Fri, 01 Jul 2016, Markus Mayer wrote: >>> Add a function called strtolower() to convert strings to lower case >>> in-place, overwriting the original string. >>&

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Markus Heiser <markus.hei...@darmarit.de> wrote: > Am 01.07.2016 um 14:58 schrieb Jonathan Corbet <cor...@lwn.net>: > >> On Fri, 01 Jul 2016 13:44:17 +0300 >> Jani Nikula <jani.nik...@intel.com> wrote: >> >>> This is

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Markus Heiser wrote: > Am 01.07.2016 um 14:58 schrieb Jonathan Corbet : > >> On Fri, 01 Jul 2016 13:44:17 +0300 >> Jani Nikula wrote: >> >>> This is also one of the reasons why I so much want to keep everything >>> behind on

Re: [docs-next PATCH] Documentation/sphinx: skip build if user requested specific DOCBOOKS

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Mauro Carvalho Chehab <mche...@osg.samsung.com> wrote: > Em Fri, 1 Jul 2016 15:24:44 +0300 > Jani Nikula <jani.nik...@intel.com> escreveu: > >> If the user requested specific DocBooks to be built using 'make >> DOCBOOKS=foo.xml htmldocs',

Re: [docs-next PATCH] Documentation/sphinx: skip build if user requested specific DOCBOOKS

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Mauro Carvalho Chehab wrote: > Em Fri, 1 Jul 2016 15:24:44 +0300 > Jani Nikula escreveu: > >> If the user requested specific DocBooks to be built using 'make >> DOCBOOKS=foo.xml htmldocs', assume no Sphinx build is desired. This >> check is trans

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
eople to easily use different themes. That said, rendering big tables in the RTD theme is definitely an issue. I'd also aim to be fairly conservative at first in terms of the rst features and Sphinx extensions we use. Keep it simple. It's really easy to go overboard in the beginning. See how things

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
themes. That said, rendering big tables in the RTD theme is definitely an issue. I'd also aim to be fairly conservative at first in terms of the rst features and Sphinx extensions we use. Keep it simple. It's really easy to go overboard in the beginning. See how things pan out and gradually extend fr

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Markus Heiser <markus.hei...@darmarit.de> wrote: > Am 01.07.2016 um 13:56 schrieb Jani Nikula <jani.nik...@intel.com>: > >> On Fri, 01 Jul 2016, Markus Heiser <markus.hei...@darmarit.de> wrote: >>> Am 01.07.2016 um 12:44 sch

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Markus Heiser wrote: > Am 01.07.2016 um 13:56 schrieb Jani Nikula : > >> On Fri, 01 Jul 2016, Markus Heiser wrote: >>> Am 01.07.2016 um 12:44 schrieb Jani Nikula : >>> >>>> On Fri, 01 Jul 2016, Mauro Carvalho Chehab wrote: >&g

[docs-next PATCH] Documentation/sphinx: skip build if user requested specific DOCBOOKS

2016-07-01 Thread Jani Nikula
<mche...@osg.samsung.com> Fixes: 22cba31bae9d ("Documentation/sphinx: add basic working Sphinx configuration and build") Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/Makefile.sphinx | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/Mak

[docs-next PATCH] Documentation/sphinx: skip build if user requested specific DOCBOOKS

2016-07-01 Thread Jani Nikula
phinx: add basic working Sphinx configuration and build") Signed-off-by: Jani Nikula --- Documentation/Makefile.sphinx | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sphinx index 6c203745b6c6..d8d13c92a178 100644 --- a/Doc

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
t 'htmldocs' failed > make: *** [htmldocs] Error 2 This is just because there isn't a DocBook called linux_tv. DOCBOOKS means nothing to Sphinx, it's only relevant for DocBook build. Top level 'make help' lists the valid values for DOCBOOKS. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
r 2 This is just because there isn't a DocBook called linux_tv. DOCBOOKS means nothing to Sphinx, it's only relevant for DocBook build. Top level 'make help' lists the valid values for DOCBOOKS. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

[docs-next PATCH] Documentation: add cleanmediadocs to the documentation targets

2016-07-01 Thread Jani Nikula
sphinx: add basic working Sphinx configuration and build") Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- This fixes 'make cleanmediadocs' on docs-next, but I don't think this is the problem Mauro is seeing. --- Documentation/Makefile.sphinx | 1 + Makefile

[docs-next PATCH] Documentation: add cleanmediadocs to the documentation targets

2016-07-01 Thread Jani Nikula
Signed-off-by: Jani Nikula --- This fixes 'make cleanmediadocs' on docs-next, but I don't think this is the problem Mauro is seeing. --- Documentation/Makefile.sphinx | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/Makefil

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Markus Heiser <markus.hei...@darmarit.de> wrote: > Am 01.07.2016 um 12:44 schrieb Jani Nikula <jani.nik...@intel.com>: > >> On Fri, 01 Jul 2016, Mauro Carvalho Chehab <mche...@osg.samsung.com> wrote: >>> Not being able to compile just

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
On Fri, 01 Jul 2016, Markus Heiser wrote: > Am 01.07.2016 um 12:44 schrieb Jani Nikula : > >> On Fri, 01 Jul 2016, Mauro Carvalho Chehab wrote: >>> Not being able to compile just one docbook is a regression and breaks >>> my process. This needs to be fixed. &

Re: [PATCH 1/6] lib: string: add function strtolower()

2016-07-01 Thread Jani Nikula
dentation? See scripts/checkpatch.pl. > + > + for (p = s; *p; p++) > + *p = tolower(*p); > + > + return s; Why does it return a value? Could be void? BR, Jani. > +} > +EXPORT_SYMBOL(strtolower); -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH 1/6] lib: string: add function strtolower()

2016-07-01 Thread Jani Nikula
for (p = s; *p; p++) > + *p = tolower(*p); > + > + return s; Why does it return a value? Could be void? BR, Jani. > +} > +EXPORT_SYMBOL(strtolower); -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
for digging into this and reporting issues that you do face. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH] doc: flat-table directive

2016-07-01 Thread Jani Nikula
you do face. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-29 Thread Jani Nikula
On Wed, 29 Jun 2016, Markus Heiser <markus.hei...@darmarit.de> wrote: > Am 28.06.2016 um 21:05 schrieb Jani Nikula <jani.nik...@intel.com>: >> Perhaps you misunderstood, I don't know. When we ask you to rebase your >> work on something, in this case docs-next, it gene

Re: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-29 Thread Jani Nikula
On Wed, 29 Jun 2016, Markus Heiser wrote: > Am 28.06.2016 um 21:05 schrieb Jani Nikula : >> Perhaps you misunderstood, I don't know. When we ask you to rebase your >> work on something, in this case docs-next, it generally means, accept >> what is there, and iteratively

Re: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-28 Thread Jani Nikula
T" > doc-rst: removed Jani's kernel-documentation.rst and index.rst > doc-rst: infrastructure for *loose reST articles* > doc-rst: add build-html decription to book-help. > doc-rst: kernel-doc parser assert absolute pathname > doc-rst: infrastructure for migrated DocBook-XML > doc-rst: full DocBook-XML to reST migration (docs-next) > -- Jani Nikula, Intel Open Source Technology Center

Re: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-28 Thread Jani Nikula
Jani's kernel-documentation.rst and index.rst > doc-rst: infrastructure for *loose reST articles* > doc-rst: add build-html decription to book-help. > doc-rst: kernel-doc parser assert absolute pathname > doc-rst: infrastructure for migrated DocBook-XML > doc-rst: full DocBook-XML to reST migration (docs-next) > -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH] drm/i915: fix build errors when ACPI is not enabled

2016-06-28 Thread Jani Nikula
On Tue, 28 Jun 2016, Chris Wilson <ch...@chris-wilson.co.uk> wrote: > On Mon, Jun 27, 2016 at 02:53:19PM +0300, Jani Nikula wrote: >> From: Randy Dunlap <rdun...@infradead.org> >> >> Fix build errors when ACPI is not enabled by adding function stubs: >>

Re: [PATCH] drm/i915: fix build errors when ACPI is not enabled

2016-06-28 Thread Jani Nikula
On Tue, 28 Jun 2016, Chris Wilson wrote: > On Mon, Jun 27, 2016 at 02:53:19PM +0300, Jani Nikula wrote: >> From: Randy Dunlap >> >> Fix build errors when ACPI is not enabled by adding function stubs: >> >> ../drivers/gpu/drm/i915/i915_drv.c: In function 'i91

[PATCH] drm/i915: fix build errors when ACPI is not enabled

2016-06-27 Thread Jani Nikula
ration] intel_opregion_register(dev_priv); Signed-off-by: Randy Dunlap <rdun...@infradead.org> Cc: Daniel Vetter <daniel.vet...@intel.com> Cc: Jani Nikula <jani.nik...@linux.intel.com> Cc: intel-...@lists.freedesktop.org Cc: dri-de...@lists.freedesktop.org Fixes: 03d92e4779b8 ("drm/i9

[PATCH] drm/i915: fix build errors when ACPI is not enabled

2016-06-27 Thread Jani Nikula
); Signed-off-by: Randy Dunlap Cc: Daniel Vetter Cc: Jani Nikula Cc: intel-...@lists.freedesktop.org Cc: dri-de...@lists.freedesktop.org Fixes: 03d92e4779b8 ("drm/i915/opregion: Rename init/fini functions to register/unregister") Cc: drm-intel-fi...@lists.freedesktop.org Cc: Chris Wil

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-23 Thread Jani Nikula
On Thu, 23 Jun 2016, Steven Newbury <st...@snewbury.org.uk> wrote: > [ Unknown signature status ] > On Sun, 2016-06-19 at 14:53 -0700, James Bottomley wrote: >> On Fri, 2016-06-17 at 16:06 -0700, James Bottomley wrote: >> > On Fri, 2016-06-17 at 16:34 +0300, Jani Niku

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-23 Thread Jani Nikula
On Thu, 23 Jun 2016, Steven Newbury wrote: > [ Unknown signature status ] > On Sun, 2016-06-19 at 14:53 -0700, James Bottomley wrote: >> On Fri, 2016-06-17 at 16:06 -0700, James Bottomley wrote: >> > On Fri, 2016-06-17 at 16:34 +0300, Jani Nikula wrote: >> > > O

[docs-next PATCH v2 06/11] kernel-doc: unify all EXPORT_SYMBOL scanning to one place

2016-06-23 Thread Jani Nikula
Scan all input files for EXPORT_SYMBOLs along with the explicitly specified export files before actually parsing anything. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/s

[docs-next PATCH v2 06/11] kernel-doc: unify all EXPORT_SYMBOL scanning to one place

2016-06-23 Thread Jani Nikula
Scan all input files for EXPORT_SYMBOLs along with the explicitly specified export files before actually parsing anything. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/scripts/kernel-doc b/scripts

[docs-next PATCH v2 04/11] kernel-doc: abstract filename mapping

2016-06-23 Thread Jani Nikula
Reduce duplication in follow-up work. No functional changes. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index a6f82c

[docs-next PATCH v2 10/11] Documentation/sphinx: drop modindex, we don't have python modules

2016-06-23 Thread Jani Nikula
The modindex is for python modules. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/index.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/index.rst b/Documentation/index.rst index 71a276f34c7f..1139a7ea39ec 100644 --- a/Documentation/index.rst

[docs-next PATCH v2 11/11] Documentation: add top level 'make help' output for Sphinx

2016-06-23 Thread Jani Nikula
While there's slight overlap with the DocBook help now, this can stay intact when the DocBook help goes away. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/DocBook/Makefile | 4 ++-- Documentation/Makefile.sphinx | 8 Makefile | 2

[docs-next PATCH v2 04/11] kernel-doc: abstract filename mapping

2016-06-23 Thread Jani Nikula
Reduce duplication in follow-up work. No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index a6f82c812c15..516d95fcefb7 100755

[docs-next PATCH v2 10/11] Documentation/sphinx: drop modindex, we don't have python modules

2016-06-23 Thread Jani Nikula
The modindex is for python modules. Signed-off-by: Jani Nikula --- Documentation/index.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/index.rst b/Documentation/index.rst index 71a276f34c7f..1139a7ea39ec 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst

[docs-next PATCH v2 11/11] Documentation: add top level 'make help' output for Sphinx

2016-06-23 Thread Jani Nikula
While there's slight overlap with the DocBook help now, this can stay intact when the DocBook help goes away. Signed-off-by: Jani Nikula --- Documentation/DocBook/Makefile | 4 ++-- Documentation/Makefile.sphinx | 8 Makefile | 2 ++ 3 files changed, 12

[docs-next PATCH v2 05/11] kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs

2016-06-23 Thread Jani Nikula
has all the kernel-doc documentation for the exported functions defined in a plethora of source files net/mac80211/*.c. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 39 +-- 1 file changed, 37 insertions(+), 2 deletions(-)

[docs-next PATCH v2 02/11] kernel-doc: do not warn about duplicate default section names

2016-06-23 Thread Jani Nikula
Since commit 32217761ee9db0215350dfe1ca4e66f312fb8c54 Author: Jani Nikula <jani.nik...@intel.com> Date: Sun May 29 09:40:44 2016 +0300 kernel-doc: concatenate contents of colliding sections we started getting (more) errors on duplicate section names, especially on the default sectio

[docs-next PATCH v2 02/11] kernel-doc: do not warn about duplicate default section names

2016-06-23 Thread Jani Nikula
Since commit 32217761ee9db0215350dfe1ca4e66f312fb8c54 Author: Jani Nikula Date: Sun May 29 09:40:44 2016 +0300 kernel-doc: concatenate contents of colliding sections we started getting (more) errors on duplicate section names, especially on the default section name "Descri

[docs-next PATCH v2 05/11] kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs

2016-06-23 Thread Jani Nikula
has all the kernel-doc documentation for the exported functions defined in a plethora of source files net/mac80211/*.c. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 39 +-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc

[docs-next PATCH v2 07/11] Documentation/sphinx: remove unnecessary temporary variable

2016-06-23 Thread Jani Nikula
Leftover cruft. No functional changes. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/sphinx/kernel-doc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index 4adfb0

[docs-next PATCH v2 07/11] Documentation/sphinx: remove unnecessary temporary variable

2016-06-23 Thread Jani Nikula
Leftover cruft. No functional changes. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index 4adfb0e91ecc..2856376cc62c 100644

[docs-next PATCH v2 08/11] Documentation/sphinx: use a more sensible string split in kernel-doc extension

2016-06-23 Thread Jani Nikula
Using the default str.split doesn't return empty strings like the current version does. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/sphinx/kernel-doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernel-doc

[docs-next PATCH v2 08/11] Documentation/sphinx: use a more sensible string split in kernel-doc extension

2016-06-23 Thread Jani Nikula
Using the default str.split doesn't return empty strings like the current version does. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py

[docs-next PATCH v2 09/11] Documentation/sphinx: add support for specifying extra export files

2016-06-23 Thread Jani Nikula
ase across the kernel source tree. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/sphinx/kernel-doc.py | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py in

[docs-next PATCH v2 09/11] Documentation/sphinx: add support for specifying extra export files

2016-06-23 Thread Jani Nikula
ase across the kernel source tree. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index d6a76f9a0ba5..dedb24e3b

[docs-next PATCH v2 00/11] Documentation/sphinx follow-up, again

2016-06-23 Thread Jani Nikula
l 'make help' output for Sphinx (2016-06-23 15:11:51 +0300) ---- Jani Nikula (11): kernel-doc: remove old debug cruft from dump_section() kernel-doc: do not warn about duplicate default section names kernel-doc: add missing s

[docs-next PATCH v2 00/11] Documentation/sphinx follow-up, again

2016-06-23 Thread Jani Nikula
l 'make help' output for Sphinx (2016-06-23 15:11:51 +0300) ---- Jani Nikula (11): kernel-doc: remove old debug cruft from dump_section() kernel-doc: do not warn about duplicate default section names kernel-doc: add missing s

[docs-next PATCH v2 03/11] kernel-doc: add missing semi-colons in option parsing

2016-06-23 Thread Jani Nikula
Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 710615f3a4ff..a6f82c812c15 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -484,10 +

[docs-next PATCH v2 03/11] kernel-doc: add missing semi-colons in option parsing

2016-06-23 Thread Jani Nikula
Signed-off-by: Jani Nikula --- scripts/kernel-doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 710615f3a4ff..a6f82c812c15 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -484,10 +484,10 @@ while ($ARGV[0] =~ m

[docs-next PATCH v2 01/11] kernel-doc: remove old debug cruft from dump_section()

2016-06-23 Thread Jani Nikula
No functional changes. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 27757c21551a..ac18eb5ed776 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -

[docs-next PATCH v2 01/11] kernel-doc: remove old debug cruft from dump_section()

2016-06-23 Thread Jani Nikula
No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 27757c21551a..ac18eb5ed776 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -529,21 +529,18 @@ sub dump_section

Re: [PATCH v1 2/3] drm: Add API for capturing frame CRCs

2016-06-23 Thread Jani Nikula
crtc-/crc/(control|data) sounds great. Side note, we should eventually do the same for sink CRCs, but I guess under the connectors. i915 currently has a special cased version for eDP (named "i915_sink_crc_eDP1"...), reading the data from DPCD. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH v1 2/3] drm: Add API for capturing frame CRCs

2016-06-23 Thread Jani Nikula
note, we should eventually do the same for sink CRCs, but I guess under the connectors. i915 currently has a special cased version for eDP (named "i915_sink_crc_eDP1"...), reading the data from DPCD. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-20 Thread Jani Nikula
helpful if you could add drm.debug=14 module parameter, and provide dmesgs from boot both with and without the above commit (it's enough to see i915 load). Please also provide /sys/kernel/debug/dri/0/i915_opregion. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-20 Thread Jani Nikula
th with and without the above commit (it's enough to see i915 load). Please also provide /sys/kernel/debug/dri/0/i915_opregion. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-17 Thread Jani Nikula
s, which are just 5b4fd5bb1230cd037..157d2c7fad0863222 > > Looking at those nothing seems to stick out which might explain what's > happening for you. This should be easy enough to try before bisecting: http://patchwork.freedesktop.org/patch/msgid/1466162081-12042-1-git-send-email-mika.kah...@intel.com BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-17 Thread Jani Nikula
oking at those nothing seems to stick out which might explain what's > happening for you. This should be easy enough to try before bisecting: http://patchwork.freedesktop.org/patch/msgid/1466162081-12042-1-git-send-email-mika.kah...@intel.com BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-13 Thread Jani Nikula
On Tue, 31 May 2016, James Bottomley <james.bottom...@hansenpartnership.com> wrote: > On Tue, 2016-05-31 at 10:51 +0300, Jani Nikula wrote: >> On Mon, 30 May 2016, James Bottomley < >> james.bottom...@hansenpartnership.com> wrote: >> > I've tested a prist

Re: Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-13 Thread Jani Nikula
On Tue, 31 May 2016, James Bottomley wrote: > On Tue, 2016-05-31 at 10:51 +0300, Jani Nikula wrote: >> On Mon, 30 May 2016, James Bottomley < >> james.bottom...@hansenpartnership.com> wrote: >> > I've tested a pristine 4.6.0 system, so it's definitely something

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-10 Thread Jani Nikula
he file in Documentation/index.rst. 3) Be happy. I'll hand it to you that you have more experience in Sphinx than I do, but I like to think I know my fellow kernel developers better. The above is what they want to hear. They don't want a single hurdle more. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-10 Thread Jani Nikula
and it to you that you have more experience in Sphinx than I do, but I like to think I know my fellow kernel developers better. The above is what they want to hear. They don't want a single hurdle more. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

[docs-next PATCH 4/9] kernel-doc: abstract filename mapping

2016-06-10 Thread Jani Nikula
Reduce duplication in follow-up work. No functional changes. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index a6f82c

[docs-next PATCH 4/9] kernel-doc: abstract filename mapping

2016-06-10 Thread Jani Nikula
Reduce duplication in follow-up work. No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index a6f82c812c15..516d95fcefb7 100755

[docs-next PATCH 8/9] Documentation/sphinx: use a more sensible string split in kernel-doc extension

2016-06-10 Thread Jani Nikula
Using the default str.split doesn't return empty strings like the current version does. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/sphinx/kernel-doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernel-doc

[docs-next PATCH 8/9] Documentation/sphinx: use a more sensible string split in kernel-doc extension

2016-06-10 Thread Jani Nikula
Using the default str.split doesn't return empty strings like the current version does. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py

[docs-next PATCH 9/9] Documentation/sphinx: add support for specifying extra export files

2016-06-10 Thread Jani Nikula
ase across the kernel source tree. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/sphinx/kernel-doc.py | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py in

[docs-next PATCH 7/9] Documentation/sphinx: remove unnecessary temporary variable

2016-06-10 Thread Jani Nikula
Leftover cruft. No functional changes. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- Documentation/sphinx/kernel-doc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index 4adfb0

[docs-next PATCH 7/9] Documentation/sphinx: remove unnecessary temporary variable

2016-06-10 Thread Jani Nikula
Leftover cruft. No functional changes. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index 4adfb0e91ecc..2856376cc62c 100644

[docs-next PATCH 9/9] Documentation/sphinx: add support for specifying extra export files

2016-06-10 Thread Jani Nikula
ase across the kernel source tree. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index d6a76f9a0ba5..dedb24e3b

[docs-next PATCH 1/9] kernel-doc: remove old debug cruft from dump_section()

2016-06-10 Thread Jani Nikula
No functional changes. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 27757c21551a..ac18eb5ed776 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -

[docs-next PATCH 1/9] kernel-doc: remove old debug cruft from dump_section()

2016-06-10 Thread Jani Nikula
No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 27757c21551a..ac18eb5ed776 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -529,21 +529,18 @@ sub dump_section

[docs-next PATCH 0/9] Documentation/sphinx follow-up

2016-06-10 Thread Jani Nikula
that return just functions and have another argument to get the types? Thoughts? Jani Nikula (9): kernel-doc: remove old debug cruft from dump_section() kernel-doc: do not warn about duplicate default section names kernel-doc: add missing semi-colons in option parsing kernel-doc: abstract

[docs-next PATCH 3/9] kernel-doc: add missing semi-colons in option parsing

2016-06-10 Thread Jani Nikula
Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 710615f3a4ff..a6f82c812c15 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -484,10 +

[docs-next PATCH 6/9] kernel-doc: unify all EXPORT_SYMBOL scanning to one place

2016-06-10 Thread Jani Nikula
Scan all input files for EXPORT_SYMBOLs along with the explicitly specified export files before actually parsing anything. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/s

[docs-next PATCH 0/9] Documentation/sphinx follow-up

2016-06-10 Thread Jani Nikula
that return just functions and have another argument to get the types? Thoughts? Jani Nikula (9): kernel-doc: remove old debug cruft from dump_section() kernel-doc: do not warn about duplicate default section names kernel-doc: add missing semi-colons in option parsing kernel-doc: abstract

[docs-next PATCH 3/9] kernel-doc: add missing semi-colons in option parsing

2016-06-10 Thread Jani Nikula
Signed-off-by: Jani Nikula --- scripts/kernel-doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 710615f3a4ff..a6f82c812c15 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -484,10 +484,10 @@ while ($ARGV[0] =~ m

[docs-next PATCH 6/9] kernel-doc: unify all EXPORT_SYMBOL scanning to one place

2016-06-10 Thread Jani Nikula
Scan all input files for EXPORT_SYMBOLs along with the explicitly specified export files before actually parsing anything. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/scripts/kernel-doc b/scripts

[docs-next PATCH 5/9] kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs

2016-06-10 Thread Jani Nikula
has all the kernel-doc documentation for the exported functions defined in a plethora of source files net/mac80211/*.c. Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- scripts/kernel-doc | 39 +-- 1 file changed, 37 insertions(+), 2 deletions(-)

[docs-next PATCH 2/9] kernel-doc: do not warn about duplicate default section names

2016-06-10 Thread Jani Nikula
Since commit 32217761ee9db0215350dfe1ca4e66f312fb8c54 Author: Jani Nikula <jani.nik...@intel.com> Date: Sun May 29 09:40:44 2016 +0300 kernel-doc: concatenate contents of colliding sections we started getting (more) errors on duplicate section names, especially on the default sectio

[docs-next PATCH 5/9] kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs

2016-06-10 Thread Jani Nikula
has all the kernel-doc documentation for the exported functions defined in a plethora of source files net/mac80211/*.c. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 39 +-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc

[docs-next PATCH 2/9] kernel-doc: do not warn about duplicate default section names

2016-06-10 Thread Jani Nikula
Since commit 32217761ee9db0215350dfe1ca4e66f312fb8c54 Author: Jani Nikula Date: Sun May 29 09:40:44 2016 +0300 kernel-doc: concatenate contents of colliding sections we started getting (more) errors on duplicate section names, especially on the default section name "Descri

Re: [PATCH 3/7] kernel-doc-HOWTO: add kernel-doc specification

2016-06-09 Thread Jani Nikula
h > yet. I suggest you look at the series starting at [1] instead. We're looking to *remove* hurdles in the process. BR, Jani. [1] http://mid.gmane.org/cover.1465031816.git.jani.nik...@intel.com -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH 3/7] kernel-doc-HOWTO: add kernel-doc specification

2016-06-09 Thread Jani Nikula
ok at the series starting at [1] instead. We're looking to *remove* hurdles in the process. BR, Jani. [1] http://mid.gmane.org/cover.1465031816.git.jani.nik...@intel.com -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH v2 29/38] kernel-doc: limit the "section header:" detection to a select few

2016-06-09 Thread Jani Nikula
On Thu, 09 Jun 2016, Jonathan Corbet <cor...@lwn.net> wrote: > On Sat, 4 Jun 2016 14:37:30 +0300 > Jani Nikula <jani.nik...@intel.com> wrote: > >> kernel-doc currently identifies anything matching "section header:" >> (specifically a string of word c

Re: [PATCH v2 29/38] kernel-doc: limit the "section header:" detection to a select few

2016-06-09 Thread Jani Nikula
On Thu, 09 Jun 2016, Jonathan Corbet wrote: > On Sat, 4 Jun 2016 14:37:30 +0300 > Jani Nikula wrote: > >> kernel-doc currently identifies anything matching "section header:" >> (specifically a string of word characters and spaces followed by a >> colon)

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-07 Thread Jani Nikula
On Tue, 07 Jun 2016, Markus Heiser <markus.hei...@darmarit.de> wrote: > Am 07.06.2016 um 10:59 schrieb Jani Nikula <jani.nik...@intel.com>: >> One of the key arguments against too much splitting that hasn't been >> mentioned is that despite all the fine output Sphinx can

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-07 Thread Jani Nikula
On Tue, 07 Jun 2016, Markus Heiser wrote: > Am 07.06.2016 um 10:59 schrieb Jani Nikula : >> One of the key arguments against too much splitting that hasn't been >> mentioned is that despite all the fine output Sphinx can produce, we >> have plenty of people who couldn't ca

Re: [PATCH v3] drm/dsi: Implement set tear scanline

2016-06-07 Thread Jani Nikula
t;thierry.red...@gmail.com> > Cc: Sumit Semwal <sumit.sem...@linaro.org> > Cc: Jani Nikula <jani.nik...@linux.intel.com> > Signed-off-by: Vinay Simha BN <simha...@gmail.com> Reviewed-by: Jani Nikula <jani.nik...@intel.com> > > -- > v1: > * hel

Re: [PATCH v3] drm/dsi: Implement set tear scanline

2016-06-07 Thread Jani Nikula
On Tue, 07 Jun 2016, Vinay Simha BN wrote: > Provide a small convenience wrapper that transmits > a set_tear_scanline command. > > Cc: Archit Taneja > Cc: John Stultz > Cc: Thierry Reding > Cc: Sumit Semwal > Cc: Jani Nikula > Signed-off-by: Vinay Simha BN

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-07 Thread Jani Nikula
e split off from there should still be a sensible document on its own, with the filename telling what it's about. This will be the main benefit of this whole exercise for the people who do not care about Sphinx - instead of reading (read: ignoring) DocBook XML, they can now read the rst files. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-07 Thread Jani Nikula
be a sensible document on its own, with the filename telling what it's about. This will be the main benefit of this whole exercise for the people who do not care about Sphinx - instead of reading (read: ignoring) DocBook XML, they can now read the rst files. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH v2] drm/dsi: Implement set tear scanline

2016-06-07 Thread Jani Nikula
ltz <john.stu...@linaro.org> > Cc: Thierry Reding <thierry.red...@gmail.com> > Cc: Sumit Semwal <sumit.sem...@linaro.org> > Cc: Jani Nikula <jani.nik...@linux.intel.com> > Signed-off-by: Vinay Simha BN <simha...@gmail.com> > -- > v1: > * helpe

Re: [PATCH v2] drm/dsi: Implement set tear scanline

2016-06-07 Thread Jani Nikula
On Mon, 06 Jun 2016, Vinay Simha BN wrote: > Provide a small convenience wrapper that transmits > a set_tear_scanline command. > > Also includes small build fixes from Sumit Semwal. > > Cc: Archit Taneja > Cc: John Stultz > Cc: Thierry Reding > Cc: Sumit Semwal >

Re: rst2pdf (was [PATCH 00/10] Documentation/Sphinx)

2016-06-07 Thread Jani Nikula
You will get warnings like [WARNING] styles.py:548 Using undefined style 'function', aliased to style 'normal'. [WARNING] styles.py:548 Using undefined style 'type', aliased to style 'normal'. but it's a matter of defining a custom rst2pdf stylesheet. It's json with a sort of inheritance model, so it should be easy to just extend the existing stylesheet. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

<    5   6   7   8   9   10   11   12   13   14   >