[PATCH 1/2] devicetree/bindings: display: Add bindings for LVDS panels

2016-11-15 Thread Laurent Pinchart
Hi Rob, Ping ? On Monday 17 Oct 2016 15:42:56 Laurent Pinchart wrote: > On Friday 14 Oct 2016 07:40:14 Rob Herring wrote: > > On Sun, Oct 9, 2016 at 11:33 AM, Laurent Pinchart wrote: > >> On Saturday 08 Oct 2016 20:29:39 Rob Herring wrote: > >>> On Tue, Oct 04, 2016 at 07:23:29PM +0300, Laurent P

[PATCH] ARM: shmobile: dts: Switch to panel-lvds bindings for Mitsubishi panels

2016-11-15 Thread Laurent Pinchart
The aa104xd12 and aa121td01 panels are LVDS panels, not DPI panels. Use the correct DT bindings. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a77xx-aa104xd12-panel.dtsi | 3 ++- arch/arm/boot/dts/r8a77xx-aa121td01-panel.dtsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) H

[Intel-gfx] [PATCH v2] drm/dp: Make space for null terminator in the DP device ID char array

2016-11-15 Thread Pandiyan, Dhinakaran
Adding Cc's. On Mon, 2016-11-07 at 15:22 -0800, Dhinakaran Pandiyan wrote: > The DP device identification string read from the DPCD registers is 6 > characters long at max. and we store it in a char array of the same length > without space for the NULL terminator. Fix this by increasing the array

[Bug 98724] garbled output using glDrawElementsIndirect

2016-11-15 Thread bugzilla-dae...@freedesktop.org
si. In both cases, GLupeN64 was compiled with DEBUG=1 in the makefile. -- 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/20161115/e4008476/attachment.html>

[PATCH v11 0/3] drm: add explicit fencing

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan Hi, Hopefully the last version of the patches with the two comments from Brian in the previous version addressed. Robert Foss managed to port Android's drm_hwcomposer to the new HWC2 API and added support to fences. Current patches can be seen here: https://git.collabora.

[PATCH v11 1/3] drm/fence: add in-fences support

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan There is now a new property called IN_FENCE_FD attached to every plane state that receives sync_file fds from userspace via the atomic commit IOCTL. The fd is then translated to a fence (that may be a fence_array subclass or just a normal fence) and then used by DRM to fenc

[PATCH v11 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan Create one timeline context for each CRTC to be able to handle out-fences and signal them. It adds a few members to struct drm_crtc: fence_context, where we store the context we get from fence_context_alloc(), the fence seqno and the fence lock, that we pass in fence_init()

[PATCH v11 3/3] drm/fence: add out-fences support

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_file fd back to userspace. The sync_file and fd are allocated/created before com

[PATCH 1/2] devicetree/bindings: display: Add bindings for LVDS panels

2016-11-15 Thread Laurent Pinchart
Hi Rob, On Monday 14 Nov 2016 19:40:26 Rob Herring wrote: > On Mon, Oct 17, 2016 at 7:42 AM, Laurent Pinchart wrote: > > On Friday 14 Oct 2016 07:40:14 Rob Herring wrote: > >> On Sun, Oct 9, 2016 at 11:33 AM, Laurent Pinchart wrote: > >>> On Saturday 08 Oct 2016 20:29:39 Rob Herring wrote: >

[Bug 98417] TTM broken on 4.9-rc2

2016-11-15 Thread bugzilla-dae...@freedesktop.org
e bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/6e2c4fa3/attachment.html>

[Bug 98417] TTM broken on 4.9-rc2

2016-11-15 Thread bugzilla-dae...@freedesktop.org
the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/65a80e31/attachment.html>

[Bug 97403] AMDGPU/Iceland Strange warnings on drm-next-4.9-wip

2016-11-15 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20161115/7adfcb68/attachment.html>

[PATCH v2] drivers/gpu/vga: allocate vga_arb_write() buffer on stack

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 10:11:47AM +0100, Dmitry Vyukov wrote: > On Fri, Oct 14, 2016 at 3:22 PM, Dmitry Vyukov wrote: > > Size of kmalloc() in vga_arb_write() is controlled by user. > > Too large kmalloc() size triggers WARNING message on console. > > Allocate the buffer on stack to avoid the WAR

[PATCH] dma-buf: Use fence_get_rcu_safe() for retrieving the exclusive fence

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 04:37:09PM +0100, Christian König wrote: > Am 14.11.2016 um 12:55 schrieb Chris Wilson: > > The current code is subject to a race where we may try to acquire a > > reference on a stale fence: > > > > [13703.335118] WARNING: CPU: 1 PID: 14975 at ./include/linux/kref.h:46 >

[PATCH] drm: don't let crtc_ww_class leak out

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 05:40:57PM -0500, Rob Clark wrote: > kbuild spotted this error, with drm/msm patches that add a new > modeset-lock in the driver and driver built as a module: > > ERROR: "crtc_ww_class" [drivers/gpu/drm/msm/msm.ko] undefined! > > Really the only reason for crtc_ww_class

[Intel-gfx] [PATCH 2/5] drm: Set DRM connector link status property

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 07:13:20PM -0800, Manasi Navare wrote: > In the usual working scenarios, this property is "Good". > If something fails during modeset, the DRM driver can > set the link status to "Bad", prune the mode list based on the > link rate/lane count fallback values and send hotplug

[PATCH 2/5] drm: Set DRM connector link status property

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 07:23:33PM -0800, Manasi Navare wrote: > None of the other functions that set the connector property hold the > mode config locks while setting the connector property, I am following > the same convention. > Also we dont need to grab and release the locks in i915_modeset_wo

[Intel-gfx] [PATCH 2/5] drm: Set DRM connector link status property

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 07:13:20PM -0800, Manasi Navare wrote: > In the usual working scenarios, this property is "Good". > If something fails during modeset, the DRM driver can > set the link status to "Bad", prune the mode list based on the > link rate/lane count fallback values and send hotplug

[PATCH 01/12] tests/kms_atomic_transition: use select + read instead of blocking read

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 06:59:14PM +0900, Gustavo Padovan wrote: > From: Gustavo Padovan > > If the event never arrives we can timeout with select and end the test. > > Signed-off-by: Gustavo Padovan > --- > tests/kms_atomic_transition.c | 8 > 1 file changed, 8 insertions(+) > > dif

[Intel-gfx] [PATCH 02/12] tests/kms_atomic_transition: don't assume max pipes

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 06:59:16PM +0900, Gustavo Padovan wrote: > From: Gustavo Padovan > > Signed-off-by: Gustavo Padovan > --- > tests/kms_atomic_transition.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition

[PATCH v11 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-15 Thread Chris Wilson
On Tue, Nov 15, 2016 at 10:57:35AM +0900, Gustavo Padovan wrote: > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > index 11780a9..0870de1 100644 > --- a/include/drm/drm_crtc.h > +++ b/include/drm/drm_crtc.h > @@ -32,6 +32,8 @@ > #include > #include > #include > +#include > +#i

[Intel-gfx] [PATCH v11 3/4] drm/i915: Use new CRC debugfs API

2016-11-15 Thread Jani Nikula
On Tue, 15 Nov 2016, David Weinehall wrote: > On Mon, Nov 14, 2016 at 12:44:25PM +0200, Jani Nikula wrote: >> On Thu, 06 Oct 2016, Tomeu Vizoso wrote: >> > diff --git a/drivers/gpu/drm/i915/intel_display.c >> > b/drivers/gpu/drm/i915/intel_display.c >> > index 23a6c7213eca..7412a05fa5d9 100644 >

[drm-intel:topic/drm-misc 23/26] include/drm/drm_fb_cma_helper.h:45:13: warning: 'struct drm_plane_state' declared inside parameter list will not be visible outside of this definition or declaration

2016-11-15 Thread kbuild test robot
ists.01.org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/gzip Size: 56846 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/0fcc9071/attachment-0001.gz>

[Intel-gfx] [PATCH 04/12] lib/igt_kms: export properties names

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 06:59:18PM +0900, Gustavo Padovan wrote: > From: Gustavo Padovan > > Signed-off-by: Gustavo Padovan gtkdoc for anything exported would always be nice ... -Daniel > --- > lib/igt_kms.c | 6 +++--- > lib/igt_kms.h | 5 + > 2 files changed, 8 insertions(+), 3 deletion

[Intel-gfx] [PATCH 08/12] tests/kms_atomic: stress possible fence settings

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 06:59:22PM +0900, Gustavo Padovan wrote: > From: Gustavo Padovan > > Signed-off-by: Gustavo Padovan > --- > tests/kms_atomic.c | 124 > + > 1 file changed, 115 insertions(+), 9 deletions(-) > > diff --git a/tests/kms_

[PATCH v11 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-15 Thread Chris Wilson
On Tue, Nov 15, 2016 at 08:25:55AM +, Chris Wilson wrote: > On Tue, Nov 15, 2016 at 10:57:35AM +0900, Gustavo Padovan wrote: > > /** > > + * dma_crtc_fence_ops - fence ops for the drm_crtc timeline > > + * > > + * It contains the dma_fence_ops that should be called by the dma_fence > > + * cod

[PATCH v11 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-15 Thread Gustavo Padovan
2016-11-15 Chris Wilson : > On Tue, Nov 15, 2016 at 10:57:35AM +0900, Gustavo Padovan wrote: > > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > > index 11780a9..0870de1 100644 > > --- a/include/drm/drm_crtc.h > > +++ b/include/drm/drm_crtc.h > > @@ -32,6 +32,8 @@ > > #include > >

BUG: 'list_empty(&vgdev->free_vbufs)' is true!

2016-11-15 Thread Gerd Hoffmann
On Fr, 2016-11-11 at 17:28 +0100, Jiri Slaby wrote: > On 11/09/2016, 09:01 AM, Gerd Hoffmann wrote: > > On Di, 2016-11-08 at 22:37 +0200, Michael S. Tsirkin wrote: > >> On Mon, Nov 07, 2016 at 09:43:24AM +0100, Jiri Slaby wrote: > >>> Hi, > >>> > >>> I can relatively easily reproduce this bug: > >

[drm-intel:topic/drm-misc 23/26] include/drm/drm_fb_cma_helper.h:45:13: warning: 'struct drm_plane_state' declared inside parameter list will not be visible outside of this definition or declaration

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 04:29:04PM +0800, kbuild test robot wrote: > tree: git://anongit.freedesktop.org/drm-intel topic/drm-misc > head: 35cf03508d8466ecc5199c9d609e74e85bec785b > commit: 14d7f96f90fb65c2ca0e0ac7df237e06ff001c29 [23/26] drm/fb_cma_helper: > Add drm_fb_cma_prepare_fb() helper

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 10:26:08PM +0530, Sharma, Shashank wrote: > On 11/14/2016 10:15 PM, Ville Syrjälä wrote: > > On Mon, Nov 14, 2016 at 10:12:04PM +0530, Sharma, Shashank wrote: > > > Regards > > > > > > Shashank > > > > > > > > > On 11/14/2016 9:50 PM, Ville Syrjälä wrote: > > > > On M

[PATCH v11 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 05:42:35PM +0900, Gustavo Padovan wrote: > 2016-11-15 Chris Wilson : > > > On Tue, Nov 15, 2016 at 10:57:35AM +0900, Gustavo Padovan wrote: > > > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > > > index 11780a9..0870de1 100644 > > > --- a/include/drm/drm_crt

[PATCH for-4.9] drm/virtio: allocate some extra bufs

2016-11-15 Thread Gerd Hoffmann
virtio-gpu guest driver appearently can run out of buffers. allocate some extra buffers, as quick stopgap for 4.9. analyzing root cause and fixing it properly is TBD. Reported-by: Jiri Slaby Tested-by: Jiri Slaby Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_vq.c | 2 +- 1 fi

[PATCH v11 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-15 Thread Chris Wilson
On Tue, Nov 15, 2016 at 05:42:35PM +0900, Gustavo Padovan wrote: > 2016-11-15 Chris Wilson : > > > On Tue, Nov 15, 2016 at 10:57:35AM +0900, Gustavo Padovan wrote: > > > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > > > index 11780a9..0870de1 100644 > > > --- a/include/drm/drm_crt

BUG: 'list_empty(&vgdev->free_vbufs)' is true!

2016-11-15 Thread Jiri Slaby
On 11/15/2016, 09:46 AM, Gerd Hoffmann wrote: > On Fr, 2016-11-11 at 17:28 +0100, Jiri Slaby wrote: >> On 11/09/2016, 09:01 AM, Gerd Hoffmann wrote: >>> On Di, 2016-11-08 at 22:37 +0200, Michael S. Tsirkin wrote: On Mon, Nov 07, 2016 at 09:43:24AM +0100, Jiri Slaby wrote: > Hi, > >

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Sharma, Shashank
Regards Shashank On 11/15/2016 2:21 PM, Daniel Vetter wrote: > On Mon, Nov 14, 2016 at 10:26:08PM +0530, Sharma, Shashank wrote: >> On 11/14/2016 10:15 PM, Ville Syrjälä wrote: >>> On Mon, Nov 14, 2016 at 10:12:04PM +0530, Sharma, Shashank wrote: Regards Shashank

BUG: 'list_empty(&vgdev->free_vbufs)' is true!

2016-11-15 Thread Gerd Hoffmann
On Di, 2016-11-15 at 09:55 +0100, Jiri Slaby wrote: > On 11/15/2016, 09:46 AM, Gerd Hoffmann wrote: > > On Fr, 2016-11-11 at 17:28 +0100, Jiri Slaby wrote: > >> On 11/09/2016, 09:01 AM, Gerd Hoffmann wrote: > >>> On Di, 2016-11-08 at 22:37 +0200, Michael S. Tsirkin wrote: > On Mon, Nov 07, 201

[Bug 97403] AMDGPU/Iceland Strange warnings on drm-next-4.9-wip

2016-11-15 Thread bugzilla-dae...@freedesktop.org
ng 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/20161115/b2bf300a/attachment.html>

[Bug 97403] AMDGPU/Iceland Strange warnings on drm-next-4.9-wip

2016-11-15 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/7a35cb44/attachment.html>

[patch] drm: zte: checking for NULL instead of IS_ERR()

2016-11-15 Thread Dan Carpenter
drm_dev_alloc() never returns NULL, it only returns error pointers on error. Fixes: 0a886f59528a ("drm: zte: add initial vou drm driver") Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/zte/zx_drm_drv.c b/drivers/gpu/drm/zte/zx_drm_drv.c index abc8099..3e76f72 100644 --- a/drivers/gpu/

[Bug 98645] X Freeze while rendering video with multiple displays and TearFree enabled

2016-11-15 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/34993714/attachment.html>

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 02:30:47PM +0530, Sharma, Shashank wrote: > On 11/15/2016 2:21 PM, Daniel Vetter wrote: > > On Mon, Nov 14, 2016 at 10:26:08PM +0530, Sharma, Shashank wrote: > > > In any case, I guess addition of a cap for aspect ratio should fix the > > > current objections for this implem

[patch] drm: zte: checking for NULL instead of IS_ERR()

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 12:53:01PM +0300, Dan Carpenter wrote: > drm_dev_alloc() never returns NULL, it only returns error pointers on > error. > > Fixes: 0a886f59528a ("drm: zte: add initial vou drm driver") > Signed-off-by: Dan Carpenter Applied, thx. -Daniel > > diff --git a/drivers/gpu/drm

[drm-intel:topic/drm-misc 23/26] include/drm/drm_fb_cma_helper.h:45:13: warning: 'struct drm_plane_state' declared inside parameter list will not be visible outside of this definition or declaration

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 09:47:31AM +0100, Daniel Vetter wrote: > On Tue, Nov 15, 2016 at 04:29:04PM +0800, kbuild test robot wrote: > > tree: git://anongit.freedesktop.org/drm-intel topic/drm-misc > > head: 35cf03508d8466ecc5199c9d609e74e85bec785b > > commit: 14d7f96f90fb65c2ca0e0ac7df237e06ff0

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Sharma, Shashank
Regards Shashank On 11/15/2016 3:30 PM, Daniel Vetter wrote: > On Tue, Nov 15, 2016 at 02:30:47PM +0530, Sharma, Shashank wrote: >> On 11/15/2016 2:21 PM, Daniel Vetter wrote: >>> On Mon, Nov 14, 2016 at 10:26:08PM +0530, Sharma, Shashank wrote: In any case, I guess addition of a cap for as

[Intel-gfx] [PATCH 04/10] drm: Extract drm_drv.h

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:19PM +0100, Daniel Vetter wrote: > I want to move dumb buffer documentation into the right vfuncs, and > for that I first need to be able to pull that into kerneldoc without > having to clean up all of drmP.h. Also, header-splitting is nice. > > While at it shuffle al

[Intel-gfx] [PATCH 06/10] drm: Consolidate dumb buffer docs

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:21PM +0100, Daniel Vetter wrote: > Put the callback docs into struct drm_driver, and the small overview > into a DOC comment. > > Signed-off-by: Daniel Vetter Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre

[Intel-gfx] [PATCH 08/10] drm: Extract drm_mode_config.[hc]

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:23PM +0100, Daniel Vetter wrote: > And shuffle the kernel-doc structure a bit since drm_crtc.[hc] now > only contains CRTC-related functions and structures. > > Signed-off-by: Daniel Vetter > diff --git a/drivers/gpu/drm/drm_crtc_internal.h > b/drivers/gpu/drm/drm_c

[PATCH 10/10] drm: Drop externs from drm_crtc.h

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:25PM +0100, Daniel Vetter wrote: > Just noise. > > Signed-off-by: Daniel Vetter Sometimes it is interesting. Practice across the kernel is mixed, but convergence on not putting extern. Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technolog

[Intel-gfx] [PATCH 05/10] drm: Clean up kerneldoc for struct drm_driver

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:20PM +0100, Daniel Vetter wrote: > Just cleans up what's there, still plenty missing. > > Signed-off-by: Daniel Vetter I read it, seems to match my limited understanding of kerneldoc. Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology

[Intel-gfx] [PATCH 07/10] drm/print: Move kerneldoc next to definition

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:22PM +0100, Daniel Vetter wrote: > kerneldoc expects the comment next to definitions, otherwise it can't > pick up exported vs. internal stuff. > > This fixes a warning from the doc build done with: > > $ make DOCBOOKS="" htmldocs > > Fixes: d8187177b0b1 ("drm: add

[PATCH 09/10] drm: Move tile group code into drm_connector.c

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:24PM +0100, Daniel Vetter wrote: > And also put the overview section into the KMS Properties part of the > docs, instead of randomly-placed within the helpers - this is part of > the uabi. > > With this patch I think drm_crtc.[hc] is cleaned up and entirely > document

[Intel-gfx] [PATCH 01/10] drm: Extract drm_dumb_buffers.c

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:16PM +0100, Daniel Vetter wrote: > Just code movement, doc cleanup will follow up later. > > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/Makefile| 3 +- > drivers/gpu/drm/drm_crtc.c | 109 - > drivers/gpu/d

[PATCH 02/10] drm/i915: Fixup kerneldoc includes

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:17PM +0100, Daniel Vetter wrote: > Would be great if everony could add everyone > $ make DOCBOOKS="" htmldocs > > to their build scripts to catch these. 0day should also report them, > not sure why it failed to spot this. "make IGNORE_DOCBOOKS=1 SPHINXOPTS=-W htmld

[PATCH 03/10] doc/dma-buf: Fix up include directives

2016-11-15 Thread Chris Wilson
On Mon, Nov 14, 2016 at 12:58:18PM +0100, Daniel Vetter wrote: > Would be great if everony could add > > $ make DOCBOOKS="" htmldocs > > to their build scripts to catch these. 0day should also report them, > not sure why it failed to spot this. > > Fixes: f54d1867005c ("dma-buf: Rename struct fe

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 03:36:02PM +0530, Sharma, Shashank wrote: > On 11/15/2016 3:30 PM, Daniel Vetter wrote: > > On Tue, Nov 15, 2016 at 02:30:47PM +0530, Sharma, Shashank wrote: > > > On 11/15/2016 2:21 PM, Daniel Vetter wrote: > > > > On Mon, Nov 14, 2016 at 10:26:08PM +0530, Sharma, Shashank

[PATCH 02/10] drm/i915: Fixup kerneldoc includes

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 10:44:29AM +, Chris Wilson wrote: > On Mon, Nov 14, 2016 at 12:58:17PM +0100, Daniel Vetter wrote: > > Would be great if everony could add > > everyone > > > $ make DOCBOOKS="" htmldocs > > > > to their build scripts to catch these. 0day should also report them, > > n

[PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes

2016-11-15 Thread Bartosz Golaszewski
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to da850.dtsi. Signed-off-by: Bartosz Golaszewski --- v1 -> v2: - moved the priority controller node above the cfgchip node - renamed added nodes to better reflect their purpose arch/arm/boot/dts/da850.dtsi | 8 +

[Bug 98629] OpenGL applications warns "MESA-LOADER: failed to retrieve device information"

2016-11-15 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/0d1db750/attachment.html>

[PATCH] drm/fb_cma_helper: Add missing forward declaration

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 11:55:29AM +0100, Marek Vasut wrote: > Add missing forward declaration for struct drm_plane and drm_plane_state, > which causes the following warning in the VC4 driver (can be replicated > by building using bcm2835_defconfig): > > In file included from drivers/gpu/drm/vc4/v

[Intel-gfx] [PATCH 01/10] drm: Extract drm_dumb_buffers.c

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 10:42:08AM +, Chris Wilson wrote: > On Mon, Nov 14, 2016 at 12:58:16PM +0100, Daniel Vetter wrote: > > diff --git a/drivers/gpu/drm/drm_dumb_buffers.c > > b/drivers/gpu/drm/drm_dumb_buffers.c > > new file mode 100644 > > index ..4b4364b61c8d > > --- /dev/nul

[PATCH libdrm] automake: make the build less chatty

2016-11-15 Thread Emil Velikov
Having the "Entering|Leaving directory X" messages it not required nor useful in vast majority of the cases. One can always have them printed by `make -w' or by overriding the AM_MAKEFLAGS variable. Signed-off-by: Emil Velikov --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/

[Intel-gfx] [PATCH 07/10] drm/print: Move kerneldoc next to definition

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 10:37:26AM +, Chris Wilson wrote: > On Mon, Nov 14, 2016 at 12:58:22PM +0100, Daniel Vetter wrote: > > kerneldoc expects the comment next to definitions, otherwise it can't > > pick up exported vs. internal stuff. > > > > This fixes a warning from the doc build done wit

[Bug 185681] amdgpu: powerplay initialization failed

2016-11-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=185681 --- Comment #17 from René Linder --- For Me the new Patches works fine ... except the message it didn't found default frequency see dmesg log. But re clocking and everything i have on my notebook works fine. -- You are receiving this mail beca

[Bug 185681] amdgpu: powerplay initialization failed

2016-11-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=185681 --- Comment #18 from René Linder --- Created attachment 244601 --> https://bugzilla.kernel.org/attachment.cgi?id=244601&action=edit Teted with latest Patches on 4.9rc4 -- You are receiving this mail because: You are watching the assignee of

[Intel-gfx] [PATCH 07/10] drm/print: Move kerneldoc next to definition

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 12:53:48PM +0100, Daniel Vetter wrote: > On Tue, Nov 15, 2016 at 10:37:26AM +, Chris Wilson wrote: > > On Mon, Nov 14, 2016 at 12:58:22PM +0100, Daniel Vetter wrote: > > > kerneldoc expects the comment next to definitions, otherwise it can't > > > pick up exported vs. in

[Intel-gfx] [PATCH 01/10] drm: Extract drm_dumb_buffers.c

2016-11-15 Thread Chris Wilson
On Tue, Nov 15, 2016 at 12:47:31PM +0100, Daniel Vetter wrote: > On Tue, Nov 15, 2016 at 10:42:08AM +, Chris Wilson wrote: > > On Mon, Nov 14, 2016 at 12:58:16PM +0100, Daniel Vetter wrote: > > > diff --git a/drivers/gpu/drm/drm_dumb_buffers.c > > > b/drivers/gpu/drm/drm_dumb_buffers.c > > > n

[bug report] drm/amd/powerplay/smu7: fix checks in smu7_get_evv_voltages (v2)

2016-11-15 Thread Dan Carpenter
Hello Alex Deucher, This is a semi-automatic email about new static checker warnings. The patch 0f12f73c5175: "drm/amd/powerplay/smu7: fix checks in smu7_get_evv_voltages (v2)" from Nov 9, 2016, leads to the following Smatch complaint: drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c

[PATCH] drm/amd/powerplay: check if table_info is NULL before dereferencing it

2016-11-15 Thread Colin King
From: Colin Ian King table_info is being dereferenced before a null check, which implies a potential null pointer deference error. Fix this by moving the null check of table_info to the start of smu7_get_evv_voltages to avoid potential null pointer deferencing. Found with static analysis by Cov

[PATCH v12 0/3] drm: add explicit fencing

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan Hi, Yet another iteration, v12 now after working on the changes proposed by Chris Wilson. Robert Foss managed to port Android's drm_hwcomposer to the new HWC2 API and added support to fences. Current patches can be seen here: https://git.collabora.com/cgit/user/robertfoss

[PATCH v12 1/3] drm/fence: add in-fences support

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan There is now a new property called IN_FENCE_FD attached to every plane state that receives sync_file fds from userspace via the atomic commit IOCTL. The fd is then translated to a fence (that may be a fence_array subclass or just a normal fence) and then used by DRM to fenc

[PATCH v12 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan Create one timeline context for each CRTC to be able to handle out-fences and signal them. It adds a few members to struct drm_crtc: fence_context, where we store the context we get from fence_context_alloc(), the fence seqno and the fence lock, that we pass in fence_init()

[PATCH v12 3/3] drm/fence: add out-fences support

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_file fd back to userspace. The sync_file and fd are allocated/created before com

[Bug 97980] [amdgpu] New kernel warning during shutdown

2016-11-15 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/29745a90/attachment.html>

[Intel-gfx] [PATCH 02/12] tests/kms_atomic_transition: don't assume max pipes

2016-11-15 Thread Tomeu Vizoso
On 15 November 2016 at 09:01, Daniel Vetter wrote: > On Mon, Nov 14, 2016 at 06:59:16PM +0900, Gustavo Padovan wrote: >> From: Gustavo Padovan >> >> Signed-off-by: Gustavo Padovan >> --- >> tests/kms_atomic_transition.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Ville Syrjälä
On Tue, Nov 15, 2016 at 11:00:04AM +0100, Daniel Vetter wrote: > On Tue, Nov 15, 2016 at 02:30:47PM +0530, Sharma, Shashank wrote: > > On 11/15/2016 2:21 PM, Daniel Vetter wrote: > > > On Mon, Nov 14, 2016 at 10:26:08PM +0530, Sharma, Shashank wrote: > > > > In any case, I guess addition of a cap f

[Bug 98492] X-Plane 10 Core Dumping when using Real-Weather or any clouds

2016-11-15 Thread bugzilla-dae...@freedesktop.org
- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/d2a5fc78/attachment.html>

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 03:54:42PM +0200, Ville Syrjälä wrote: > On Tue, Nov 15, 2016 at 11:00:04AM +0100, Daniel Vetter wrote: > > On Tue, Nov 15, 2016 at 02:30:47PM +0530, Sharma, Shashank wrote: > > > On 11/15/2016 2:21 PM, Daniel Vetter wrote: > > > > On Mon, Nov 14, 2016 at 10:26:08PM +0530,

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Alex Deucher
On Tue, Nov 15, 2016 at 9:03 AM, Daniel Vetter wrote: > On Tue, Nov 15, 2016 at 03:54:42PM +0200, Ville Syrjälä wrote: >> On Tue, Nov 15, 2016 at 11:00:04AM +0100, Daniel Vetter wrote: >> > On Tue, Nov 15, 2016 at 02:30:47PM +0530, Sharma, Shashank wrote: >> > > On 11/15/2016 2:21 PM, Daniel Vet

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Ville Syrjälä
On Tue, Nov 15, 2016 at 01:48:04PM +, Jose Abreu wrote: > Hi, > > > > On 15-11-2016 10:52, Daniel Vetter wrote: > > On Tue, Nov 15, 2016 at 03:36:02PM +0530, Sharma, Shashank wrote: > >> On 11/15/2016 3:30 PM, Daniel Vetter wrote: > >>> On Tue, Nov 15, 2016 at 02:30:47PM +0530, Sharma, Shash

[Bug 98645] X Freeze while rendering video with multiple displays and TearFree enabled

2016-11-15 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161115/46691c55/attachment.html>

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Ville Syrjälä
On Tue, Nov 15, 2016 at 09:18:03AM -0500, Alex Deucher wrote: > On Tue, Nov 15, 2016 at 9:03 AM, Daniel Vetter wrote: > > On Tue, Nov 15, 2016 at 03:54:42PM +0200, Ville Syrjälä wrote: > >> On Tue, Nov 15, 2016 at 11:00:04AM +0100, Daniel Vetter wrote: > >> > On Tue, Nov 15, 2016 at 02:30:47PM +

[PATCH v12 0/3] drm: add explicit fencing

2016-11-15 Thread Sean Paul
On Tue, Nov 15, 2016 at 8:06 AM, Gustavo Padovan wrote: > From: Gustavo Padovan > > Hi, > > Yet another iteration, v12 now after working on the changes proposed by Chris > Wilson. > > Robert Foss managed to port Android's drm_hwcomposer to the new HWC2 API and > added support to fences. Current p

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 09:18:03AM -0500, Alex Deucher wrote: > On Tue, Nov 15, 2016 at 9:03 AM, Daniel Vetter wrote: > > On Tue, Nov 15, 2016 at 03:54:42PM +0200, Ville Syrjälä wrote: > >> On Tue, Nov 15, 2016 at 11:00:04AM +0100, Daniel Vetter wrote: > >> > On Tue, Nov 15, 2016 at 02:30:47PM +

[PATCHv2 2/2] v4l: vsp1: Provide a writeback video device

2016-11-15 Thread Geert Uytterhoeven
On Fri, Nov 4, 2016 at 6:53 PM, Kieran Bingham wrote: > --- a/drivers/media/platform/vsp1/vsp1_video.c > +++ b/drivers/media/platform/vsp1/vsp1_video.c > +static void vsp1_video_wb_process_buffer(struct vsp1_video *video) > +{ > + if (buf) { > + video->rwpf->mem = buf->mem; >

[PATCH 02/10] drm/i915: Fixup kerneldoc includes

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 10:44:29AM +, Chris Wilson wrote: > On Mon, Nov 14, 2016 at 12:58:17PM +0100, Daniel Vetter wrote: > > Would be great if everony could add > > everyone > > > $ make DOCBOOKS="" htmldocs > > > > to their build scripts to catch these. 0day should also report them, > > n

[Intel-gfx] [PATCH 08/10] drm: Extract drm_mode_config.[hc]

2016-11-15 Thread Daniel Vetter
On Tue, Nov 15, 2016 at 10:32:14AM +, Chris Wilson wrote: > On Mon, Nov 14, 2016 at 12:58:23PM +0100, Daniel Vetter wrote: > > And shuffle the kernel-doc structure a bit since drm_crtc.[hc] now > > only contains CRTC-related functions and structures. > > > > Signed-off-by: Daniel Vetter > > d

[PATCH] drm/fence: add fence timeline to drm_crtc

2016-11-15 Thread Gustavo Padovan
From: Gustavo Padovan Create one timeline context for each CRTC to be able to handle out-fences and signal them. It adds a few members to struct drm_crtc: fence_context, where we store the context we get from fence_context_alloc(), the fence seqno and the fence lock, that we pass in fence_init()

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Sharma, Shashank
Regards Shashank On 11/15/2016 7:48 PM, Ville Syrjälä wrote: > On Tue, Nov 15, 2016 at 01:48:04PM +, Jose Abreu wrote: >> Hi, >> >> >> >> On 15-11-2016 10:52, Daniel Vetter wrote: >>> On Tue, Nov 15, 2016 at 03:36:02PM +0530, Sharma, Shashank wrote: On 11/15/2016 3:30 PM, Daniel Vetter w

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Sharma, Shashank
I guess Daniel has already reverted the patches. Now many I know who is going to define on what should be the right way to handle aspect ratios ? Regards Shashank On 11/15/2016 7:48 PM, Ville Syrjälä wrote: > On Tue, Nov 15, 2016 at 01:48:04PM +, Jose Abreu wrote: >> Hi, >> >> >> >> On 15-

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Ville Syrjälä
On Tue, Nov 15, 2016 at 08:40:01PM +0530, Sharma, Shashank wrote: > Regards > Shashank > On 11/15/2016 7:48 PM, Ville Syrjälä wrote: > > On Tue, Nov 15, 2016 at 01:48:04PM +, Jose Abreu wrote: > >> Hi, > >> > >> > >> > >> On 15-11-2016 10:52, Daniel Vetter wrote: > >>> On Tue, Nov 15, 2016 at

[PATCH 1/2] Revert "drm: Add and handle new aspect ratios in DRM layer"

2016-11-15 Thread Alex Deucher
On Tue, Nov 15, 2016 at 9:26 AM, Daniel Vetter wrote: > On Tue, Nov 15, 2016 at 09:18:03AM -0500, Alex Deucher wrote: >> On Tue, Nov 15, 2016 at 9:03 AM, Daniel Vetter wrote: >> > On Tue, Nov 15, 2016 at 03:54:42PM +0200, Ville Syrjälä wrote: >> >> On Tue, Nov 15, 2016 at 11:00:04AM +0100, Dani

[Intel-gfx] [PATCH 02/12] tests/kms_atomic_transition: don't assume max pipes

2016-11-15 Thread Robert Foss
On Tue, 2016-11-15 at 14:25 +0100, Tomeu Vizoso wrote: > On 15 November 2016 at 09:01, Daniel Vetter wrote: > > > > On Mon, Nov 14, 2016 at 06:59:16PM +0900, Gustavo Padovan wrote: > > > > > > From: Gustavo Padovan > > > > > > Signed-off-by: Gustavo Padovan > > > --- > > >  tests/kms_atomic_

[PATCH] drm/color: document NULL values and default settings better

2016-11-15 Thread Lionel Landwerlin
Sorry for missing this. Reviewed-by: Lionel Landwerlin On 26/09/16 10:04, Daniel Vetter wrote: > Brought up in a discussion for enabling gamma on fsl-dcu. > > Cc: Ville Syrjälä > Cc: Meng Yi > Cc: Lionel Landwerlin > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_color_mgmt.c |

[PATCH] dma-buf: Provide wrappers for reservation's lock

2016-11-15 Thread Chris Wilson
Joonas complained that writing ww_mutex_lock(&resv->lock, ctx) was too intrusive compared to reservation_object_lock(resv, ctx); Signed-off-by: Chris Wilson Cc: Sumit Semwal Cc: Joonas Lahtinen --- include/linux/reservation.h | 34 ++ 1 file changed, 34 insertio

[PATCH] drm/amd/powerplay: check if table_info is NULL before dereferencing it

2016-11-15 Thread Deucher, Alexander
> -Original Message- > From: Colin King [mailto:colin.king at canonical.com] > Sent: Tuesday, November 15, 2016 7:55 AM > To: Deucher, Alexander; Koenig, Christian; David Airlie; Zhu, Rex; StDenis, > Tom; Huang, Ray; Nils Wallménius; Baoyou Xie; dri- > devel at lists.freedesktop.org > Cc:

[PATCH] drm/amd/powerplay: check if table_info is NULL before dereferencing it

2016-11-15 Thread Colin Ian King
On 15/11/16 15:49, Deucher, Alexander wrote: >> -Original Message- >> From: Colin King [mailto:colin.king at canonical.com] >> Sent: Tuesday, November 15, 2016 7:55 AM >> To: Deucher, Alexander; Koenig, Christian; David Airlie; Zhu, Rex; StDenis, >> Tom; Huang, Ray; Nils Wallménius; Baoyou

[PATCH] drm/amd/powerplay: check if table_info is NULL before dereferencing it

2016-11-15 Thread Deucher, Alexander
> -Original Message- > From: Colin Ian King [mailto:colin.king at canonical.com] > Sent: Tuesday, November 15, 2016 11:09 AM > To: Deucher, Alexander; Koenig, Christian; David Airlie; Zhu, Rex; StDenis, > Tom; Huang, Ray; Nils Wallménius; Baoyou Xie; dri- > devel at lists.freedesktop.org >

[Bug 97403] AMDGPU/Iceland Strange warnings on drm-next-4.9-wip

2016-11-15 Thread bugzilla-dae...@freedesktop.org
usable right now, see #98417 -- 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/20161115/9c7ef853/attachment.html>

[Bug 97403] AMDGPU/Iceland Strange warnings on drm-next-4.9-wip

2016-11-15 Thread bugzilla-dae...@freedesktop.org
u 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/20161115/e43d14f9/attachment.html>

[PATCH] drm/bridge: analogix_dp: return error if transfer none byte

2016-11-15 Thread Sean Paul
On Thu, Nov 3, 2016 at 3:17 AM, Jianqun Xu wrote: > Reference from drm_dp_aux description (about transfer): > Upon success, the implementation should return the number of payload bytes > that were transferred, or a negative error-code on failure. Helpers > propagate errors from the .transfer() fun

  1   2   >