[PATCH] drm/sun4i: rgb: Enable panel after controller

2016-09-21 Thread Jonathan Liu
The panel should be enabled after the controller so that the panel prepare/enable delays are properly taken into account. Similarly, the panel should be disabled before the controller so that the panel unprepare/disable delays are properly taken into account. This is useful for avoiding visual gli

[PATCH] drm/udl: Fix for the X server screen update v3

2016-09-21 Thread Jani Nikula
On Wed, 21 Sep 2016, poma wrote: > On 21.09.2016 13:33, David Herrmann wrote: >> The author of a patch must provide the S-o-b (see >> Documentation/SubmittingPatches if you want details). So simply reply >> with a "S-o-b: foo " line to this mail. And please include it in >> all patches you submit

[PATCH] dma-buf/fence-array: get signaled state when signaling is disabled

2016-09-21 Thread Christian König
Am 21.09.2016 um 13:36 schrieb Gustavo Padovan: > From: Gustavo Padovan > > If the fences in the fence_array signal on the fence_array does not have > signalling enabled num_pending will not be updated accordingly. > > So when signaling is disabled check the signal of every fence with > fence_is_s

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 --- Comment #9 from Elmar Stellnberger --- any other opinion by someone else on this issue? -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 --- Comment #8 from Alex Deucher --- Running the hardware out of spec is not something we want to support. -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 --- Comment #7 from Elmar Stellnberger --- It obviously works stable over HDMI as well. Besides this I have just tested an ATI Mobility Radeon HD 2600 XT/2700 and it can provide 3840x2160_22.00 over its HDMI port with a radeon.hdmimhz of 250. W

[Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-09-21 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/09c75186/attachment.html>

[Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-09-21 Thread bugzilla-dae...@freedesktop.org
can't tell what's happening after that. -- You are receiving this mail because: You are on the CC list for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/11e93e23/attachment.html>

[Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-09-21 Thread bugzilla-dae...@freedesktop.org
because: You are on the CC list for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/d1183b44/attachment.html>

[Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-09-21 Thread bugzilla-dae...@freedesktop.org
because: You are on the CC list for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/e6b10902/attachment-0001.html>

[Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-09-21 Thread bugzilla-dae...@freedesktop.org
se: You are on the CC list for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/91322a92/attachment.html>

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-09-21 Thread Michel Dänzer
On 13/09/16 09:52 PM, Christian König wrote: > Am 13.09.2016 um 11:39 schrieb Chris Wilson: >> On Tue, Sep 13, 2016 at 10:44:11AM +0200, Christian König wrote: >>> Am 09.09.2016 um 03:15 schrieb Michel Dänzer: On 09/09/16 01:23 AM, Chris Wilson wrote: > On Thu, Sep 08, 2016 at 05:21:42P

[PATCH 14/14] GPU-DRM-OMAP: Rename a jump label in four functions

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 18:00:23 +0200 Adjust jump labels according to the current Linux coding style convention. Thus replace the identifier "fail" by "unlock" for this refactoring. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_gem.c | 27 +++--

[PATCH 13/14] GPU-DRM-OMAP: Rename a jump label in omap_gem_new_dmabuf()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 17:45:04 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_gem.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/dr

[PATCH 12/14] GPU-DRM-OMAP: Move a variable assignment in omap_gem_attach_pages()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 17:42:28 +0200 Move one assignment for the local variable "npages" so that its setting will only be performed after a call of the function "drm_gem_get_pages" succeeded by this function. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_

[PATCH 11/14] GPU-DRM-OMAP: Replace a kzalloc() call by kcalloc() in omap_gem_attach_pages()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 17:40:20 +0200 The script "checkpatch.pl" can point information out like the following. WARNING: Prefer kcalloc over kzalloc with multiply Thus fix the affected source code place. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_gem.c

[PATCH 10/14] GPU-DRM-OMAP: Use kmalloc_array() in omap_gem_attach_pages()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 17:37:04 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software.

[PATCH 09/14] GPU-DRM-OMAP: Delete an unnecessary variable initialisation in dmm_txn_commit()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 17:34:40 +0200 The local variable "ret" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 2 +- 1 file changed, 1 inse

[PATCH 08/14] GPU-DRM-OMAP: Rename a jump label in dmm_txn_commit()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 17:32:42 +0200 Adjust a jump target so that redundant checks can be avoided at the end. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/d

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 --- Comment #6 from Alex Deucher --- The asic supports 4K over DP or duallink DVI. -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH 07/14] GPU-DRM-OMAP: Rename a jump label in omap_dmm_probe()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 17:30:25 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) di

[PATCH 06/14] GPU-DRM-OMAP: Improve a size determination in omap_dmm_probe()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 17:21:57 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mar

[PATCH 05/14] GPU-DRM-OMAP: Improve a size determination in dmm_txn_append()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 13:53:11 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mar

[PATCH 04/14] GPU-DRM-OMAP: Delete an unnecessary variable initialisation in tiler_map_show()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 13:31:45 +0200 The local variable "map" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 2 +- 1 file changed, 1 in

[PATCH 04/14] GPU-DRM-OMAP: Delete an unnecessary variable initialisation in tiler_map_show()

2016-09-21 Thread Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 13:31:45 +0200 The local variable "map" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 2 +- 1 file changed, 1 in

[PATCH 03/14] GPU-DRM-OMAP: Less function calls in tiler_map_show() after error detection

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 13:16:20 +0200 The kfree() function was called in up to two cases by the tiler_map_show() function during error handling even if the passed variable contained a null pointer. * Adjust jump targets according to the Linux coding style convention. * Spli

[PATCH 02/14] GPU-DRM-OMAP: Replace another kmalloc() call by kmalloc_array() in tiler_map_show()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 12:54:07 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array" at another place. Signed-off-by: Markus Elfring --- driv

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 --- Comment #5 from Elmar Stellnberger --- ... and VGA -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH 01/14] GPU-DRM-OMAP: Use kmalloc_array() in tiler_map_show()

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 12:23:46 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software.

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 --- Comment #4 from Elmar Stellnberger --- It is not true that this card would only feature a TMDS of 297 over DP. The card I have bought does only have HDMI, DVI and 4K and it was sold as 4K-ready as you can see from the first attachement. --

[PATCH 00/14] GPU-DRM-OMAP: Fine-tuning for several function implementations

2016-09-21 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 18:28:38 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (14): Use kmalloc_array() in tiler_map_show() Replace another kmalloc() call by kmalloc_array() in tiler_map_show() Less function c

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment #3 f

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-09-21 Thread Christian König
Am 21.09.2016 um 17:29 schrieb Michel Dänzer: > On 22/09/16 12:15 AM, Christian König wrote: >> Am 21.09.2016 um 17:07 schrieb Michel Dänzer: >>> On 21/09/16 09:56 PM, Daniel Vetter wrote: On Wed, Sep 21, 2016 at 1:19 PM, Christian König wrote: > We use multiple writers without i

[Bug 97806] GPU lockup with mesa-git and llvm-svn with rx 470 on Unigine Heaven and TombRaider 2013

2016-09-21 Thread bugzilla-dae...@freedesktop.org
are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/9a43a4d7/attachment.html>

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 --- Comment #2 from Elmar Stellnberger --- Created attachment 239381 --> https://bugzilla.kernel.org/attachment.cgi?id=239381&action=edit patch introducing radeon.hdmimhz for kernel 4.8.0-rc2 -- You are receiving this mail because: You are wa

[Bug 172421] radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 --- Comment #1 from Elmar Stellnberger --- Created attachment 239371 --> https://bugzilla.kernel.org/attachment.cgi?id=239371&action=edit shipment notification: R5 230 marketed as 4K-ready -- You are receiving this mail because: You are watch

[Bug 172421] New: radeon: allow to set the TMDS frequency by a special kernel parameter

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=172421 Bug ID: 172421 Summary: radeon: allow to set the TMDS frequency by a special kernel parameter Product: Drivers Version: 2.5 Kernel Version: 4.8.0-rc7+ Hardware: All

[PATCH 7/7] selftest: sync: stress test for merges

2016-09-21 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a test to stress merge operations. Signed-off-by: Emilio López --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_stress_merge.c | 116 +++ tools/test

[PATCH 6/7] selftest: sync: stress consumer/producer test

2016-09-21 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a stress test that replicates a consumer/producer pattern. Signed-off-by: Emilio López --- tools/testing/selftests/sync/Makefile | 1 + .../testing/selftests/sync/sync_stress_consumer.c | 185 +++

[PATCH 5/7] selftest: sync: stress test for parallelism

2016-09-21 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a stress test that invokes operations in parallel. Signed-off-by: Emilio López --- tools/testing/selftests/sync/Makefile | 1 + .../selftests/sync/sync_stress_parallelism.c | 111 +++

[PATCH 4/7] selftest: sync: wait tests for sw_sync framework

2016-09-21 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for waiting on fences. Signed-off-by: Emilio López --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_test.c | 1 + tools/testing/selftests/sync/sync_wait.c | 91 +++

[PATCH 3/7] selftest: sync: merge tests for sw_sync framework

2016-09-21 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for basic merge operations. Signed-off-by: Emilio López --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_merge.c | 60 +++ tools/testing/se

[PATCH 2/7] selftest: sync: fence tests for sw_sync framework

2016-09-21 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for basic fence creation. Signed-off-by: Emilio López --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_fence.c | 132 ++ tools/testing/sel

[PATCH 1/7] selftest: sync: basic tests for sw_sync framework

2016-09-21 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit lays the ground for future tests, as well as includes tests for a variety of basic allocation commands. Signed-off-by: Emilio López --- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/sync/.giti

[PATCH 0/7] Tests for sync infrastructure

2016-09-21 Thread Emilio López
Hello everyone, This is a series of tests to exercise the sync kernel infrastructure. It is meant to be a test suite for the work Gustavo has been doing to destage it. These tests were originally part of a battery of tests shipping with Android's libsync that were rewritten to use the new userspa

[Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-09-21 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20160921/e29a4e5e/attachment.html>

[PATCH] drm/i2c: tda998x: don't register the connector

2016-09-21 Thread Russell King - ARM Linux
On Wed, Sep 21, 2016 at 09:57:38AM +0100, Brian Starkey wrote: > Hi Russell, > > Are you in a position to be able to test this now? Normally, I'd say no, because I'd normally wait for 4.8 to be out before moving the cubox tree up. However, as we're close to 4.8, I've merged 4.8-rc7 in (and fixed

[Bug 97806] GPU lockup with mesa-git and llvm-svn with rx 470 on Unigine Heaven and TombRaider 2013

2016-09-21 Thread bugzilla-dae...@freedesktop.org
receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/69a0e66f/attachment.html>

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-09-21 Thread Christian König
Am 21.09.2016 um 17:13 schrieb Michel Dänzer: > On 21/09/16 07:30 PM, Christian König wrote: >> Am 21.09.2016 um 11:56 schrieb Michel Dänzer: >>> FWIW, we seem to have the same issue with radeon vs. amdgpu: radeon only >>> seems to wait for exclusive fences, so e.g. running Xorg on amdgpu and >>

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-09-21 Thread Christian König
Am 21.09.2016 um 17:07 schrieb Michel Dänzer: > On 21/09/16 09:56 PM, Daniel Vetter wrote: >> On Wed, Sep 21, 2016 at 1:19 PM, Christian König >> wrote: >>> Am 21.09.2016 um 13:04 schrieb Daniel Vetter: On Wed, Sep 21, 2016 at 12:30 PM, Christian König wrote: > Am 21.09.2016 um 1

[PATCH v4 10/14] drm: amdgpu: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()

2016-09-21 Thread Laurent Pinchart
Hi Daniel, On Wednesday 21 Sep 2016 14:46:07 Daniel Vetter wrote: > On Wed, Sep 21, 2016 at 2:39 PM, Laurent Pinchart wrote: > >> > @@ -82,7 +82,7 @@ int amdgpu_align_pitch(struct amdgpu_device *adev, > >> > int width, int bpp, bool tile > >> > > >> > aligned += pitch_mask; > >> > aligned

[PATCH 2/2] drm: Don't swallow error codes in drm_dev_alloc()

2016-09-21 Thread Tom Gundersen
There are many reasons other than ENOMEM that drm_dev_init() can fail. Return ERR_PTR rather than NULL to be able to distinguish these in the caller. Signed-off-by: Tom Gundersen --- drivers/gpu/drm/arc/arcpgu_drv.c| 4 ++-- drivers/gpu/drm/arm/hdlcd_drv.c | 4 ++-

[PATCH 1/2] drm: Distinguish no name from ENOMEM in set_unique()

2016-09-21 Thread Tom Gundersen
If passing name == NULL to drm_drv_set_unique() we now get -ENOMEM as kstrdup() returns NULL. Instead check for this explicitly and return -EINVAL if no name is provided. Signed-off-by: Tom Gundersen --- drivers/gpu/drm/drm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu

[Bug 97806] GPU lockup with mesa-git and llvm-svn with rx 470 on Unigine Heaven and TombRaider 2013

2016-09-21 Thread bugzilla-dae...@freedesktop.org
d -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/47f5e747/attachment.html>

[PATCH] drm/udl: Fix for the X server screen update v3

2016-09-21 Thread poma
On 21.09.2016 13:33, David Herrmann wrote: > Hi > > On Wed, Sep 21, 2016 at 1:19 PM, poma wrote: >> On 21.09.2016 09:34, David Herrmann wrote: >>> Hi >>> >>> On Wed, Sep 21, 2016 at 6:47 AM, poma wrote: Within X server, on top of DisplayLink GPU USB2.0 device, screen content is not ref

[PATCH] drm/rockchip: Cleanup dangling devm pointers

2016-09-21 Thread Daniel Kurtz
On Wed, Sep 21, 2016 at 3:36 PM, Sean Paul wrote: > On Mon, Sep 19, 2016 at 7:14 AM, Daniel Kurtz wrote: >> Hi Sean, >> >> On Sat, Sep 17, 2016 at 2:22 AM, Sean Paul wrote: >>> >>> Instead of assigning device managed resources to local variables, >>> keep track of them in the vop struct. >> >> W

[Bug 97806] GPU lockup with mesa-git and llvm-svn with rx 470 on Unigine Heaven and TombRaider 2013

2016-09-21 Thread bugzilla-dae...@freedesktop.org
receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/3440560a/attachment-0001.html>

[ADV7393] DRM Encoder Slave or DRM Bridge

2016-09-21 Thread Vikas Patil
On Thu, Sep 15, 2016 at 3:23 PM, Tomi Valkeinen wrote: > > > On 15/09/16 12:44, Vikas Patil wrote: >> On Wed, Sep 14, 2016 at 3:04 PM, Tomi Valkeinen >> wrote: >>> >>> >>> On 13/09/16 16:13, Vikas Patil wrote: Thanks Tomi for quick comment. I am thinking to base adv7393 driver on

[Bug 97887] llvm segfault in janusvr -render vive

2016-09-21 Thread bugzilla-dae...@freedesktop.org
contains(B);}) && "Loop block has no in-loop successors!"' failed. backtrace full attached -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/ar

[PATCH v4 10/14] drm: amdgpu: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()

2016-09-21 Thread Laurent Pinchart
Hi Daniel, Thank you for the review. On Wednesday 21 Sep 2016 09:51:44 Daniel Vetter wrote: > On Thu, Sep 08, 2016 at 05:44:24PM +0300, Laurent Pinchart wrote: > > The driver needs the number of bytes per pixel, not the bpp and depth > > info meant for fbdev compatibility. Use the right API. > >

GPU-DRM-nouveau: Delete unnecessary braces

2016-09-21 Thread SF Markus Elfring
> The original style was correct, the new style is wrong. I find your feedback interesting for further clarifications. > Multi-line indents get curly braces for readability. How do you think about to transform such an information into an official specification for the the document "CodingStyle"

DRM: how to support live source

2016-09-21 Thread Ginny Chen
Dear All: I am Ginny Chen from Mediatek company.I start to work with DRM for a while and now I am evaluating our display architecture for our new SoC. I would like to adopt DRM to develop our display driver. However, in our new SoC, the input source of display engine could be memory or direct-l

[PATCH -next] gpu: ipu-v3: Use ERR_CAST instead of ERR_PTR(PTR_ERR())

2016-09-21 Thread Wei Yongjun
From: Wei Yongjun Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)). Generated by: scripts/coccinelle/api/err_cast.cocci Signed-off-by: Wei Yongjun --- drivers/gpu/ipu-v3/ipu-image-convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/ipu-v3/ip

[Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-09-21 Thread bugzilla-dae...@freedesktop.org
ls are due to shader compilation as well. -- You are receiving this mail because: You are on the CC list for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/5dd75905/attachment-0001.html>

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-09-21 Thread Daniel Vetter
On Wed, Sep 21, 2016 at 1:19 PM, Christian König wrote: > Am 21.09.2016 um 13:04 schrieb Daniel Vetter: >> >> On Wed, Sep 21, 2016 at 12:30 PM, Christian König >> wrote: >>> >>> Am 21.09.2016 um 11:56 schrieb Michel Dänzer: Looks like there are different interpretations of the s

[radeon-alex:amd-staging-4.7 1432/1444] ERROR: "amd_set_clockgating_by_smu" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!

2016-09-21 Thread kbuild test robot
bed... Name: .config.gz Type: application/gzip Size: 28206 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/62d3c810/attachment-0001.gz>

[PATCH v4 10/14] drm: amdgpu: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()

2016-09-21 Thread Daniel Vetter
On Wed, Sep 21, 2016 at 2:39 PM, Laurent Pinchart wrote: >> > @@ -82,7 +82,7 @@ int amdgpu_align_pitch(struct amdgpu_device *adev, int >> > width, int bpp, bool tile >> > aligned += pitch_mask; >> > aligned &= ~pitch_mask; >> > >> > - return aligned; >> > + return aligned * cpp; >> >>

[PATCH v4.1 01/14] drm: Centralize format information

2016-09-21 Thread Daniel Vetter
On Wed, Sep 21, 2016 at 1:21 PM, Laurent Pinchart wrote: >> > +/** >> > + * struct drm_format_info - information about a DRM format >> > + * @format: 4CC format identifier (DRM_FORMAT_*) >> > + * @depth: Color depth (number of bits per pixel excluding padding bits), >> > + * valid for a subset of

[PATCH v4.1 01/14] drm: Centralize format information

2016-09-21 Thread Eric Engestrom
On Sun, Sep 18, 2016 at 01:17:27PM +0300, Laurent Pinchart wrote: > Various pieces of information about DRM formats (number of planes, color > depth, chroma subsampling, ...) are scattered across different helper > functions in the DRM core. Callers of those functions often need to > access more th

[PATCH] dma-buf/fence-array: get signaled state when signaling is disabled

2016-09-21 Thread Gustavo Padovan
From: Gustavo Padovan If the fences in the fence_array signal on the fence_array does not have signalling enabled num_pending will not be updated accordingly. So when signaling is disabled check the signal of every fence with fence_is_signaled() and then compare with num_pending to learn if the

[PATCH] drm/udl: Fix for the X server screen update v3

2016-09-21 Thread Jani Nikula
On Wed, 21 Sep 2016, poma wrote: > On 21.09.2016 09:34, David Herrmann wrote: >> Hi >> >> On Wed, Sep 21, 2016 at 6:47 AM, poma wrote: >>> Within X server, on top of DisplayLink GPU USB2.0 device, >>> screen content is not refreshed i.e. updated. >>> >>> This fixes commit: >>> >>> - e375882406d0

[PATCH v4 02/14] drm: Implement the drm_format_*() helpers as drm_format_info() wrappers

2016-09-21 Thread Laurent Pinchart
Hi Daniel, Thanks for the review. On Wednesday 21 Sep 2016 09:34:13 Daniel Vetter wrote: > On Thu, Sep 08, 2016 at 05:44:16PM +0300, Laurent Pinchart wrote: > > Turn the drm_format_*() helpers into wrappers around the drm_format_info > > lookup function to centralize all format information in a s

[Bug 97806] GPU lockup with mesa-git and llvm-svn with rx 470 on Unigine Heaven and TombRaider 2013

2016-09-21 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/a55a25fd/attachment.html>

[PATCH v4.1 01/14] drm: Centralize format information

2016-09-21 Thread Laurent Pinchart
Hi Daniel, Thanks for the review. On Wednesday 21 Sep 2016 09:23:14 Daniel Vetter wrote: > On Sun, Sep 18, 2016 at 01:17:27PM +0300, Laurent Pinchart wrote: > > Various pieces of information about DRM formats (number of planes, color > > depth, chroma subsampling, ...) are scattered across differ

[PATCH] drm: Fix typo in encoder docs

2016-09-21 Thread Daniel Vetter
On Mon, Sep 19, 2016 at 03:40:48PM -0700, Dhinakaran Pandiyan wrote: > Corrected typo in bridge and encoder comparison. Also, added a one-line > encoder description from the previous documentation. > > Cc: Daniel Vetter > Cc: Archit Taneja > > Signed-off-by: Dhinakaran Pandiyan Thanks for spo

[PATCH] drm/udl: Fix for the X server screen update v3

2016-09-21 Thread David Herrmann
Hi On Wed, Sep 21, 2016 at 1:19 PM, poma wrote: > On 21.09.2016 09:34, David Herrmann wrote: >> Hi >> >> On Wed, Sep 21, 2016 at 6:47 AM, poma wrote: >>> Within X server, on top of DisplayLink GPU USB2.0 device, >>> screen content is not refreshed i.e. updated. >>> >>> This fixes commit: >>> >>>

[PATCH 4/5] GPU-DRM: Replace a kzalloc() call by kcalloc() in drm_legacy_addbufs_sg()

2016-09-21 Thread Daniel Vetter
On Mon, Sep 19, 2016 at 05:56:49PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 19 Sep 2016 17:30:31 +0200 > > The script "checkpatch.pl" can point information out like the following. > > WARNING: Prefer kcalloc over kzalloc with multiply > > Thus fix the affected source

[PATCH] drm/udl: Fix for the X server screen update v3

2016-09-21 Thread poma
On 21.09.2016 09:34, David Herrmann wrote: > Hi > > On Wed, Sep 21, 2016 at 6:47 AM, poma wrote: >> Within X server, on top of DisplayLink GPU USB2.0 device, >> screen content is not refreshed i.e. updated. >> >> This fixes commit: >> >> - e375882406d0cc24030746638592004755ed4ae0 >> "drm/udl: U

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-09-21 Thread Christian König
Am 21.09.2016 um 13:04 schrieb Daniel Vetter: > On Wed, Sep 21, 2016 at 12:30 PM, Christian König > wrote: >> Am 21.09.2016 um 11:56 schrieb Michel Dänzer: >>> >>> Looks like there are different interpretations of the semantics of >>> exclusive vs. shared fences. Where are these semantics docume

[Bug 141741] drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROM

2016-09-21 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=141741 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment #15

[PATCH] drm/tilcdc: mark tilcdc_atomic_check() static

2016-09-21 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/gpu/drm/tilcdc/tilcdc_drv.c:64:5: warning: no previous prototype for 'tilcdc_atomic_check' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static. S

[PATCH] drm/tilcdc: add missing header dependencies

2016-09-21 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/gpu/drm/tilcdc/tilcdc_tfp410.c:397:12: warning: no previous prototype for 'tilcdc_tfp410_init' [-Wmissing-prototypes] drivers/gpu/drm/tilcdc/tilcdc_tfp410.c:402:13: warning: no previous prototype for 'tilcdc_tfp410_fini' [-Wmissing-prototyp

[PATCH v9 17/19] drm/virtio: kconfig: Fix recursive dependency issue.

2016-09-21 Thread Emil Velikov
On 20 September 2016 at 09:32, Peter Griffin wrote: > Hi Emil, > > On Tue, 20 Sep 2016, Emil Velikov wrote: > >> On 5 September 2016 at 14:16, Peter Griffin >> wrote: >> > ST_SLIM_REMOTEPROC must select REMOTEPROC, which exposes the following >> > recursive dependency. > > >> > >> From a humble

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-09-21 Thread Daniel Vetter
On Wed, Sep 21, 2016 at 12:30 PM, Christian König wrote: > Am 21.09.2016 um 11:56 schrieb Michel Dänzer: >> >> >> Looks like there are different interpretations of the semantics of >> exclusive vs. shared fences. Where are these semantics documented? > > > Yeah, I think as well that this is the

[PATCH v12 5/7] drm/i915/skl: Ensure pipes with changed wms get added to the state

2016-09-21 Thread Mike Lothian
I've raised https://bugs.freedesktop.org/show_bug.cgi?id=97888 I'll attach the info you requested once I get back to my machine On 21 September 2016 at 07:56, Maarten Lankhorst wrote: > Hey, > > Op 20-09-16 om 20:45 schreef Mike Lothian: >> Hi >> >> I've bisected back to this commit in the drm-in

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-09-21 Thread Christian König
Am 21.09.2016 um 11:56 schrieb Michel Dänzer: > > Looks like there are different interpretations of the semantics of > exclusive vs. shared fences. Where are these semantics documented? Yeah, I think as well that this is the primary question here. IIRC the fences were explicitly called exclusive

[PATCH] dma-buf/sync_file: free fences array in num_fences is 1

2016-09-21 Thread Chris Wilson
On Wed, Sep 21, 2016 at 10:20:19AM +0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > When merging sync_files there is a case when we can end up with only one > fence in the merged sync_file: when all fences belong to the same > timeline. > > So for this case a fence_array is not created

[PATCH] dma-buf/sync-file: Avoid enable fence signaling if poll(.timeout=0)

2016-09-21 Thread Chris Wilson
On Wed, Sep 21, 2016 at 10:26:25AM +0300, Gustavo Padovan wrote: > Hi Rafael, > > 2016-09-14 Rafael Antognolli : > > > Hi Chris and Gustavo, > > > > On Mon, Aug 29, 2016 at 07:16:13PM +0100, Chris Wilson wrote: > > > If we being polled with a timeout of zero, a nonblocking busy query, > > > we d

[PATCH 05/10] drm/doc: Polish for drm_plane.[hc]

2016-09-21 Thread Archit Taneja
On 09/19/2016 06:43 PM, Daniel Vetter wrote: > On Fri, Sep 02, 2016 at 03:00:38PM +0530, Archit Taneja wrote: >> >> >> On 8/31/2016 9:39 PM, Daniel Vetter wrote: >>> Big thing is untangling and carefully documenting the different uapi >>> types of planes. I also sprinkled a few more cross referen

[PULL] qemu drm driver fixes

2016-09-21 Thread Gerd Hoffmann
and feel free to Cc: me. The following changes since commit 3be7988674ab33565700a37b210f502563d932e6: Linux 4.8-rc7 (2016-09-18 17:27:41 -0700) are available in the git repository at: git://git.kraxel.org/linux tags/drm-qemu-20160921 for you to fetch changes up to

[PATCH 3/5] GPU-DRM-nouveau: Delete unnecessary braces

2016-09-21 Thread Dan Carpenter
The original style was correct, the new style is wrong. Multi-line indents get curly braces for readability. regards, dan carpenter

[Bug 97887] llvm segfault in janusvr -render vive

2016-09-21 Thread bugzilla-dae...@freedesktop.org
e: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/7240cc8e/attachment.html>

[Bug 97857] card detects non-existent monitor on display port

2016-09-21 Thread bugzilla-dae...@freedesktop.org
quot;. Up to 4.5.0-1 everything was fine. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160921/ff2c0fcb/attachment.html>

[PATCH 0/4] drm/fsl-dcu: add overlay and cursor plane support

2016-09-21 Thread Stefan Agner
On 2016-09-07 01:43, Meng Yi wrote: > Hi Stefan, > > I had tested the patches on LS1021A-TWR board using drmlib. > > Like set three overlays: > root at ls1021atwr:~# ./modetest -P 39:900x100+10+10 at RG24 -P > 39:200x200+300+0 at RG24 -P 39:200x200+400+300 at RG24 > > How did you test the overla

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-21 Thread Stefan Agner
On 2016-09-13 01:49, Meng Yi wrote: >> > diff --git a/drivers/gpu/drm/fsl-dcu/Kconfig >> > b/drivers/gpu/drm/fsl-dcu/Kconfig index 14a72c4..f9c76b1 100644 >> > --- a/drivers/gpu/drm/fsl-dcu/Kconfig >> > +++ b/drivers/gpu/drm/fsl-dcu/Kconfig >> > @@ -11,3 +11,9 @@ config DRM_FSL_DCU >> >help >>

[PATCH 7/7] drm: Remove dirty property from docs

2016-09-21 Thread Daniel Vetter
We removed it in commit 6ab10b76ff6252bd9be0849c40f5865e39a29961 Author: Daniel Vetter Date: Fri Aug 12 22:48:45 2016 +0200 drm/kms: Nuke dirty_info property Reviewed-by: Sean Paul Signed-off-by: Daniel Vetter --- Documentation/gpu/kms-properties.csv | 1 - 1 file changed, 1 deletion(-

[PATCH 6/7] drm/doc: Document color space handling

2016-09-21 Thread Daniel Vetter
Again move it from the unmaintainable csv into DOC free-form overview sections. v2: Types Lionel&Sean spotted. Cc: Lionel Landwerlin Reviewed-by: Sean Paul Reviewed-by: Lionel Landwerlin Signed-off-by: Daniel Vetter --- Documentation/gpu/drm-kms.rst| 12 + Documentation/gpu/k

[PATCH 5/7] drm: Extract drm_color_mgmt.[hc]

2016-09-21 Thread Daniel Vetter
For both the new degamm/lut/gamma atomic combo, and the old legacy gamma tables. Acked-by: Lionel Landwerlin Cc: Lionel Landwerlin Signed-off-by: Daniel Vetter --- drivers/gpu/drm/Makefile| 2 +- drivers/gpu/drm/drm_color_mgmt.c| 248 driv

[PATCH 4/7] drm/doc: Polish plane composition property docs

2016-09-21 Thread Daniel Vetter
Try to spec a bit more precisely how they all fit together, now that at least the code is for all the additional properties is in one place. Also remove the entries for the standardized properties from the table, because that thing is supremely unmaintaineable. v2: Fix typos Sean spotted. Cc: Vi

[PATCH 3/7] drm: Conslidate blending properties in drm_blend.[hc]

2016-09-21 Thread Daniel Vetter
Imo zpos, rotatation, blending eq (once we have it) and all that should be in drm_blend.c, since those are all about how exactly the pixels are rendered onto the CRTC's visible area. Also noticed that one exported function accidentally ended up in drm_crtc_internal.h, move it to the right place too

  1   2   >