[Bug 109102] At dual monitor intel_do_flush_locked failed: Resource deadlock avoided

2019-01-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109102 --- Comment #3 from Gert vd Kraats --- I am using intel i915 gen 3 with 16 fence registers. When displaying the variable total_fences at function drm_intel_gem_check_aperture_space at libdrm-2.4.95/intel/intel_bufmgr_gem.c, it is seen that the d

[Bug 109102] At dual monitor intel_do_flush_locked failed: Resource deadlock avoided

2019-01-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109102 --- Comment #4 from Gert vd Kraats --- Created attachment 143231 --> https://bugs.freedesktop.org/attachment.cgi?id=143231&action=edit libdrm-patch -- You are receiving this mail because: You are the assignee for the bug.

[Bug 109177] Blender 2.8 triggers GPU lockup when entering Edit Mode

2019-01-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109177 MirceaKitsune changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH v6 1/5] staging/vboxvideo: prepare for drmP.h removal from drm_modeset_helper.h

2019-01-26 Thread Sam Ravnborg
The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused vboxvideo to fail to build. This patch introduce the necessary fixes to prepare for the drmP.h removal from drm_modeset_helper.h. In the files touched sort the include files Build tested on x86 and arm allmodconf

[PATCH v6 0/5] drm: minimize drmP.h dependencies

2019-01-26 Thread Sam Ravnborg
Updated patchset, with merged patches removed, new patches added. > From the original mail: - drmP.h is now stripped down to include files and forward declarations. - All header files in include/drm/ no longer include drmP.h. The series was made on top of drm-misc-next:

[PATCH v6 4/5] drm: prepare for drmP.h removal from drm_modeset_helper.h

2019-01-26 Thread Sam Ravnborg
The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused drm/ to fail to build. This patch introduce the necessary fixes to prepare for the drmP.h removal from drm_modeset_helper.h. Build tested on x86, arm, alpha, ia64 allmodconfig/allyesconfig. Signed-off-by: Sam Rav

[PATCH v6 2/5] drm/i915: prepare for drmP.h removal from drm_modeset_helper.h

2019-01-26 Thread Sam Ravnborg
The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused i915 to fail to build. This patch introduce the necessary fixes to prepare for the drmP.h removal from drm_modeset_helper.h. In the files touched the lists of include files was grouped and sorted. Build tested on

[PATCH v6 3/5] drm/rcar-du: prepare for drmP.h removal from drm_modeset_helper.h

2019-01-26 Thread Sam Ravnborg
The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused rcar-du to fail to build. This patch introduce the necessary fixes to prepare for the drmP.h removal from drm_modeset_helper.h. Build tested on arm allmodconfig/allyesconfig. v2: - new patch. Changes like drm_pro

[PATCH v6 5/5] drm: remove drmP.h from drm_modeset_helper.h

2019-01-26 Thread Sam Ravnborg
With the removal of drmP.h from drm_modeset_helper.h the drmP.h are no longer included by any include files in include/drm. The drmP.h file is thus only included explicit either in .c files or in local .h files. This makes the process of deleting the drmP.h includes easier as we have a more local d

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2019-01-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 --- Comment #63 from l...@protonmail.ch --- Well, my GPU doesn't even work properly on Windows anymore. I do not think the GPU was originally faulty, as it *did* work without problems on Windows before, but now after having used it on Linux, it h

Re: [PATCH] drm/rockchip: check yuv2yuv existence before assigning window data

2019-01-26 Thread Ezequiel Garcia
On Sat, 2019-01-26 at 01:24 +0100, Heiko Stuebner wrote: > Before assigning window data, we should check if the yuv2yuv vop-data > is set at all, because it looks like it can otherwise reference something > wrong, as I saw on my rk3188 today which ended up in a null pointer > dereference in vop_pla

Re: [PATCH v9 2/2] drm/panel: Add Sitronix ST7701 panel driver

2019-01-26 Thread Sam Ravnborg
Hi Thierry. > ST7701 designed for small and medium sizes of TFT LCD display, is > capable of supporting up to 480RGBX864 in resolution. It provides > several system interfaces like MIPI/RGB/SPI. > > Currently added support for Techstar TS8550B which is ST7701 based > 480x854, 2-lane MIPI DSI LCD

Re: [PATCH 4/4] drm/panel: Add Rondo RB070D30 panel

2019-01-26 Thread Sam Ravnborg
Hi Maxime / Konstantin. Nice welstructured and small driver. Please see a few comments below Some of the comments in the following apply to a lot of the existing panel drivers as well. But lets see if we can get new drivers to be even better. Sam On Wed, Jan 23, 2019 at 04:54:24PM +010

[Bug 109461] [amdgpu/radeonsi,HAWAII] Hand of Fate 2 leads to GPU lock up (display powered off, SSH works, keyboard dead): "flip_done timed out"

2019-01-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109461 Bug ID: 109461 Summary: [amdgpu/radeonsi,HAWAII] Hand of Fate 2 leads to GPU lock up (display powered off, SSH works, keyboard dead): "flip_done timed out" Product: DRI

Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-26 Thread Chris Wilson
Quoting Nathan Chancellor (2019-01-26 07:57:49) > On Fri, Jan 25, 2019 at 11:34:19PM -0800, Nick Desaulniers wrote: > > On Fri, Jan 25, 2019 at 11:13 PM Nathan Chancellor > > wrote: > > > > > > This warning is disabled by default in scripts/Makefile.extrawarn when > > > W= is not provided but this

[PATCH v1 1/1] drm: drop drm_bus from todo

2019-01-26 Thread Sam Ravnborg
David Herrmann removed the last bits of drm_bus in: c5786fe5f1c50941dbe27fc8b4aa1afee46ae893 ("drm: Goody bye, drm_bus!") Remove the todo item. Signed-off-by: Sam Ravnborg Cc: David Herrmann Cc: David Airlie Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul --- Docum

Re: [PATCH v2 00/13] drm/tegra: Fix IOVA space on Tegra186 and later

2019-01-26 Thread Dmitry Osipenko
25.01.2019 11:57, Mikko Perttunen пишет: > On 24.1.2019 23.53, Dmitry Osipenko wrote: >> 24.01.2019 21:02, Thierry Reding пишет: >>> From: Thierry Reding >>> >>> Tegra186 and later are different from earlier generations in that they >>> use an ARM SMMU rather than the Tegra SMMU. The ARM SMMU driv

[PATCH 3/5] drm/i2c: tda998x: add support for writing SPD

2019-01-26 Thread Russell King
Add support for writing the SPD infoframe to the TDA998x. Identify us as "Generic" vendor "PC" product, and as "PC general" source device information. Signed-off-by: Russell King --- drivers/gpu/drm/i2c/tda998x_drv.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/driver

Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-26 Thread Nick Desaulniers
On Fri, Jan 25, 2019 at 11:13 PM Nathan Chancellor wrote: > > This warning is disabled by default in scripts/Makefile.extrawarn when > W= is not provided but this Makefile adds -Wall after this warning is > disabled so it shows up in the build when it shouldn't: > > In file included from drivers/g

Re: [PATCH] drm/amd/display: Pass app_tf by value rather than by reference

2019-01-26 Thread Nathan Chancellor
On Fri, Dec 14, 2018 at 08:09:00PM +, Wentland, Harry wrote: > On 2018-12-11 5:07 p.m., Nick Desaulniers wrote: > > On Tue, Dec 11, 2018 at 1:42 PM Nathan Chancellor > > wrote: > >> > >> On Tue, Dec 11, 2018 at 01:25:00PM -0800, Nick Desaulniers wrote: > >>> On Mon, Dec 10, 2018 at 3:42 PM Nat

[PATCH 2/5] drm/i2c: tda998x: add bridge timing information

2019-01-26 Thread Russell King
Add bridge timing information so that bridge users can figure out the timing parameters that are necessary for TDA998x. Signed-off-by: Russell King --- drivers/gpu/drm/i2c/tda998x_drv.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c

Re: [PATCH] drm/armada: add mmp2 support

2019-01-26 Thread Lubomir Rintel
On Tue, 2019-01-22 at 19:10 +, Russell King - ARM Linux admin wrote: > On Mon, Jan 21, 2019 at 07:03:49AM +0100, Lubomir Rintel wrote: > > Heavily based on the Armada 510 (Dove) support. Like with 510 support, this > > also just supports a single source clock -- the "Display 1" clock as > > gen

[PATCH 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-01-26 Thread Paweł Chmiel
This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over spi. It's based on already removed, non dt s6e63m0 driver and panel-samsung-ld9040. There is possibility to choose one from 3 different gamma tables. It can be found for example in some of Samsung Aries based phones. Signed-of

Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-26 Thread Nathan Chancellor
On Sat, Jan 26, 2019 at 12:11:23AM -0700, Nathan Chancellor wrote: > This warning is disabled by default in scripts/Makefile.extrawarn when > W= is not provided but this Makefile adds -Wall after this warning is > disabled so it shows up in the build when it shouldn't: > > In file included from dr

[PATCH -next] drm/xen-front: Drop pointless static qualifier in fb_destroy()

2019-01-26 Thread YueHaibing
There is no need to have the 'struct drm_framebuffer *fb' variable static since new value always be assigned before use it. Signed-off-by: YueHaibing --- drivers/gpu/drm/xen/xen_drm_front_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xen/xen_drm_front_

Re: [PATCH] drm: enable uncached DMA optimization for ARM and arm64

2019-01-26 Thread Ard Biesheuvel
On Fri, 25 Jan 2019 at 12:30, Christian König wrote: > > Am 25.01.19 um 09:43 schrieb Ard Biesheuvel: > > On Thu, 24 Jan 2019 at 15:01, Alex Deucher wrote: > >> On Thu, Jan 24, 2019 at 9:00 AM Ard Biesheuvel > >> wrote: > >>> On Thu, 24 Jan 2019 at 13:31, Koenig, Christian > >>> wrote: > A

Re: [PATCH v2 00/13] drm/tegra: Fix IOVA space on Tegra186 and later

2019-01-26 Thread Dmitry Osipenko
25.01.2019 12:23, Thierry Reding пишет: > On Fri, Jan 25, 2019 at 12:38:01AM +0300, Dmitry Osipenko wrote: >> 24.01.2019 21:02, Thierry Reding пишет: >>> From: Thierry Reding >>> >>> Tegra186 and later are different from earlier generations in that they >>> use an ARM SMMU rather than the Tegra SM

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-01-26 Thread Tristan Bastian
Am 25.01.19 um 14:11 schrieb Thierry Reding: From: Thierry Reding If an I2C adapter doesn't match the provided device tree node, also try matching the parent's device tree node. This allows finding an adapter based on the device node of the parent device that was used to register it. This fixe

[PATCH] drm/amd/powerplay: Fix missing break in switch

2019-01-26 Thread Gustavo A. R. Silva
Add missing break statement in order to prevent the code from falling through to the default case. The resoning for this is that pclk_vol_table is an automatic variable. So, it makes no sense to update it just before falling through to the default case and return -EINVAL. This bug was found thank

Re: [linux-sunxi] Re: [PATCH v6 14/22] dt-bindings: sun6i-dsi: Add A64 DSI compatible (w/ A31 fallback)

2019-01-26 Thread Jagan Teki
On 25/01/19 9:22 PM, Maxime Ripard wrote: On Fri, Jan 25, 2019 at 01:28:52AM +0530, Jagan Teki wrote: The MIPI DSI controller in Allwinner A64 is similar to A33. But unlike A33, A64 doesn't have DSI_SCLK gating which eventually set the mod clock rate for the controller. So, use the DSI_DPHY ga

[PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-26 Thread Nathan Chancellor
This warning is disabled by default in scripts/Makefile.extrawarn when W= is not provided but this Makefile adds -Wall after this warning is disabled so it shows up in the build when it shouldn't: In file included from drivers/gpu/drm/i915/intel_breadcrumbs.c:895: drivers/gpu/drm/i915/selftests/in

[PATCH 1/2] drm: panel: Add Samsung s6e63m0 panel documentation

2019-01-26 Thread Paweł Chmiel
From: Jonathan Bakker This commit adds documentation for Samsung s6e63m0 AMOLED LCD panel driver. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../display/panel/samsung,s6e63m0.txt | 60 +++ 1 file changed, 60 insertions(+) create mode 100644 Docume

[PATCH 5/5] drm/i2c: tda998x: improve correctness of quantisation range

2019-01-26 Thread Russell King
CEA-861 says: "A Source shall not send a non-zero Q value that does not correspond to the default RGB Quantization Range for the transmitted Picture unless the Sink indicates support for the Q bit in a Video Capabilities Data Block." Make TDA998x compliant by using the helper to set the quantisati

[PATCH 1/5] drm/i2c: tda998x: add support for pixel repeated modes

2019-01-26 Thread Russell King
TDA998x has no support for pixel repeated modes, and the code notes this as a "TODO" item. The implementation appears to be relatively simple, so lets add it. We need to calculate the serializer clock divisor based on the TMDS clock rate, set the repeat control, and set the serializer pixel repea

[PATCH 4/5] drm/i2c: tda998x: add vendor specific infoframe support

2019-01-26 Thread Russell King
Add support for the vendor specific infoframe. Signed-off-by: Russell King --- drivers/gpu/drm/i2c/tda998x_drv.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index dad7396ebe2b..b0ed2ef49c62 100644 ---

Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-26 Thread Nathan Chancellor
On Fri, Jan 25, 2019 at 11:34:19PM -0800, Nick Desaulniers wrote: > On Fri, Jan 25, 2019 at 11:13 PM Nathan Chancellor > wrote: > > > > This warning is disabled by default in scripts/Makefile.extrawarn when > > W= is not provided but this Makefile adds -Wall after this warning is > > disabled so i

Re: [PATCH v2] drm/i915: Disable -Wuninitialized

2019-01-26 Thread Nick Desaulniers
On Fri, Jan 25, 2019 at 11:34 PM Nick Desaulniers wrote: > > On Fri, Jan 25, 2019 at 11:13 PM Nathan Chancellor > wrote: > > > > This warning is disabled by default in scripts/Makefile.extrawarn when > > W= is not provided but this Makefile adds -Wall after this warning is > > disabled so it show

[PATCH] drm: etnaviv: try harder to generate a core dump

2019-01-26 Thread Russell King
It is possible that the size of the BOs currently queued for the GPU exceed our available memory for dumping a device core dump. If this occures, try generating a core dump without containing the contents of the BOs. Signed-off-by: Russell King --- drivers/gpu/drm/etnaviv/etnaviv_dump.c | 30 ++

Re: [PATCH 1/2] drm: panel: Add Samsung s6e63m0 panel documentation

2019-01-26 Thread Sam Ravnborg
Hi Pawel. Thanks for the patch, some comments follows. Please judge what comments you chose to follow, see this as suggestions. According to Documentation/devicetree/bindings/submitting-patches.rst: The preferred subject prefix for binding patches is: "dt-bindings: : ..." It wou

Re: [PATCH 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-01-26 Thread Sam Ravnborg
Hi Pawel. Thanks for this nice patch too. Comment follows and you need to judge what to follow. The timing part will not be commented as this was covered in feedback on the binding. Using a sysfs file to select the gamma mode looks like a local hack. Someone with more drm knowledge needs comment

[Bug 109462] [bisected] Latest amd-staging-drm-next vega10 MCLK stuck on lowest level

2019-01-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109462 Bug ID: 109462 Summary: [bisected] Latest amd-staging-drm-next vega10 MCLK stuck on lowest level Product: DRI Version: XOrg git Hardware: Other OS: All

linux-next: Fixes tag needs some work in the drm-misc-fixes tree

2019-01-26 Thread Stephen Rothwell
Hi all, In commit 053ff09f1a8f ("drm/rockchip: rgb: update SPDX license identifier") Fixes tag Fixes: 1f0f01515172 ("Add support for Rockchip Soc RGB output interface") has these problem(s): - Subject does not match target commit subject -- Cheers, Stephen Rothwell pgpsISYlJuMI_.pgp

linux-next: Signed-off-by missing for commit in the drm-intel tree

2019-01-26 Thread Stephen Rothwell
Hi all, Commit 8e525cb4a622 ("drm/i915/execlists: Move RPCS setup to context pin") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpCvtnpeFPUo.pgp Description: OpenPGP digital signature ___ dri-devel mailing list dri-

Re: [PATCH 4/4] drm/panel: Add Rondo RB070D30 panel

2019-01-26 Thread Sam Ravnborg
Hi Konstantin > >> + ctx->gpios.updn = devm_gpiod_get(&dsi->dev, "updn", GPIOD_OUT_LOW); > >> + if (IS_ERR(ctx->gpios.updn)) { > >> + dev_err(&dsi->dev, "Couldn't get our updn GPIO\n"); > >> + return PTR_ERR(ctx->gpios.updn); > >> + } > > This gpio is never used, it is only read from DT > The gpio