[Bug 110371] HP Dreamcolor display *Error* No EDID read

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110371 --- Comment #11 from babblebo...@gmail.com --- Created attachment 144277 --> https://bugs.freedesktop.org/attachment.cgi?id=144277=edit EDID file Don't know if this helps but ALL kernels seem affected by not being able to grab EDID on startup

[PATCH] drm/i915: drop unneeded -Wall addition

2019-05-14 Thread Masahiro Yamada
The top level Makefile adds -Wall globally: KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ I see two "-Wall" added for compiling under drivers/gpu/drm/i915/. Signed-off-by: Masahiro Yamada --- BTW, I have a question in the comment: "Note the danger in using

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-14 Thread Theodore Ts'o
On Tue, May 14, 2019 at 05:26:47PM -0700, Frank Rowand wrote: > On 5/11/19 10:33 AM, Theodore Ts'o wrote: > > On Fri, May 10, 2019 at 02:12:40PM -0700, Frank Rowand wrote: > >> However, the reply is incorrect. Kselftest in-kernel tests (which > >> is the context here) can be configured as built

[Bug 109246] HDMI connected monitors fail to sleep and instead turn back on when amdgpu.dc=1

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109246 --- Comment #21 from tme --- I've tried to revert commit b0c4e977522c34e20ad54ff4ca104129a7cfdeca but I haven't been able to successfully compile afterwards, running into the same issue as before. Setting it as the head still causes the bug to

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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #8 from Chris Hodapp --- I've actually found another crash which triggers pretty promptly whenever I play (presumably-accelerated) YouTube videos. I'll attach dmesg and display-manager.service logs for that crash here but I'm happy

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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #11 from Chris Hodapp --- Created attachment 144275 --> https://bugs.freedesktop.org/attachment.cgi?id=144275=edit display-manager.service.vaporwave.log -- You are receiving this mail because: You are the assignee for the

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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #12 from Chris Hodapp --- Created attachment 144276 --> https://bugs.freedesktop.org/attachment.cgi?id=144276=edit dmesg.vaporwave.log -- You are receiving this mail because: You are the assignee for the

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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #10 from Chris Hodapp --- Created attachment 144274 --> https://bugs.freedesktop.org/attachment.cgi?id=144274=edit dmesg.youtube.log -- You are receiving this mail because: You are the assignee for the

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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #9 from Chris Hodapp --- Created attachment 144273 --> https://bugs.freedesktop.org/attachment.cgi?id=144273=edit display-manager.service.youtube.log -- You are receiving this mail because: You are the assignee for the

[PATCH] drm/komeda: Clear enable bit in CU_INPUTx_CONTROL

2019-05-14 Thread Lowry Li (Arm Technology China)
Besides clearing the input ID to zero, D71 compiz also has input enable bit in CU_INPUTx_CONTROL which need to be cleared. Signed-off-by: Lowry Li (Arm Technology China) --- drivers/gpu/drm/arm/display/komeda/d71/d71_component.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-)

[v1] drm/arm/mali-dp: Disable checking for required pixel clock rate

2019-05-14 Thread Wen He
Disable checking for required pixel clock rate if ARCH_LAYERSCPAE is enable. Signed-off-by: Alison Wang Signed-off-by: Wen He --- change in description: - This check that only supported one pixel clock required clock rate compare with dts node value. but we have supports 4 pixel

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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #7 from Chris Hodapp --- Created attachment 144272 --> https://bugs.freedesktop.org/attachment.cgi?id=144272=edit dmesg.nomwait.log -- You are receiving this mail because: You are the assignee for the

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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #6 from Chris Hodapp --- I use systemd-boot but I doubt that matters very much here. I tried adding idle=nomwait to the kernel command line but it seemed not to affect the problem (I actually had a crash the very first time I tried

RE: [PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-14 Thread Liang, Prike
Hi Christian , I just wonder when encounter ENOMEM error during pin amdgpu BOs can we retry validate again as below. With the following simply patch the Abaqus pinned issue not observed. diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c index

Re: [PATCH] drm/pl111: Initialize clock spinlock early

2019-05-14 Thread Guenter Roeck
On 5/14/19 3:20 PM, Linus Walleij wrote: On Mon, May 13, 2019 at 4:46 PM Guenter Roeck wrote: The following warning is seen on systems with broken clock divider. INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness

Re: [PATCH v4 16/18] MAINTAINERS: add entry for KUnit the unit testing framework

2019-05-14 Thread Brendan Higgins
On Tue, May 14, 2019 at 03:17:09PM -0700, Brendan Higgins wrote: > 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 > --- > MAINTAINERS | 11 +++ > 1 file

Re: [PATCH v3 15/18] Documentation: kunit: add documentation for KUnit

2019-05-14 Thread Brendan Higgins
On Tue, May 14, 2019 at 12:16:23PM -0600, Jonathan Corbet wrote: > On Tue, 14 May 2019 11:08:10 -0700 > Brendan Higgins wrote: > > > > Naturally, though, I have one request: I'd rather not see this at the top > > > level, which is more than crowded enough as it is. Can this material > > >

Re: [PATCH] drm/pl111: Initialize clock spinlock early

2019-05-14 Thread Linus Walleij
On Mon, May 13, 2019 at 4:46 PM Guenter Roeck wrote: > The following warning is seen on systems with broken clock divider. > > INFO: trying to register non-static key. > the code is fine but needs lockdep annotation. > turning off the locking correctness validator. > CPU: 0 PID: 1 Comm: swapper

[PATCH v4 15/18] Documentation: kunit: add documentation for KUnit

2019-05-14 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 Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Documentation/dev-tools/index.rst

[PATCH v4 13/18] kunit: tool: add Python wrappers for running KUnit tests

2019-05-14 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

[PATCH v4 16/18] MAINTAINERS: add entry for KUnit the unit testing framework

2019-05-14 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 --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

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

2019-05-14 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

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

2019-05-14 Thread Brendan Higgins
Add entry for the new proc sysctl KUnit test to the PROC SYSCTL section. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8a91887c8d541..2e539647589fd

[PATCH v4 14/18] kunit: defconfig: add defconfigs for building KUnit tests

2019-05-14 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 ---

[PATCH v4 11/18] kunit: test: add the concept of assertions

2019-05-14 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 v4 05/18] kunit: test: add the concept of expectations

2019-05-14 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 --- include/kunit/test.h | 518 +++ kunit/test.c | 66

[PATCH v4 10/18] kunit: test: add tests for kunit test abort

2019-05-14 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 --- kunit/Makefile| 3 +-

[PATCH v4 12/18] kunit: test: add tests for KUnit managed resources

2019-05-14 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:

[PATCH v4 08/18] objtool: add kunit_try_catch_throw to the noreturn list

2019-05-14 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

[PATCH v4 09/18] kunit: test: add support for test abort

2019-05-14 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.

[PATCH v4 06/18] kbuild: enable building KUnit

2019-05-14 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 root Kconfig and Makefile to allow it to be actually built. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Kconfig |

[PATCH v4 07/18] kunit: test: add initial tests

2019-05-14 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 --- kunit/Kconfig | 25 ++- kunit/Makefile | 4 ++ kunit/example-test.c | 88

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

2019-05-14 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. Signed-off-by: Brendan Higgins Reviewed-by: Greg

[PATCH v4 04/18] kunit: test: add kunit_stream a std::stream like logger

2019-05-14 Thread Brendan Higgins
A lot of the expectation and assertion infrastructure prints out fairly complicated test failure messages, so add a C++ style log library for for logging test results. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- include/kunit/kunit-stream.h

[PATCH v4 01/18] kunit: test: add KUnit test runner core

2019-05-14 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

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

2019-05-14 Thread Brendan Higgins
## TLDR A quick follow up to yesterday's revision. I got some feedback that I wanted to incorporate before anyone else read the update. For this reason, I will leave a TLDR of the biggest changes since v2. Biggest things to look out for (since v2): - KUnit core now outputs results in TAP14. -

[PATCH v4 02/18] kunit: test: add test resource management API

2019-05-14 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

Re: [PATCH 2/2] mm/hmm: Only set FAULT_FLAG_ALLOW_RETRY for non-blocking

2019-05-14 Thread Alex Deucher
On Tue, May 14, 2019 at 5:12 PM Kuehling, Felix wrote: > > > On 2019-05-13 4:21 p.m., Deucher, Alexander wrote: > > [CAUTION: External Email] > > I reverted all the amdgpu HMM patches for 5.2 because they also > > depended on this patch: > >

Re: [PATCH v4 0/8] Allwinner H6 Mali GPU support

2019-05-14 Thread Robin Murphy
On 2019-05-14 10:22 pm, Clément Péron wrote: Hi, On Tue, 14 May 2019 at 17:17, Clément Péron wrote: Hi, On Tue, 14 May 2019 at 12:29, Neil Armstrong wrote: Hi, On 13/05/2019 17:14, Daniel Vetter wrote: On Sun, May 12, 2019 at 07:46:00PM +0200, peron.c...@gmail.com wrote: From: Clément

Re: [PATCH v4 0/8] Allwinner H6 Mali GPU support

2019-05-14 Thread Clément Péron
Hi, On Tue, 14 May 2019 at 17:17, Clément Péron wrote: > > Hi, > > On Tue, 14 May 2019 at 12:29, Neil Armstrong wrote: > > > > Hi, > > > > On 13/05/2019 17:14, Daniel Vetter wrote: > > > On Sun, May 12, 2019 at 07:46:00PM +0200, peron.c...@gmail.com wrote: > > >> From: Clément Péron > > >> > >

Re: [PATCH 1/2] mm/hmm: support automatic NUMA balancing

2019-05-14 Thread Kuehling, Felix
On 2019-05-13 5:27 p.m., Andrew Morton wrote: > [CAUTION: External Email] > > On Fri, 10 May 2019 19:53:23 + "Kuehling, Felix" > wrote: > >> From: Philip Yang >> >> While the page is migrating by NUMA balancing, HMM failed to detect this >> condition and still return the old page.

[Bug 110117] Waking from Suspend causes screen to appear with grey static (like a TV with no signal)

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110117 --- Comment #9 from Craig --- I would like to add to this some additional troubleshooting I have performed, in case it is of use. just a short history: I am unable to suspend with any Linux distribution and be able to resume again. Currently

[Bug 110117] Waking from Suspend causes screen to appear with grey static (like a TV with no signal)

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110117 --- Comment #10 from Craig --- Created attachment 144270 --> https://bugs.freedesktop.org/attachment.cgi?id=144270=edit Most Recent dmesg with magic number -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 2/2] mm/hmm: Only set FAULT_FLAG_ALLOW_RETRY for non-blocking

2019-05-14 Thread Kuehling, Felix
On 2019-05-13 4:21 p.m., Deucher, Alexander wrote: > [CAUTION: External Email] > I reverted all the amdgpu HMM patches for 5.2 because they also > depended on this patch: > https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-wip=ce05ef71564f7cbe270cd4337c36ee720ea534db > which did

[PATCH] drm/nouveau/bios/init: fix spelling mistake "CONDITON" -> "CONDITION"

2019-05-14 Thread Colin King
From: Colin Ian King There is a spelling mistake in a warning message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c

Re: [PATCH 1/5] dt-bindings: drm/bridge/synopsys: dw-hdmi: Add "unwedge" for ddc bus

2019-05-14 Thread Rob Herring
On Thu, 2 May 2019 15:53:32 -0700, Douglas Anderson wrote: > In certain situations it was seen that we could wedge up the DDC bus > on the HDMI adapter on rk3288. The only way to unwedge was to mux one > of the pins over to GPIO output-driven-low temporarily and then > quickly mux back. Full

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-14 Thread Brendan Higgins
On Fri, May 10, 2019 at 02:52:59PM -0700, Frank Rowand wrote: Sorry, I forgot to get back to this thread. > On 5/9/19 3:20 PM, Logan Gunthorpe wrote: > > > > > > On 2019-05-09 3:42 p.m., Theodore Ts'o wrote: > >> On Thu, May 09, 2019 at 11:12:12AM -0700, Frank Rowand wrote: > >>> > >>>     "My

[PATCH 2/2] drm/sun4i: Fix sun8i HDMI PHY configuration for > 148.5 MHz

2019-05-14 Thread Jernej Skrabec
Vendor provided documentation says that EMP bits should be set to 3 for pixel clocks greater than 148.5 MHz. Fix that. Cc: sta...@vger.kernel.org # 4.17+ Fixes: 4f86e81748fe ("drm/sun4i: Add support for H3 HDMI PHY variant") Signed-off-by: Jernej Skrabec ---

[PATCH 1/2] drm/sun4i: Fix sun8i HDMI PHY clock initialization

2019-05-14 Thread Jernej Skrabec
Current code initializes HDMI PHY clock driver before reset line is deasserted and clocks enabled. Because of that, initial readout of clock divider is incorrect (0 instead of 2). This causes any clock rate with divider 1 (register value 0) to be set incorrectly. Fix this by moving initialization

[PATCH 0/2] drm/sun4i: Fix sun8i HDMI PHY initialization

2019-05-14 Thread Jernej Skrabec
I received a report that 4K resolution doesn't work if U-Boot video driver is disabled. It turns out that HDMI PHY clock driver was initialized prematurely, before reset line was deasserted and clocks enabled. U-Boot video driver masked the issue because it set pixel clock correctly. In the

Re: [PATCH v2 02/10] dt-bindings: display: bridge: thc63lvd1024: Document dual-link operation

2019-05-14 Thread Rob Herring
On Sun, 12 May 2019 00:06:54 +0300, Laurent Pinchart wrote: > The THC63LVD1024 LVDS decoder can operate in two modes, single-link or > dual-link. In dual-link mode both input ports are used to carry even- > and odd-numbered pixels separately. Document this in the DT bindings, > along with the

Re: [PATCH v2 1/5] dt-bindings: display: stm32: add supply property to DSI controller

2019-05-14 Thread Rob Herring
On Fri, 10 May 2019 16:20:19 +0200, =?UTF-8?q?Yannick=20Fertr=C3=A9?= wrote: > This patch adds documentation of a new property phy-dsi-supply to the > STM32 DSI controller. > > Signed-off-by: Yannick Fertré > --- > Documentation/devicetree/bindings/display/st,stm32-ltdc.txt | 3 +++ > 1 file

Re: [PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-14 Thread Marek Olšák
This series fixes the OOM errors. However, if I torture the kernel driver more, I can get it to deadlock and end up with unkillable processes. I can also get an OOM error. I just ran the test 5 times: AMD_DEBUG=testgdsmm glxgears & AMD_DEBUG=testgdsmm glxgears & AMD_DEBUG=testgdsmm glxgears &

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-14 Thread Brendan Higgins
On Tue, May 14, 2019 at 02:05:05PM +0200, Daniel Vetter wrote: > On Tue, May 14, 2019 at 8:04 AM Brendan Higgins > wrote: > > > > On Mon, May 13, 2019 at 04:44:51PM +0200, Daniel Vetter wrote: > > > On Sat, May 11, 2019 at 01:33:44PM -0400, Theodore Ts'o wrote: > > > > On Fri, May 10, 2019 at

Re: [PATCH v3 15/18] Documentation: kunit: add documentation for KUnit

2019-05-14 Thread Jonathan Corbet
On Tue, 14 May 2019 11:08:10 -0700 Brendan Higgins wrote: > > Naturally, though, I have one request: I'd rather not see this at the top > > level, which is more than crowded enough as it is. Can this material > > please go into the development tools book, alongside the kselftest > >

Re: [PATCH v3 08/18] objtool: add kunit_try_catch_throw to the noreturn list

2019-05-14 Thread Brendan Higgins
On Tue, May 14, 2019 at 10:46:55AM +0200, Peter Zijlstra wrote: > On Tue, May 14, 2019 at 01:12:23AM -0700, Brendan Higgins wrote: > > On Tue, May 14, 2019 at 08:56:43AM +0200, Peter Zijlstra wrote: > > > On Mon, May 13, 2019 at 10:42:42PM -0700, Brendan Higgins wrote: > > > > This fixes the

Re: [PATCH] drm/bridge: adv7511: Fix low refresh rate selection

2019-05-14 Thread Sean Paul
On Sat, May 11, 2019 at 10:32:26PM +0300, Laurent Pinchart wrote: > Hi Matt, > > Thank you for the patch. > > On Wed, Apr 24, 2019 at 01:22:27PM +, Matt Redfearn wrote: > > The driver currently sets register 0xfb (Low Refresh Rate) based on the > > value of mode->vrefresh. Firstly, this

Re: [PATCH v2.1 1/2] drm/msm: remove resv fields from msm_gem_object struct

2019-05-14 Thread Sean Paul
On Mon, May 13, 2019 at 07:41:04PM -0400, Brian Masney wrote: > The msm_gem_object structure contains resv and _resv fields that are > no longer needed since the reservation object is now stored on > drm_gem_object. msm_atomic_prepare_fb() and msm_atomic_prepare_fb() > both referenced the wrong

Re: [PATCH v3 15/18] Documentation: kunit: add documentation for KUnit

2019-05-14 Thread Brendan Higgins
On Tue, May 14, 2019 at 07:34:22AM -0600, Jonathan Corbet wrote: > On Mon, 13 May 2019 22:42:49 -0700 > Brendan Higgins wrote: > > > Add documentation for KUnit, the Linux kernel unit testing framework. > > - Add intro and usage guide for KUnit > > - Add API reference > > > > Signed-off-by:

Re: [PATCH 4/4] arm64: DTS: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-05-14 Thread Vasily Khoruzhick
On Tue, May 14, 2019 at 9:03 AM Torsten Duwe wrote: > > From: Icenowy Zheng > > TERES-I has an ANX6345 bridge connected to the RGB666 LCD output, and > the I2C controlling signals are connected to I2C0 bus. > > Enable it in the device tree. > > Signed-off-by: Icenowy Zheng > Signed-off-by:

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #7 from Nicholas Kazlauskas --- The issue is in the display driver. The driver does an sRGB degamma, CTM, then sRGB regamma + user regamma - which explains why the screen is mostly white (since the curve is inverse). If the the

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #6 from Vlad Zagorodniy --- Created attachment 144269 --> https://bugs.freedesktop.org/attachment.cgi?id=144269=edit Xorg log file -- You are receiving this mail because: You are the assignee for the

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #5 from Vlad Zagorodniy --- Created attachment 144268 --> https://bugs.freedesktop.org/attachment.cgi?id=144268=edit dmesg output -- You are receiving this mail because: You are the assignee for the

[v10 11/12] video/hdmi: Add Unpack function for DRM infoframe

2019-05-14 Thread Uma Shankar
Added unpack function for DRM infoframe for dynamic range and mastering infoframe readout. v2: Addressed Ville's review comments. Suggested-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/video/hdmi.c | 70 include/linux/hdmi.h |

[v10 12/12] drm/i915: Add state readout for DRM infoframe

2019-05-14 Thread Uma Shankar
Added state readout for DRM infoframe and enabled state validation for DRM infoframe. v2: Addressed Ville's review comments and dropped the unused drm infoframe read at intel_hdmi_init. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_ddi.c | 4

[v10 09/12] drm/i915:Enabled Modeset when HDR Infoframe changes

2019-05-14 Thread Uma Shankar
This patch enables modeset whenever HDR metadata needs to be updated to sink. v2: Addressed Shashank's review comments. v3: Added Shashank's RB. v4: Addressed Ville's review comments. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar Reviewed-by: Shashank Sharma ---

[v10 10/12] drm/i915: Added DRM Infoframe handling for BYT/CHT

2019-05-14 Thread Uma Shankar
BYT/CHT doesn't support DRM Infoframe. This caused a WARN_ON due to a missing CASE while executing intel_hdmi_infoframes_enabled function. This patch fixes the same. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[v10 01/12] drm: Add HDR source metadata property

2019-05-14 Thread Uma Shankar
This patch adds a blob property to get HDR metadata information from userspace. This will be send as part of AVI Infoframe to panel. It also implements get() and set() functions for HDR output metadata property.The blob data is received from userspace and saved in connector state, the same is

[v10 00/12] Add HDR Metadata Parsing and handling in DRM layer

2019-05-14 Thread Uma Shankar
This patch series enables HDR support in drm. It basically defines HDR metadata structures, property to pass content (after blending) metadata from user space compositors to driver. Dynamic Range and Mastering infoframe creation and sending. ToDo: 1. We need to get the color framework in place

[v10 04/12] drm: Enable HDR infoframe support

2019-05-14 Thread Uma Shankar
Enable Dynamic Range and Mastering Infoframe for HDR content, which is defined in CEA 861.3 spec. The metadata will be computed based on blending policy in userspace compositors and passed as a connector property blob to driver. The same will be sent as infoframe to panel which support HDR.

[v10 03/12] drm: Parse HDR metadata info from EDID

2019-05-14 Thread Uma Shankar
HDR metadata block is introduced in CEA-861.3 spec. Parsing the same to get the panel's HDR metadata. v2: Rebase and added Ville's POC changes to the patch. v3: No Change v4: Addressed Shashank's review comments v5: Addressed Shashank's comment and added his RB. v6: Addressed Jonas Karlman

[v10 06/12] drm/i915: Write HDR infoframe and send to panel

2019-05-14 Thread Uma Shankar
Enable writing of HDR metadata infoframe to panel. The data will be provid by usersapace compositors, based on blending policies and passsed to driver through a blob property. v2: Rebase v3: Fixed a warning message v4: Addressed Shashank's review comments v5: Rebase. Added infoframe

[v10 08/12] drm/i915: Enable infoframes on GLK+ for HDR

2019-05-14 Thread Uma Shankar
From: Ville Syrjälä This patch enables infoframes on GLK+ to be used to send HDR metadata to HDMI sink. v2: Addressed Shashank's review comment. v3: Addressed Shashank's review comment. v4: Added Shashank's RB. v5: Dropped hdr_metadata_change check while modeset, as per Ville's suggestion.

[v10 07/12] drm: Add HLG EOTF

2019-05-14 Thread Uma Shankar
From: Ville Syrjälä ADD HLG EOTF to the list of EOTF transfer functions supported. Hybrid Log-Gamma (HLG) is a high dynamic range (HDR) standard. HLG defines a nonlinear transfer function in which the lower half of the signal values use a gamma curve and the upper half of the signal values use a

[v10 05/12] drm/i915: Attach HDR metadata property to connector

2019-05-14 Thread Uma Shankar
Attach HDR metadata property to connector object. v2: Rebase v3: Updated the property name as per updated name while creating hdr metadata property Signed-off-by: Uma Shankar Reviewed-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff

[v10 02/12] drm: Add reference counting on HDR metadata blob

2019-05-14 Thread Uma Shankar
From: Jonas Karlman This adds reference count for HDR metadata blob, handled as part of duplicate and destroy connector state functions. Signed-off-by: Jonas Karlman Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_atomic_state_helper.c | 6 ++ 1 file changed, 6 insertions(+) diff

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 Michel Dänzer changed: What|Removed |Added CC||nicholas.kazlaus...@amd.com ---

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 Vlad Zagorodniy changed: What|Removed |Added OS|All |Linux (All) Hardware|Other

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #3 from Vlad Zagorodniy --- Created attachment 144267 --> https://bugs.freedesktop.org/attachment.cgi?id=144267=edit Screen without inverted colors -- You are receiving this mail because: You are the assignee for the

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #2 from Vlad Zagorodniy --- Created attachment 144266 --> https://bugs.freedesktop.org/attachment.cgi?id=144266=edit expected -- You are receiving this mail because: You are the assignee for the

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #1 from Vlad Zagorodniy --- Created attachment 144265 --> https://bugs.freedesktop.org/attachment.cgi?id=144265=edit observed -- You are receiving this mail because: You are the assignee for the

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 Bug ID: 110677 Summary: Can't invert screen colors by adjusting the gamma ramp Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW

RE: [v9 10/13] drm/i915: Set Infoframe for non modeset case for HDR

2019-05-14 Thread Shankar, Uma
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Tuesday, May 14, 2019 1:10 AM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >dcasta...@chromium.org; jo...@kwiboo.se; emil.l.veli...@gmail.com;

RE: [v9 12/13] video/hdmi: Add Unpack function for DRM infoframe

2019-05-14 Thread Shankar, Uma
>-Original Message- >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of >Ville >Syrjälä >Sent: Tuesday, May 14, 2019 1:20 AM >To: Shankar, Uma >Cc: dcasta...@chromium.org; jo...@kwiboo.se; intel-...@lists.freedesktop.org; >emil.l.veli...@gmail.com;

[PATCH 4/4] arm64: DTS: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-05-14 Thread Torsten Duwe
From: Icenowy Zheng TERES-I has an ANX6345 bridge connected to the RGB666 LCD output, and the I2C controlling signals are connected to I2C0 bus. Enable it in the device tree. Signed-off-by: Icenowy Zheng Signed-off-by: Torsten Duwe --- originally: patchwork.kernel.org/patch/10646867

[PATCH 2/4] dt-bindings: Add ANX6345 DP/eDP transmitter binding

2019-05-14 Thread Torsten Duwe
From: Icenowy Zheng The ANX6345 is an ultra-low power DisplayPort/eDP transmitter designed for portable devices. Add a binding document for it. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Reviewed-by: Rob Herring Signed-off-by: Torsten Duwe --- originally:

[PATCH 3/4] arm64: DTS: allwinner: a64: Enable audio on Teres-I

2019-05-14 Thread Torsten Duwe
From: Harald Geyer The TERES-I has internal speakers (left, right), internal microphone and a headset combo jack (headphones + mic). The headphone lines are multiplexed with the debug console. The headphone and mic detect lines of the A64 are connected properly, but AFAIK currently unsupported

[PATCH 1/4] arm64: DTS: allwinner: a64: Add pinmux for RGB666 LCD

2019-05-14 Thread Torsten Duwe
From: Icenowy Zheng Allwinner A64's TCON0 can output RGB666 LCD signal. Add its pinmux. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Signed-off-by: Torsten Duwe --- originally: patchwork.kernel.org/patch/10814179 Almost trivial, and obviously correct. I added the

Re: [PATCH] drm/panfrost: Make devfreq truly optional

2019-05-14 Thread Ezequiel Garcia
On Tue, 2019-05-14 at 08:38 -0500, Rob Herring wrote: > On Mon, May 13, 2019 at 12:56 PM Ezequiel Garcia > wrote: > > Currently, there is some logic to make devfreq optional, > > but it fails to cover some cases such as !CONFIG_PM_DEVFREQ. > > Fails how? compiling? runtime? Or just builds extra

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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #5 from Alex Deucher --- Does appending idle=nomwait on the kernel command line in grub help? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel

Re: [linux-sunxi] [PATCH v4 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64

2019-05-14 Thread Clément Péron
Hi Jagan, Chen-Yu, On Tue, 14 May 2019 at 12:18, Chen-Yu Tsai wrote: > > On Mon, May 13, 2019 at 2:28 AM Jagan Teki wrote: > > > > On Sun, May 12, 2019 at 11:16 PM wrote: > > > > > > From: Clément Péron > > > > > > Enable and add supply to the Mali GPU node on the > > > Pine H64 board. > > >

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Daniel Vetter
On Tue, May 14, 2019 at 3:36 PM Pekka Paalanen wrote: > > On Tue, 14 May 2019 13:02:09 +0200 > Daniel Vetter wrote: > > > On Tue, May 14, 2019 at 10:18 AM Ser, Simon wrote: > > > > > > On Tue, 2019-05-14 at 11:02 +0300, Pekka Paalanen wrote: > > > > On Mon, 13 May 2019 11:34:58 +0200 > > > >

Re:[PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-14 Thread Zhou, David(ChunMing)
how to refresh LRU to keep the order align with bo list passed from user space? you can verify it by some games, performance could be different much between multiple runnings. -David Original Message Subject: Re: [PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during

Re: [PATCH v5 00/11] drm/fb-helper: Move modesetting code to drm_client

2019-05-14 Thread Noralf Trønnes
Den 06.05.2019 20.01, skrev Noralf Trønnes: > This moves the modesetting code from drm_fb_helper to drm_client so it > can be shared by all internal clients. > > Changes this time: > - Use restore_fbdev_mode_force() in > drm_fb_helper_restore_fbdev_mode_unlocked() to please igt tests. I'm

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Daniel Vetter
On Tue, May 14, 2019 at 4:13 PM Paul Kocialkowski wrote: > > Hi, > > On Tue, 2019-05-14 at 13:09 +0200, Daniel Vetter wrote: > > On Mon, May 13, 2019 at 7:14 PM Paul Kocialkowski > > wrote: > > > Hey, > > > > > > Le lundi 13 mai 2019 à 11:34 +0200, Daniel Vetter a écrit : > > > > On Mon, May 13,

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Paul Kocialkowski
Hi, On Tue, 2019-05-14 at 13:09 +0200, Daniel Vetter wrote: > On Mon, May 13, 2019 at 7:14 PM Paul Kocialkowski > wrote: > > Hey, > > > > Le lundi 13 mai 2019 à 11:34 +0200, Daniel Vetter a écrit : > > > On Mon, May 13, 2019 at 11:02 AM Paul Kocialkowski > > > wrote: > > > > Hi, > > > > > > >

[PATCH 1/2] dma-buf: start caching of sg_table objects v2

2019-05-14 Thread Christian König
To allow a smooth transition from pinning buffer objects to dynamic invalidation we first start to cache the sg_table for an attachment. v2: keep closer to the DRM implementation Signed-off-by: Christian König --- drivers/dma-buf/dma-buf.c | 27 +--

[PATCH 2/2] drm: remove prime sg_table caching

2019-05-14 Thread Christian König
That is now done by the DMA-buf helpers instead. Signed-off-by: Christian König --- drivers/gpu/drm/drm_prime.c | 77 - 1 file changed, 17 insertions(+), 60 deletions(-) diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index

Preparation for unpinned DMA-buf handling

2019-05-14 Thread Christian König
Hi Daniel, since we are not moving forward with this I've separated the change out of the larger patchset. Any objections to this now? It's basically a 1:1 move of the functionality from DRM to DMA-buf. Thanks, Christian. ___ dri-devel mailing

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Paul Kocialkowski
Hi, On Tue, 2019-05-14 at 16:36 +0300, Pekka Paalanen wrote: > On Tue, 14 May 2019 13:02:09 +0200 > Daniel Vetter wrote: > > > On Tue, May 14, 2019 at 10:18 AM Ser, Simon wrote: > > > On Tue, 2019-05-14 at 11:02 +0300, Pekka Paalanen wrote: > > > > On Mon, 13 May 2019 11:34:58 +0200 > > > >

  1   2   >