[PATCH] UNCLEAN: fix semicolon.cocci warnings

2019-09-20 Thread Julia Lawall
From: kbuild test robot Remove unneeded semicolons. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 841b04751dc0 ("UNCLEAN: add HDMI TX driver") CC: Lucas Stach Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- tree: git://git.infradead.org/users/ezequielg/linu

[PATCH] UNCLEAN: fix semicolon.cocci warnings

2019-09-20 Thread Julia Lawall
From: kbuild test robot Remove unneeded semicolons. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 841b04751dc0 ("UNCLEAN: add HDMI TX driver") CC: Lucas Stach Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- tree: git://git.infradead.org/users/ezequielg/lin

[PATCH v17 02/19] kunit: test: add test resource management API

2019-09-20 Thread Brendan Higgins
Create a common API for test managed resources like memory and test objects. A lot of times a test will want to set up infrastructure to be used in test cases; this could be anything from just wanting to allocate some memory to setting up a driver stack; this defines facilities for creating "test r

[PATCH v17 06/19] lib: enable building KUnit in lib/

2019-09-20 Thread Brendan Higgins
KUnit is a new unit testing framework for the kernel and when used is built into the kernel as a part of it. Add KUnit to the lib Kconfig and Makefile to allow it to be actually built. Signed-off-by: Brendan Higgins Cc: Randy Dunlap Cc: Andrew Morton Cc: Masahiro Yamada Cc: Kees Cook --- lib

[PATCH v17 16/19] MAINTAINERS: add entry for KUnit the unit testing framework

2019-09-20 Thread Brendan Higgins
Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MA

[PATCH v17 14/19] kunit: defconfig: add defconfigs for building KUnit tests

2019-09-20 Thread Brendan Higgins
Add defconfig for UML and a fragment that can be used to configure other architectures for building KUnit tests. Add option to kunit_tool to use a defconfig to create the kunitconfig. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephe

[PATCH v17 12/19] kunit: test: add tests for KUnit managed resources

2019-09-20 Thread Brendan Higgins
From: Avinash Kondareddy Add unit tests for KUnit managed resources. KUnit managed resources (struct kunit_resource) are resources that are automatically cleaned up at the end of a KUnit test, similar to the concept of devm_* managed resources. Signed-off-by: Avinash Kondareddy Signed-off-by: B

[PATCH v17 09/19] kunit: test: add support for test abort

2019-09-20 Thread Brendan Higgins
Add support for aborting/bailing out of test cases, which is needed for implementing assertions. An assertion is like an expectation, but bails out of the test case early if the assertion is not met. The idea with assertions is that you use them to state all the preconditions for your test. Logica

[PATCH v17 13/19] kunit: tool: add Python wrappers for running KUnit tests

2019-09-20 Thread Brendan Higgins
From: Felix Guo The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the user.

[PATCH v17 17/19] kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

2019-09-20 Thread Brendan Higgins
From: Iurii Zaikin KUnit tests for initialized data behavior of proc_dointvec that is explicitly checked in the code. Includes basic parsing tests including int min/max overflow. Signed-off-by: Iurii Zaikin Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunt

[PATCH v17 19/19] kunit: fix failure to build without printk

2019-09-20 Thread Brendan Higgins
Previously KUnit assumed that printk would always be present, which is not a valid assumption to make. Fix that by removing call to vprintk_emit, and calling printk directly. This fixes a build error[1] reported by Randy. For context this change comes after much discussion. My first stab[2] at th

[PATCH v17 08/19] objtool: add kunit_try_catch_throw to the noreturn list

2019-09-20 Thread Brendan Higgins
Fix the following warning seen on GCC 7.3: kunit/test-test.o: warning: objtool: kunit_test_unsuccessful_try() falls through to next function kunit_test_catch() kunit_try_catch_throw is a function added in the following patch in this series; it allows KUnit, a unit testing framework for the kern

[PATCH v17 18/19] MAINTAINERS: add proc sysctl KUnit test to PROC SYSCTL section

2019-09-20 Thread Brendan Higgins
Add entry for the new proc sysctl KUnit test to the PROC SYSCTL section, and add Iurii as a maintainer. Signed-off-by: Brendan Higgins Cc: Iurii Zaikin Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Acked-by: Luis Chamberlain --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions

[PATCH v17 01/19] kunit: test: add KUnit test runner core

2019-09-20 Thread Brendan Higgins
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call the

[PATCH v17 00/19] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-09-20 Thread Brendan Higgins
## TL;DR This revision addresses comments from Linus[1] and Randy[2], by moving top level `kunit/` directory to `lib/kunit/` and likewise moves top level Kconfig entry under lib/Kconfig.debug, so the KUnit submenu now shows up under the "Kernel Hacking" menu. As a consequence of this, I rewrote p

[PATCH v17 10/19] kunit: test: add tests for kunit test abort

2019-09-20 Thread Brendan Higgins
Add KUnit tests for the KUnit test abort mechanism (see preceding commit). Add tests both for general try catch mechanism as well as non-architecture specific mechanism. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd --- l

[PATCH v17 11/19] kunit: test: add the concept of assertions

2019-09-20 Thread Brendan Higgins
Add support for assertions which are like expectations except the test terminates if the assertion is not satisfied. The idea with assertions is that you use them to state all the preconditions for your test. Logically speaking, these are the premises of the test case, so if a premise isn't true,

[PATCH v17 03/19] kunit: test: add string_stream a std::stream like string builder

2019-09-20 Thread Brendan Higgins
A number of test features need to do pretty complicated string printing where it may not be possible to rely on a single preallocated string with parameters. So provide a library for constructing the string as you go similar to C++'s std::string. string_stream is really just a string builder, noth

[PATCH v17 15/19] Documentation: kunit: add documentation for KUnit

2019-09-20 Thread Brendan Higgins
Add documentation for KUnit, the Linux kernel unit testing framework. - Add intro and usage guide for KUnit - Add API reference Signed-off-by: Felix Guo Signed-off-by: Brendan Higgins Cc: Jonathan Corbet Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd -

[PATCH v17 04/19] kunit: test: add assertion printing library

2019-09-20 Thread Brendan Higgins
Add `struct kunit_assert` and friends which provide a structured way to capture data from an expectation or an assertion (introduced later in the series) so that it may be printed out in the event of a failure. Signed-off-by: Brendan Higgins Reviewed-by: Stephen Boyd --- include/kunit/assert.h

[PATCH v17 07/19] kunit: test: add initial tests

2019-09-20 Thread Brendan Higgins
Add a test for string stream along with a simpler example. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd --- lib/kunit/Kconfig | 25 ++ lib/kunit/Makefile | 4 ++ lib/kunit/example-test.c

[PATCH v17 05/19] kunit: test: add the concept of expectations

2019-09-20 Thread Brendan Higgins
Add support for expectations, which allow properties to be specified and then verified in tests. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd --- include/kunit/test.h | 836 +++ li

Re: [PATCH v16 06/19] lib: enable building KUnit in lib/

2019-09-20 Thread Brendan Higgins
On Fri, Sep 20, 2019 at 4:44 PM Brendan Higgins wrote: > > On Fri, Sep 20, 2019 at 4:36 PM Stephen Boyd wrote: > > > > Quoting Brendan Higgins (2019-09-20 16:19:10) > > > KUnit is a new unit testing framework for the kernel and when used is > > > built into the kernel as a part of it. Add KUnit t

Re: [PATCH v16 06/19] lib: enable building KUnit in lib/

2019-09-20 Thread Brendan Higgins
On Fri, Sep 20, 2019 at 4:36 PM Stephen Boyd wrote: > > Quoting Brendan Higgins (2019-09-20 16:19:10) > > KUnit is a new unit testing framework for the kernel and when used is > > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > > Makefile to allow it to be actually built.

Re: [PATCH] drm: rcar_lvds: Fix color mismatches on R-Car H2 ES2.0 and later

2019-09-20 Thread Laurent Pinchart
On Sat, Sep 21, 2019 at 02:40:03AM +0300, Laurent Pinchart wrote: > On Tue, Sep 17, 2019 at 08:23:53AM +0200, Geert Uytterhoeven wrote: > > Commit 5cca30ebe089be23 ("drm/rcar-du: Add LVDS_LANES quirk") states > > that LVDS lanes 1 and 3 are inverted on R-Car H2 ES1 only, and that the > > problem ha

Re: [PATCH] drm: rcar_lvds: Fix color mismatches on R-Car H2 ES2.0 and later

2019-09-20 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Tue, Sep 17, 2019 at 08:23:53AM +0200, Geert Uytterhoeven wrote: > Commit 5cca30ebe089be23 ("drm/rcar-du: Add LVDS_LANES quirk") states > that LVDS lanes 1 and 3 are inverted on R-Car H2 ES1 only, and that the > problem has been fixed in newer revisions. > >

Re: [PATCH v16 06/19] lib: enable building KUnit in lib/

2019-09-20 Thread Stephen Boyd
Quoting Brendan Higgins (2019-09-20 16:19:10) > KUnit is a new unit testing framework for the kernel and when used is > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > Makefile to allow it to be actually built. > > Signed-off-by: Brendan Higgins > Cc: Randy Dunlap > Cc:

[PATCH v16 13/19] kunit: tool: add Python wrappers for running KUnit tests

2019-09-20 Thread Brendan Higgins
From: Felix Guo The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the user.

[PATCH v16 19/19] kunit: fix failure to build without printk

2019-09-20 Thread Brendan Higgins
Previously KUnit assumed that printk would always be present, which is not a valid assumption to make. Fix that by removing call to vprintk_emit, and calling printk directly. This fixes a build error[1] reported by Randy. For context this change comes after much discussion. My first stab[2] at th

[PATCH v16 17/19] kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

2019-09-20 Thread Brendan Higgins
From: Iurii Zaikin KUnit tests for initialized data behavior of proc_dointvec that is explicitly checked in the code. Includes basic parsing tests including int min/max overflow. Signed-off-by: Iurii Zaikin Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunt

[PATCH v16 09/19] kunit: test: add support for test abort

2019-09-20 Thread Brendan Higgins
Add support for aborting/bailing out of test cases, which is needed for implementing assertions. An assertion is like an expectation, but bails out of the test case early if the assertion is not met. The idea with assertions is that you use them to state all the preconditions for your test. Logica

[PATCH v16 14/19] kunit: defconfig: add defconfigs for building KUnit tests

2019-09-20 Thread Brendan Higgins
Add defconfig for UML and a fragment that can be used to configure other architectures for building KUnit tests. Add option to kunit_tool to use a defconfig to create the kunitconfig. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephe

[PATCH v16 16/19] MAINTAINERS: add entry for KUnit the unit testing framework

2019-09-20 Thread Brendan Higgins
Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MA

[PATCH v16 15/19] Documentation: kunit: add documentation for KUnit

2019-09-20 Thread Brendan Higgins
Add documentation for KUnit, the Linux kernel unit testing framework. - Add intro and usage guide for KUnit - Add API reference Signed-off-by: Felix Guo Signed-off-by: Brendan Higgins Cc: Jonathan Corbet Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd -

[PATCH v16 18/19] MAINTAINERS: add proc sysctl KUnit test to PROC SYSCTL section

2019-09-20 Thread Brendan Higgins
Add entry for the new proc sysctl KUnit test to the PROC SYSCTL section, and add Iurii as a maintainer. Signed-off-by: Brendan Higgins Cc: Iurii Zaikin Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Acked-by: Luis Chamberlain --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions

[PATCH v16 12/19] kunit: test: add tests for KUnit managed resources

2019-09-20 Thread Brendan Higgins
From: Avinash Kondareddy Add unit tests for KUnit managed resources. KUnit managed resources (struct kunit_resource) are resources that are automatically cleaned up at the end of a KUnit test, similar to the concept of devm_* managed resources. Signed-off-by: Avinash Kondareddy Signed-off-by: B

[PATCH v16 10/19] kunit: test: add tests for kunit test abort

2019-09-20 Thread Brendan Higgins
Add KUnit tests for the KUnit test abort mechanism (see preceding commit). Add tests both for general try catch mechanism as well as non-architecture specific mechanism. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd --- l

[PATCH v16 08/19] objtool: add kunit_try_catch_throw to the noreturn list

2019-09-20 Thread Brendan Higgins
Fix the following warning seen on GCC 7.3: kunit/test-test.o: warning: objtool: kunit_test_unsuccessful_try() falls through to next function kunit_test_catch() kunit_try_catch_throw is a function added in the following patch in this series; it allows KUnit, a unit testing framework for the kern

[PATCH v16 11/19] kunit: test: add the concept of assertions

2019-09-20 Thread Brendan Higgins
Add support for assertions which are like expectations except the test terminates if the assertion is not satisfied. The idea with assertions is that you use them to state all the preconditions for your test. Logically speaking, these are the premises of the test case, so if a premise isn't true,

[PATCH v16 07/19] kunit: test: add initial tests

2019-09-20 Thread Brendan Higgins
Add a test for string stream along with a simpler example. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd --- lib/kunit/Kconfig | 21 lib/kunit/Makefile | 4 ++ lib/kunit/example-test.c

[PATCH v16 01/19] kunit: test: add KUnit test runner core

2019-09-20 Thread Brendan Higgins
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call the

[PATCH v16 04/19] kunit: test: add assertion printing library

2019-09-20 Thread Brendan Higgins
Add `struct kunit_assert` and friends which provide a structured way to capture data from an expectation or an assertion (introduced later in the series) so that it may be printed out in the event of a failure. Signed-off-by: Brendan Higgins Reviewed-by: Stephen Boyd --- include/kunit/assert.h

[PATCH v16 06/19] lib: enable building KUnit in lib/

2019-09-20 Thread Brendan Higgins
KUnit is a new unit testing framework for the kernel and when used is built into the kernel as a part of it. Add KUnit to the lib Kconfig and Makefile to allow it to be actually built. Signed-off-by: Brendan Higgins Cc: Randy Dunlap Cc: Andrew Morton Cc: Masahiro Yamada Cc: Kees Cook --- lib

[PATCH v16 03/19] kunit: test: add string_stream a std::stream like string builder

2019-09-20 Thread Brendan Higgins
A number of test features need to do pretty complicated string printing where it may not be possible to rely on a single preallocated string with parameters. So provide a library for constructing the string as you go similar to C++'s std::string. string_stream is really just a string builder, noth

[PATCH v16 05/19] kunit: test: add the concept of expectations

2019-09-20 Thread Brendan Higgins
Add support for expectations, which allow properties to be specified and then verified in tests. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Reviewed-by: Stephen Boyd --- include/kunit/test.h | 836 +++ li

[PATCH v16 00/19] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-09-20 Thread Brendan Higgins
## TL;DR This revision addresses comments from Linus[1] and Randy[2], by moving top level `kunit/` directory to `lib/kunit/` and likewise moves top level Kconfig entry under lib/Kconfig.debug, so the KUnit submenu now shows up under the "Kernel Hacking" menu. As a consequence of this, I rewrote p

[PATCH v16 02/19] kunit: test: add test resource management API

2019-09-20 Thread Brendan Higgins
Create a common API for test managed resources like memory and test objects. A lot of times a test will want to set up infrastructure to be used in test cases; this could be anything from just wanting to allocate some memory to setting up a driver stack; this defines facilities for creating "test r

Re: [PATCH 06/11] drm/bridge: ti-tfp410: switch to using fwnode_gpiod_get_index()

2019-09-20 Thread Laurent Pinchart
Hi Dmitry, (CC'ing Heikki as the original author of software nodes support) Thank you for the patch. On Wed, Sep 11, 2019 at 12:52:10AM -0700, Dmitry Torokhov wrote: > Instead of fwnode_get_named_gpiod() that I plan to hide away, let's use > the new fwnode_gpiod_get_index() that mimics gpiod_get

Re: [PATCH v4 8/9] drm: rcar-du: kms: Update CMM in atomic commit tail

2019-09-20 Thread Laurent Pinchart
Hi Daniel, On Fri, Sep 06, 2019 at 03:54:35PM +0200, Jacopo Mondi wrote: > Update CMM settings at in the atomic commit tail helper method. > The CMM is updated with new gamma values provided to the driver > in the GAMMA_LUT blob property. > > When resuming from system suspend, the DU driver is re

Re: [PATCH v4 6/9] drm: rcar-du: crtc: Enable and disable CMMs

2019-09-20 Thread Laurent Pinchart
Hi Kieran, On Thu, Sep 19, 2019 at 09:08:18AM +0100, Kieran Bingham wrote: > On 19/09/2019 00:23, Laurent Pinchart wrote: > > On Thu, Sep 12, 2019 at 10:19:30AM +0100, Kieran Bingham wrote: > >> On 12/09/2019 09:07, Jacopo Mondi wrote: > >>> On Wed, Sep 11, 2019 at 07:40:27PM +0100, Kieran Bingham

Re: [PATCH v4 3/9] drm: rcar-du: Add support for CMM

2019-09-20 Thread Laurent Pinchart
Hi Kieran, On Thu, Sep 19, 2019 at 09:59:39AM +0100, Kieran Bingham wrote: > On 18/09/2019 23:55, Laurent Pinchart wrote: > > On Fri, Sep 06, 2019 at 03:54:30PM +0200, Jacopo Mondi wrote: > >> Add a driver for the R-Car Display Unit Color Correction Module. > >> > >> In most of Gen3 SoCs, each DU

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #56 from leo60228 --- I've noticed that AMD_DEBUG=nodma keeps OpenGL applications from crashing, but doesn't help with Vulkan. Does AMD_DEBUG only affect OpenGL, or is that unrelated? -- You are receiving this mail because: You are

Re: linux-next: Tree for Sep 20 (amd/display)

2019-09-20 Thread Randy Dunlap
On 9/20/19 9:36 AM, Mark Brown wrote: > Hi all, > > News: There will likely be no more -next builds until Stephen returns on > the 30th, I *may* do some next week but it's more likely that I won't > and it certainly won't be every day. > > Changes since 20190919: > on i386: ld: drivers/gpu/dr

Re: [PATCH 2/2] MAINTAINERS: Add Jernej Škrabec as a reviewer for DE2

2019-09-20 Thread Jernej Škrabec
Dne petek, 20. september 2019 ob 08:08:20 CEST je Maxime Ripard napisal(a): > Hi > > On Thu, Sep 19, 2019 at 09:39:19PM +0200, Daniel Vetter wrote: > > On Thu, Sep 19, 2019 at 7:30 PM Maxime Ripard wrote: > > > The newer Allwinner SoCs have a different layers controller than the > > > older > > >

Re: [PATCH] Revert "ARM: bcm283x: Switch V3D over to using the PM driver instead of firmware."

2019-09-20 Thread Florian Fainelli
On 9/8/19 8:44 AM, Stefan Wahren wrote: > Since release of the new BCM2835 PM driver there has been several reports > of V3D probing issues. This is caused by timeouts during powering-up the > GRAFX PM domain: > > bcm2835-power: Timeout waiting for grafx power OK > > I was able to reproduce thi

Re: drm/sun4i: Add missing pixel formats to the vi layer

2019-09-20 Thread Jernej Škrabec
Dne petek, 20. september 2019 ob 22:22:44 CEST je Roman Stratiienko napisal(a): > On Thu, Sep 19, 2019 at 9:53 PM Jernej Škrabec wrote: > > Hi! > > > > Dne sreda, 18. september 2019 ob 13:05:41 CEST je > > > > roman.stratiie...@globallogic.com napisal(a): > > > From: Roman Stratiienko > > >

Re: drm/sun4i: Add missing pixel formats to the vi layer

2019-09-20 Thread Roman Stratiienko
On Thu, Sep 19, 2019 at 9:53 PM Jernej Škrabec wrote: > > Hi! > > Dne sreda, 18. september 2019 ob 13:05:41 CEST je > roman.stratiie...@globallogic.com napisal(a): > > From: Roman Stratiienko > > > > According to Allwinner DE2.0 Specification REV 1.0, vi layer supports the > > following pixel for

Re: [PATCH] drm: Remove redundant of_device_is_available check

2019-09-20 Thread Sean Paul
On Fri, Sep 20, 2019 at 1:29 PM wrote: > > From: Ondrej Jirman > > This check is already performed by of_graph_get_remote_node. No > need to repeat it immediately after the call. > > Signed-off-by: Ondrej Jirman Thanks for your patch, I've applied it to drm-misc-next. Sean > --- > drivers/gp

Re: [PATCH] drm/sun4i: Use vi plane as primary

2019-09-20 Thread Roman Stratiienko
@Jernej Škrabec @Maxime Ripard Thanks for your time and valuable suggestions. Currently I would have to go away from mainline KMS to solve my (Android) issues, and I hope to get back when I find mainline-friendly solution for it. Having no primary layer or zero-buffer primary layer and 4 overlay

Re: Kernel panic during drm/nouveau init 5.3.0-rc7-next-20190903

2019-09-20 Thread Daniel Vetter
Adding Gerd and Christian. -Daniel On Fri, Sep 20, 2019 at 9:44 PM Alexander Kapshuk wrote: > > On Sat, Sep 07, 2019 at 12:05:34PM +0300, Alexander Kapshuk wrote: > > To Whom It May Concern > > > > Every kernel I have built since 5.3.0-rc2-next-20190730 and up to > > 5.3.0-rc7-next-20190903 has r

Re: Kernel panic during drm/nouveau init 5.3.0-rc7-next-20190903

2019-09-20 Thread Alexander Kapshuk
On Sat, Sep 07, 2019 at 12:05:34PM +0300, Alexander Kapshuk wrote: > To Whom It May Concern > > Every kernel I have built since 5.3.0-rc2-next-20190730 and up to > 5.3.0-rc7-next-20190903 has resulted in the kernel panic described below. > > The panic occurs early on in the boot process, so no re

[PATCH 2/2] Documentation/gpu: Fix no structured comments warning for drm_gem_ttm_helper.h

2019-09-20 Thread Sean Paul
From: Sean Paul Fixes include/drm/drm_gem_ttm_helper.h:1: warning: no structured comments found Fixes: ff540b76f14a ("drm/ttm: add drm gem ttm helpers, starting with drm_gem_ttm_print_info()") Cc: Gerd Hoffmann Cc: Thomas Zimmermann Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard

[PATCH 1/2] drm: Fix duplicate const warning in drm_gem_ttm_helper.c

2019-09-20 Thread Sean Paul
From: Sean Paul For the warning ../drivers/gpu/drm/drm_gem_ttm_helper.c:26:20: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] Reading between the lines, I think the double const is to preserve both the values and the pointers in the array (which makes total sense)

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #128 from Alex Deucher --- Do these patches help? https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes&id=c46e5df4ac898108da66a880c4e18f69c74f6c1b https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes&id=c02d6a161395

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #127 from Alex Deucher --- (In reply to Tom B from comment #15) > Have been running 5.0 since release without issue but upgraded this morning > and got crashes as described here within a few seconds of boot. > Can you bisect betwee

Re: [PATCH 00/12] drm/i915: YCbCr output fixes and prep work for YCbCr 4:4:4 output

2019-09-20 Thread Ville Syrjälä
On Thu, Jul 18, 2019 at 05:50:41PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > I was playing around with YCbCr 4:4:4 output and noticed several > things wrong in our code. So I fixed it all and tossed in the > prep work for YCbCr 4:4:4 output on ilk+. > > Ville Syrjälä (12): > drm/d

Re: [Intel-gfx] [drm-intel:drm-intel-next-queued 6/7] drivers/gpu/drm/i915/display/intel_color.c:1576 ilk_read_lut_10() error: potential null dereference 'blob'. (drm_property_create_blob returns null

2019-09-20 Thread Ville Syrjälä
On Sat, Sep 21, 2019 at 01:55:25AM +0800, kbuild test robot wrote: > tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued > head: 4bb6a9d5d9a8289673c4cb0786d44be8a63c21db > commit: 6b97b118d4d542c7bc25b725c6de3947fffb921b [6/7] drm/i915/display: > Extract ilk_read_luts() > > If

[drm-intel:drm-intel-next-queued 6/7] drivers/gpu/drm/i915/display/intel_color.c:1576 ilk_read_lut_10() error: potential null dereference 'blob'. (drm_property_create_blob returns null)

2019-09-20 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: 4bb6a9d5d9a8289673c4cb0786d44be8a63c21db commit: 6b97b118d4d542c7bc25b725c6de3947fffb921b [6/7] drm/i915/display: Extract ilk_read_luts() If you fix the issue, kindly add following tag Reported-by: kbuild test robot N

[PATCH] drm: Remove redundant of_device_is_available check

2019-09-20 Thread megous
From: Ondrej Jirman This check is already performed by of_graph_get_remote_node. No need to repeat it immediately after the call. Signed-off-by: Ondrej Jirman --- drivers/gpu/drm/drm_of.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.

RE: [PATHC v6] video: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver

2019-09-20 Thread Michael Kelley
From: Michael Kelley Sent: Wednesday, September 18, 2019 2:48 PM > > > > Without deferred IO support, hyperv_fb driver informs the host to refresh > > the entire guest frame buffer at fixed rate, e.g. at 20Hz, no matter there > > is screen update or not. This patch supports deferred IO for scree

Re: [PATCH 1/6] drm/ttm: add on_alloc_stage and reservation into ttm_operation_ctx

2019-09-20 Thread Daniel Vetter
On Tue, Dec 12, 2017 at 10:34 AM Roger He wrote: > > on_alloc_stage: is this operation on allocation stage > resv: reservation bo used of this operation > > Change-Id: I01ea482e8c7470014196eb218e2ff8913306eef0 > Signed-off-by: Roger He Real commit message (the later patches using this are even s

Re: [RFC v3 18/19] of: unittest: split out a couple of test cases from unittest

2019-09-20 Thread Rob Herring
Following up from LPC discussions... On Thu, Mar 21, 2019 at 8:30 PM Brendan Higgins wrote: > > On Thu, Mar 21, 2019 at 5:22 PM Frank Rowand wrote: > > > > On 2/27/19 7:52 PM, Brendan Higgins wrote: > > > On Wed, Feb 20, 2019 at 12:45 PM Frank Rowand > > > wrote: > > >> > > >> On 2/18/19 2:25

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #55 from Shmerl --- Just for the reference, using AMD_DEBUG=nodma with firefox seems to stabilize it for me. So far it didn't hang for a while already. -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 111747] [CI][DRMTIP] igt@ - incomplete - Jenkins gives up

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111747 --- Comment #3 from Chris Wilson --- *** Bug 111518 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

[Bug 111759] [navi10] computer hang ring sdma1 timeout

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111759 --- Comment #2 from Michael de Lang --- Much appreciated, will test that and if it seems to help, then this can be closed as duplicate. -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 111555] [amdgpu/Navi] [powerplay] Failed to send message errors

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111555 --- Comment #6 from Shmerl --- Just for the reference, my connection is DisplayPort 1.2. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@

[Bug 111759] [navi10] computer hang ring sdma1 timeout

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111759 --- Comment #1 from Pierre-Eric Pelloux-Prayer --- See also https://bugs.freedesktop.org/show_bug.cgi?id=111481 were similar issues were reported. For now, it seems that the only reliable workaround is to use the Mesa environment variable "AMD

[Bug 111555] [amdgpu/Navi] [powerplay] Failed to send message errors

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111555 --- Comment #5 from Michael de Lang --- I can confirm this happens when I use a dual-monitor setup. I have two 1440p@144 Hz screens and these messages happen when I boot with both screens, or look at the gpu temperature through the sensor comman

[Bug 111759] [navi10] computer hang ring sdma1 timeout

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111759 Bug ID: 111759 Summary: [navi10] computer hang ring sdma1 timeout Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Seve

Re: [PATCH v2 5/8] dt-bindings: watchdog: Convert Samsung SoC watchdog bindings to json-schema

2019-09-20 Thread Krzysztof Kozlowski
On Wed, 18 Sep 2019 at 19:32, Krzysztof Kozlowski wrote: > > Convert Samsung S3C/S5P/Exynos watchdog bindings to DT schema format > using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Indent example with four spaces (more readable), > 2. Remove unneeded ti

Re: [PATCH v9 0/8] drm/i915/dp: Support for DP HDR outputs

2019-09-20 Thread Ville Syrjälä
On Thu, Sep 19, 2019 at 10:53:03PM +0300, Gwan-gyeong Mun wrote: > Support for HDR10 video was introduced in DisplayPort 1.4. > On GLK+ platform, in order to use DisplayPort HDR10, we need to support > BT.2020 colorimetry and HDR Static metadata. > It implements the CTA-861-G standard for transport

Re: [PATCH] video/hdmi: Fix AVI bar unpack

2019-09-20 Thread Ville Syrjälä
On Fri, Sep 20, 2019 at 04:58:53PM +0200, Thierry Reding wrote: > On Thu, Sep 19, 2019 at 04:28:53PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > The bar values are little endian, not big endian. The pack > > function did it right but the unpack got it wrong. Fix it. > > > > Cc: s

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #45 from rol...@rptd.ch --- That was now really rude. Anyways. I'm interested in a solution, not discussion so I've pulled an apitrace of the situation. This does reproduce the problem. It's though 60M in size. Compressed it's 8M. Ca

Re: [PATCH v2 00/21] drm/dp: Various helper improvements and cleanups

2019-09-20 Thread Thierry Reding
On Mon, Sep 02, 2019 at 01:31:00PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Hi, > > this series of patches improves the DP helpers a bit and cleans up some > inconsistencies along the way. > > v2 incorporates all review comments add collects Reviewed-bys from v1. > > Thierry >

[Bug 109628] WARNING at dcn10_hw_sequencer.c:868 dcn10_verify_allow_pstate_change_high()

2019-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109628 --- Comment #21 from Johannes Hirte --- (In reply to John Smith from comment #20) > Still seeing the warning with 5.4.0-0.rc0.git2.2.fc32.x86_64; waking up > doesn't work. This is fedora kernel though and there's a possibility those > patches ar

Re: [Nouveau] [PATCH 3/6] drm/nouveau: Remove bogus gk20a aperture callback

2019-09-20 Thread Thierry Reding
On Tue, Sep 17, 2019 at 11:02:54AM +0200, Thierry Reding wrote: > On Tue, Sep 17, 2019 at 01:43:13PM +1000, Ben Skeggs wrote: > > On Tue, 17 Sep 2019 at 01:18, Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > > The gk20a (as well as all subsequent Tegra instantiations of the

[Bug 203781] AMDGPU Radeon VII crashes with dual monitors

2019-09-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203781 --- Comment #7 from ReddestDream (reddestdr...@gmail.com) --- This issue is still not fixed on release 5.3. Tested as above using Arch Linux. -- You are receiving this mail because: You are watching the assignee of the bug.

Re: [PATCH v2 8/8] dt-bindings: pwm: Convert Samsung PWM bindings to json-schema

2019-09-20 Thread Rob Herring
On Wed, Sep 18, 2019 at 12:32 PM Krzysztof Kozlowski wrote: > > Convert Samsung PWM (S3C, S5P and Exynos SoCs) bindings to DT schema > format using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Indent example with four spaces (more readable), > 2. Fix sams

Re: [PATCH] drm: tweak drm_print_bits()

2019-09-20 Thread Thierry Reding
On Thu, Sep 19, 2019 at 03:14:11PM +0200, Gerd Hoffmann wrote: > There is little reason for the from/to logic, printing a subset of > the bits can be done by simply shifting/masking value if needed. > > Also use for_each_set_bit(). > > Suggested-by: Jani Nikula > Signed-off-by: Gerd Hoffmann >

Re: [PATCH v2] drm/ioctl: Add a ioctl to label GEM objects

2019-09-20 Thread Thierry Reding
On Thu, Sep 19, 2019 at 02:53:21PM +0200, Rohan Garg wrote: > DRM_IOCTL_BO_SET_LABEL lets you label GEM objects, making it > easier to debug issues in userspace applications. > > Changes in v2: > - Hoist the IOCTL up into the drm_driver framework > > Signed-off-by: Rohan Garg > --- > drivers/

[PATCH] drm/komeda: Use IRQ_RETVAL shorthand in d71_irq_handler

2019-09-20 Thread Mihail Atanassov
No change in behaviour; IRQ_RETVAL is about twice as popular as manually writing out the ternary. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/display/komeda/d71/d71_de

Re: [PATCH] drm: sun8i-ui/vi: Fix layer zpos change/atomic modesetting

2019-09-20 Thread Maxime Ripard
On Thu, Sep 19, 2019 at 03:12:44PM +0200, Ondřej Jirman wrote: > On Thu, Sep 19, 2019 at 02:20:58PM +0200, megous hlavni wrote: > > On Wed, Sep 18, 2019 at 10:16:17PM +0200, Maxime Ripard wrote: > > > On Wed, Sep 18, 2019 at 05:23:09PM +0200, Ondřej Jirman wrote: > > > > Hi, > > > > > > > > On Wed,

[PATCH] drm/komeda: Fix typos in komeda_splitter_validate

2019-09-20 Thread Mihail Atanassov
Fix both the string and the struct member being printed. Fixes: 264b9436d23b ("drm/komeda: Enable writeback split support") Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

Re: [PATCH] video/hdmi: Fix AVI bar unpack

2019-09-20 Thread Thierry Reding
On Thu, Sep 19, 2019 at 04:28:53PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > The bar values are little endian, not big endian. The pack > function did it right but the unpack got it wrong. Fix it. > > Cc: sta...@vger.kernel.org > Cc: linux-me...@vger.kernel.org > Cc: Martin Bugge >

[PATCH 3.16 053/132] PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary

2019-09-20 Thread Ben Hutchings
3.16.74-rc1 review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit e0547c81bfcfad01cbbfa93a5e66bb98ab932f80 upstream. On ThinkPad P50 SKUs with an Nvidia Quadro M1000M instead of the M2000M variant, the BIOS does not always reset the seconda

Re: [Intel-gfx] [PATCH 10/12] drm/i915: Document ILK+ pipe csc matrix better

2019-09-20 Thread Ville Syrjälä
On Fri, Sep 20, 2019 at 02:24:32PM +, Mun, Gwan-gyeong wrote: > On Thu, 2019-07-18 at 17:50 +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Add comments to explain the ilk pipe csc operation a bit better. > > > > Signed-off-by: Ville Syrjälä > > --- > > drivers/gpu/drm/i915/dis

Re: [Intel-gfx] [PATCH 10/12] drm/i915: Document ILK+ pipe csc matrix better

2019-09-20 Thread Mun, Gwan-gyeong
On Thu, 2019-07-18 at 17:50 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Add comments to explain the ilk pipe csc operation a bit better. > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/i915/display/intel_color.c | 26 +--- > -- > 1 file changed, 21 insertions

Re: [RFC PATCH] drm:- Add a modifier to denote 'protected' framebuffer

2019-09-20 Thread Daniel Vetter
On Thu, Sep 19, 2019 at 5:13 PM Ayan Halder wrote: > > On Thu, Sep 19, 2019 at 04:10:42PM +0200, Daniel Vetter wrote: > > On Thu, Sep 19, 2019 at 4:03 PM Ayan Halder wrote: > > > > > > On Wed, Sep 18, 2019 at 10:30:12PM +0100, Daniel Stone wrote: > > > > > > Hi All, > > > Thanks for your suggesti

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-09-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #51 from Alex Deucher (alexdeuc...@gmail.com) --- Patches have been sent to stable and should land soon. -- You are receiving this mail because: You are watching the assignee of the bug. __

Re: [PATCH -next] treewide: remove unused argument in lock_release()

2019-09-20 Thread Will Deacon
On Fri, Sep 20, 2019 at 08:50:36AM -0400, Qian Cai wrote: > On Fri, 2019-09-20 at 10:38 +0100, Will Deacon wrote: > > On Thu, Sep 19, 2019 at 12:09:40PM -0400, Qian Cai wrote: > > > Since the commit b4adfe8e05f1 ("locking/lockdep: Remove unused argument > > > in __lock_release"), @nested is no long

  1   2   >