[PATCH v15 04/17] mm: add ksys_ wrappers to memory syscalls

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. This patch adds ksys_ wrappers to the following memory syscalls: brk, get_mempolicy (renamed kernel_get_mempolicy ->

Re: [PATCH RFC 0/6] ARM: qcom: initial Nexus 5 display support

2019-05-07 Thread Brian Masney
On Mon, May 06, 2019 at 08:42:36AM +0200, Linus Walleij wrote: > On Sun, May 5, 2019 at 3:04 PM Brian Masney wrote: > > > mdp5_get_scanoutpos() and mdp5_get_vblank_counter() both return 0, which > > is causing this stack trace to be dumped into the system log several > > times: > > > > WARNIN

Re: [PATCH v14 11/17] drm/amdgpu, arm64: untag user pointers

2019-05-07 Thread Andrey Konovalov
On Tue, Apr 30, 2019 at 8:03 PM Kuehling, Felix wrote: > > On 2019-04-30 9:25 a.m., Andrey Konovalov wrote: > > [CAUTION: External Email] > > > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other

[PATCH v15 11/17] drm/amdgpu, arm64: untag user pointers

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. In amdgpu_gem_userptr_ioctl() and amdgpu_amdkfd_gpuvm.c/init_user_pages() an MMU notifier is set up with a (tagged) u

[PATCH v15 03/17] lib, arm64: untag user pointers in strn*_user

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. strncpy_from_user and strnlen_user accept user addresses as arguments, and do not go through the same path as copy_fr

Re: [PATCH v1 3/3] drm/tegra: Support PM QoS memory bandwidth management

2019-05-07 Thread Dmitry Osipenko
05.05.2019 20:37, Dmitry Osipenko пишет: > Display controller (DC) performs isochronous memory transfers and thus > has a requirement for a minimum memory bandwidth that shall be fulfilled, > otherwise framebuffer data can't be fetched fast enough and this results > in a DC's data-FIFO underflow th

[PATCH v15 07/17] mm, arm64: untag user pointers in mm/gup.c

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. mm/gup.c provides a kernel interface that accepts user addresses and manipulates user pages directly (for example get

[PATCH v15 16/17] vfio/type1, arm64: untag user pointers in vaddr_get_pfn

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. vaddr_get_pfn() uses provided user pointers for vma lookups, which can only by done with untagged pointers. Untag us

Re: [RFC PATCH 0/5] cgroup support for GPU devices

2019-05-07 Thread Johannes Weiner
On Wed, May 01, 2019 at 10:04:33AM -0400, Brian Welty wrote: > In containerized or virtualized environments, there is desire to have > controls in place for resources that can be consumed by users of a GPU > device. This RFC patch series proposes a framework for integrating > use of existing cgro

[PATCH v15 00/17] arm64: untag user pointers passed to the kernel

2019-05-07 Thread Andrey Konovalov
=== Overview arm64 has a feature called Top Byte Ignore, which allows to embed pointer tags into the top byte of each pointer. Userspace programs (such as HWASan, a memory debugging tool [1]) might use this feature and pass tagged user pointers to the kernel through syscalls or other interfaces.

Re: [PATCH] RFC: console: hack up console_trylock more

2019-05-07 Thread Petr Mladek
On Mon 2019-05-06 09:11:37, Daniel Vetter wrote: > On Fri, May 3, 2019 at 5:14 PM Petr Mladek wrote: > > On Thu 2019-05-02 16:16:43, Daniel Vetter wrote: > > > console_trylock, called from within printk, can be called from pretty > > > much anywhere. Including try_to_wake_up. Note that this isn't

[PATCH v15 10/17] fs, arm64: untag user pointers in fs/userfaultfd.c

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. userfaultfd code use provided user pointers for vma lookups, which can only by done with untagged pointers. Untag us

[PATCH v15 08/17] mm, arm64: untag user pointers in get_vaddr_frames

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. get_vaddr_frames uses provided user pointers for vma lookups, which can only by done with untagged pointers. Instead

[PATCH v15 15/17] tee, arm64: untag user pointers in tee_shm_register

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. tee_shm_register()->optee_shm_unregister()->check_mem_type() uses provided user pointers for vma lookups (via __check

Re: [PATCH v14 13/17] IB/mlx4, arm64: untag user pointers in mlx4_get_umem_mr

2019-05-07 Thread Andrey Konovalov
On Fri, May 3, 2019 at 7:03 PM Catalin Marinas wrote: > > On Tue, Apr 30, 2019 at 03:25:09PM +0200, Andrey Konovalov wrote: > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other > > than 0x00) as

[PATCH v15 01/17] uaccess: add untagged_addr definition for other arches

2019-05-07 Thread Andrey Konovalov
To allow arm64 syscalls to accept tagged pointers from userspace, we must untag them when they are passed to the kernel. Since untagging is done in generic parts of the kernel, the untagged_addr macro needs to be defined for all architectures. Define it as a noop for architectures other than arm64

[PATCH v15 05/17] arms64: untag user pointers passed to memory syscalls

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. This patch allows tagged pointers to be passed to the following memory syscalls: brk, get_mempolicy, madvise, mbind,

[PATCH v15 14/17] media/v4l2-core, arm64: untag user pointers in videobuf_dma_contig_user_get

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. videobuf_dma_contig_user_get() uses provided user pointers for vma lookups, which can only by done with untagged poin

Re: [PATCH RFC 4/6] ARM: dts: msm8974: add display support

2019-05-07 Thread Bjorn Andersson
On Sun 05 May 06:04 PDT 2019, Brian Masney wrote: > diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi > b/arch/arm/boot/dts/qcom-msm8974.dtsi [..] > + dsi0: dsi@fd922800 { > + status = "disabled"; > + > + compatible = "qcom

Re: [PATCH v14 10/17] fs, arm64: untag user pointers in fs/userfaultfd.c

2019-05-07 Thread Andrey Konovalov
On Fri, May 3, 2019 at 6:56 PM Catalin Marinas wrote: > > On Tue, Apr 30, 2019 at 03:25:06PM +0200, Andrey Konovalov wrote: > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other > > than 0x00) as

Re: [PATCH v2 12/17] kunit: tool: add Python wrappers for running KUnit tests

2019-05-07 Thread Kees Cook
On Sun, May 5, 2019 at 5:19 PM Frank Rowand wrote: > You can see the full version 14 document in the submitter's repo: > > $ git clone https://github.com/isaacs/testanything.github.io.git > $ cd testanything.github.io > $ git checkout tap14 > $ ls tap-version-14-specification.md > > My und

Re: [PATCH v14 08/17] mm, arm64: untag user pointers in get_vaddr_frames

2019-05-07 Thread Andrey Konovalov
On Fri, May 3, 2019 at 6:51 PM Catalin Marinas wrote: > > On Tue, Apr 30, 2019 at 03:25:04PM +0200, Andrey Konovalov wrote: > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other > > than 0x00) as

[PATCH v15 02/17] arm64: untag user pointers in access_ok and __uaccess_mask_ptr

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. copy_from_user (and a few other similar functions) are used to copy data from user memory into the kernel memory or v

Re: [PATCH v14 12/17] drm/radeon, arm64: untag user pointers

2019-05-07 Thread Andrey Konovalov
On Tue, Apr 30, 2019 at 7:57 PM Kuehling, Felix wrote: > > On 2019-04-30 9:25 a.m., Andrey Konovalov wrote: > > [CAUTION: External Email] > > > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other

[PATCH v15 06/17] mm: untag user pointers in do_pages_move

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. do_pages_move() is used in the implementation of the move_pages syscall. Untag user pointers in this function. Sign

[PATCH v15 09/17] fs, arm64: untag user pointers in copy_mount_options

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. In copy_mount_options a user address is being subtracted from TASK_SIZE. If the address is lower than TASK_SIZE, the

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

2019-05-07 Thread Frank Rowand
On 5/1/19 4:01 PM, Brendan Higgins wrote: > ## TLDR > > I rebased the last patchset on 5.1-rc7 in hopes that we can get this in > 5.2. > > Shuah, I think you, Greg KH, and myself talked off thread, and we agreed > we would merge through your tree when the time came? Am I remembering > correctly?

[PATCH v15 13/17] IB, arm64: untag user pointers in ib_uverbs_(re)reg_mr()

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. ib_uverbs_(re)reg_mr() use provided user pointers for vma lookups (through e.g. mlx4_get_umem_mr()), which can only b

[PATCH v15 17/17] selftests, arm64: add a selftest for passing tagged pointers to kernel

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. This patch adds a simple test, that calls the uname syscall with a tagged user pointer as an argument. Without the ke

[PATCH v15 12/17] drm/radeon, arm64: untag user pointers in radeon_gem_userptr_ioctl

2019-05-07 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. In radeon_gem_userptr_ioctl() an MMU notifier is set up with a (tagged) userspace pointer. The untagged address shoul

Re: [PATCH v2 56/79] docs: Documentation/*.txt: rename all ReST files to *.rst

2019-05-07 Thread Mauro Carvalho Chehab
Em Wed, 24 Apr 2019 08:52:09 +0200 Peter Zijlstra escreveu: > On Tue, Apr 23, 2019 at 11:38:16PM +0200, Borislav Petkov wrote: > > If that is all the changes it would need, then I guess that's ok. Btw, > > those rst-conversion patches don't really show what got changed. Dunno > > if git can even

Re: [PATCH v15 13/17] IB, arm64: untag user pointers in ib_uverbs_(re)reg_mr()

2019-05-07 Thread Jason Gunthorpe
On Mon, May 06, 2019 at 06:30:59PM +0200, Andrey Konovalov wrote: > This patch is a part of a series that extends arm64 kernel ABI to allow to > pass tagged user pointers (with the top byte set to something else other > than 0x00) as syscall arguments. > > ib_uverbs_(re)reg_mr() use provided user

Re: [v3 3/3] drm/mediatek: add mt8183 dpi support

2019-05-07 Thread CK Hu
Hi, Jitao: On Tue, 2019-04-16 at 13:52 +0800, Jitao Shi wrote: I need the commit message. Even though the code is easy to understand, words for this patch is still necessary. Regards, CK > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 19 +++ > 1 file c

Re: [v3 2/3] drm/mediatek: dpi dual edge support

2019-05-07 Thread CK Hu
Hi, Jitao: On Tue, 2019-04-16 at 13:52 +0800, Jitao Shi wrote: Where is the commit message? I think you could introduce what is dual edge (Maybe it's trivial for you, but not for me) Regards, CK > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 10 ++ > 1 file ch

[PATCH v10 1/2] dt-bindings: phy: Add documentation for mixel dphy

2019-05-07 Thread Guido Günther
Add support for the MIXEL DPHY IP as found on NXP's i.MX8MQ SoCs. Signed-off-by: Guido Günther Reviewed-by: Sam Ravnborg Reviewed-by: Rob Herring --- .../bindings/phy/mixel,mipi-dsi-phy.txt | 29 +++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devic

[PATCH v10 0/2] Mixel MIPI DPHY support for NXPs i.MX8 SOCs

2019-05-07 Thread Guido Günther
This adds initial support for the Mixel IP based mipi dphy as found on i.MX8 processors. It has support for the i.MX8MQ, support for other variants can be added - once the platform specific parts are in - via the provided devdata. The driver is somewhat based on what's found in NXPs BSP. Public d

[PATCH v10 2/2] phy: Add driver for mixel mipi dphy found on NXP's i.MX8 SoCs

2019-05-07 Thread Guido Günther
This adds support for the Mixel DPHY as found on i.MX8 CPUs but since this is an IP core it will likely be found on others in the future. So instead of adding this to the nwl host driver make it a generic PHY driver. The driver supports the i.MX8MQ. Support for i.MX8QM and i.MX8QXP can be added on

[Bug 110614] [Regression] Freeze at desktop manager startup

2019-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110614 --- Comment #7 from raffa...@zoho.com --- While trying to use the coredump, I've noticed /usr/lib64/dri/radeonsi_dri.so was used, so I've tried checking Xorg process with lsof in the good build... turns out both /usr/lib64/dri/radeonsi_dri.so and

[Bug 110630] Random Horizontal green lines after screen resize

2019-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110630 Michel Dänzer changed: What|Removed |Added Attachment #144182|text/x-log |text/plain mime type|

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

2019-05-07 Thread Greg KH
On Mon, May 06, 2019 at 08:14:12PM -0700, Frank Rowand wrote: > On 5/1/19 4:01 PM, Brendan Higgins wrote: > > ## TLDR > > > > I rebased the last patchset on 5.1-rc7 in hopes that we can get this in > > 5.2. > > > > Shuah, I think you, Greg KH, and myself talked off thread, and we agreed > > we wo

[Bug 110630] Random Horizontal green lines after screen resize

2019-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110630 --- Comment #6 from Michel Dänzer --- Does this also happen with amdgpu.dc=0? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freed

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

2019-05-07 Thread Christian König
To allow a smooth transition from pinning buffer objects to dynamic invalidation we first start to cache the sg_table for an attachment. Signed-off-by: Christian König --- drivers/dma-buf/dma-buf.c | 24 include/linux/dma-buf.h | 14 ++ 2 files changed, 38

[PATCH 4/9] drm/ttm: remove the backing store if no placement is given

2019-05-07 Thread Christian König
Pipeline removal of the BOs backing store when no placement is given during validation. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 2845fceb2fbd

[PATCH 3/9] drm: remove prime sg_table caching

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

[PATCH 5/9] drm/ttm: use the parent resv for ghost objects

2019-05-07 Thread Christian König
This way we can even pipeline imported BO evictions. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo_util.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index 895d77d799

[PATCH 7/9] drm/amdgpu: add independent DMA-buf export v3

2019-05-07 Thread Christian König
The caching of SGT's is actually quite harmful and should probably removed altogether when all drivers are audited. Start by providing a separate DMA-buf export implementation in amdgpu. This is also a prerequisite of unpinned DMA-buf handling. v2: fix unintended recursion, remove debugging lefto

[PATCH 8/9] drm/amdgpu: add independent DMA-buf import v5

2019-05-07 Thread Christian König
Instead of relying on the DRM functions just implement our own import functions. This prepares support for taking care of unpinned DMA-buf. v2: enable for all exporters, not just amdgpu, fix invalidation handling, lock reservation object while setting callback v3: change to new dma_buf attach

[PATCH 6/9] drm/amdgpu: use allowed_domains for exported DMA-bufs

2019-05-07 Thread Christian König
Avoid that we ping/pong the buffers when we stop to pin DMA-buf exports by using the allowed domains for exported buffers. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/

[PATCH 2/9] dma-buf: add dynamic DMA-buf handling v7

2019-05-07 Thread Christian König
On the exporter side we add optional explicit pinning callbacks. If those callbacks are implemented the framework no longer caches sg tables and the map/unmap callbacks are always called with the lock of the reservation object held. On the importer side we add an optional invalidate callback. This

[PATCH 9/9] drm/amdgpu: add DMA-buf invalidation callback v2

2019-05-07 Thread Christian König
Allow for invalidation of imported DMA-bufs. v2: add dma_buf_pin/dma_buf_unpin support Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 29 - drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 6 + 2 files changed, 34 insertions(+), 1 deletion

Re: [PATCH] drm: Fix drm.h uapi header for GNU/kFreeBSD

2019-05-07 Thread Daniel Vetter
On Tue, May 07, 2019 at 12:10:52AM +0100, James Clarke wrote: > On 6 May 2019, at 09:16, Daniel Vetter wrote: > > On Sat, May 04, 2019 at 09:43:14PM +0100, James Clarke wrote: > >> On 15 Jan 2019, at 18:41, Eric Anholt wrote: > >>> > >>> Daniel Vetter writes: > >>> > On Tue, Jan 15, 2019

[Bug 108893] Slow redrawing of menu in Gothic 2 under wine

2019-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108893 --- Comment #20 from supercoolem...@seznam.cz --- (In reply to Timothy Arceri from comment #19) > I installed the game via Proton. Seems it is still very buggy in wine. I had > to follow the instructions here [1] to get it to load without crashin

Re: [PATCH] drm/ttm: fix busy memory to fail other user v5

2019-05-07 Thread Christian König
Ping! Marek is going to need this for its GDS patches as well. Christina. Am 30.04.19 um 11:10 schrieb Christian König: Am 30.04.19 um 09:01 schrieb Chunming Zhou: heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Re

RE: [v8 01/10] drm: Add HDR source metadata property

2019-05-07 Thread Shankar, Uma
>-Original Message- >From: Jonas Karlman [mailto:jo...@kwiboo.se] >Sent: Saturday, May 4, 2019 3:48 PM >To: Shankar, Uma ; intel-...@lists.freedesktop.org; dri- >de...@lists.freedesktop.org >Cc: dcasta...@chromium.org; emil.l.veli...@gmail.com; seanp...@chromium.org; >Syrjala, Ville ; Lan

[PATCH 1/2] drm/ttm: fix busy memory to fail other user v6

2019-05-07 Thread Chunming Zhou
heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Reserve the BO in DC using a ww_mutex ticket (trivial). 2. If we then run into this EBUSY condition in TTM check if the BO we need memory for (or rather the ww_mutex of it

[PATCH 2/2] drm/amd/display: use ttm_eu_reserve_buffers instead of amdgpu_bo_reserve

2019-05-07 Thread Chunming Zhou
add ticket for display bo, so that it can preempt busy bo. Change-Id: I9f031cdcc8267de00e819ae303baa0a52df8ebb9 Signed-off-by: Chunming Zhou --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 22 ++- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/

Re: [PATCH] drm/ttm: fix busy memory to fail other user v5

2019-05-07 Thread zhoucm1
On 2019年05月07日 17:03, Christian König wrote: [CAUTION: External Email] Ping! in fact, already address your comments, just wait for Prike test result, anyway, send v6 first. -David Marek is going to need this for its GDS patches as well. Christina. Am 30.04.19 um 11:10 schrieb Christian

Re: [v2 1/5] drm/mediatek: move mipi_dsi_host_register to probe

2019-05-07 Thread CK Hu
Hi, Jitao: On Tue, 2019-04-16 at 14:04 +0800, Jitao Shi wrote: > DSI panel driver need attach function which is inculde in > mipi_dsi_host_ops. > > If mipi_dsi_host_register is not in probe, dsi panel will > probe fail or more delay. I think this patch just prevent delay, not to prevent dsi pane

Re: [PATCH v6 1/3] backlight: lm3630a: return 0 on success in update_status functions

2019-05-07 Thread Lee Jones
On Thu, 02 May 2019, Daniel Thompson wrote: > On Thu, May 02, 2019 at 06:42:39AM -0400, Brian Masney wrote: > > On Thu, May 02, 2019 at 11:07:51AM +0100, Daniel Thompson wrote: > > > On 24/04/2019 10:25, Brian Masney wrote: > > > > lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status()

[PATCH v2] drm/komeda: Mark the local functions as static

2019-05-07 Thread james qian wang (Arm Technology China)
Fix the kbuild test rebot reported warnings: - symbol was not declared. Should it be static? - missing braces around initializer Depends on: - https://patchwork.freedesktop.org/series/58976/ V2: Update Signed-off-by name to make it same with author entirely. Reported-by: kbuild test robot Signe

Re: [PATCH] drm/doc: Improve docs for conn_state->best_encoder

2019-05-07 Thread Daniel Vetter
On Mon, May 06, 2019 at 05:27:24PM +0200, Daniel Vetter wrote: > On Mon, May 06, 2019 at 05:57:53PM +0300, Laurent Pinchart wrote: > > Hi Daniel, > > > > Thank you for the patch. > > > > On Mon, May 06, 2019 at 04:46:29PM +0200, Daniel Vetter wrote: > > > It's mandatory and considered core state

Re: [PATCH] gpu/drm: Remove duplicate headers

2019-05-07 Thread Daniel Vetter
On Mon, May 06, 2019 at 04:43:34PM +0200, Daniel Vetter wrote: > On Fri, May 03, 2019 at 11:28:13PM +0530, jagdsh.li...@gmail.com wrote: > > From: Jagadeesh Pagadala > > > > Remove duplicate headers which are included twice. > > > > Signed-off-by: Jagadeesh Pagadala > > I collected some acks f

Re: [v8 01/10] drm: Add HDR source metadata property

2019-05-07 Thread Ville Syrjälä
On Tue, May 07, 2019 at 09:03:45AM +, Shankar, Uma wrote: > > > >-Original Message- > >From: Jonas Karlman [mailto:jo...@kwiboo.se] > >Sent: Saturday, May 4, 2019 3:48 PM > >To: Shankar, Uma ; intel-...@lists.freedesktop.org; > >dri- > >de...@lists.freedesktop.org > >Cc: dcasta...@ch

Re: [PULL] 2nd pull for malidp-next

2019-05-07 Thread Liviu Dudau
On Tue, May 07, 2019 at 09:50:19AM +1000, Dave Airlie wrote: > On Fri, 3 May 2019 at 22:17, Daniel Vetter wrote: > > > > On Fri, May 03, 2019 at 10:29:48AM +0100, Liviu Dudau wrote: > > > On Fri, May 03, 2019 at 11:15:23AM +0200, Daniel Vetter wrote: > > > > On Fri, May 3, 2019 at 11:11 AM Liviu D

Re: [PATCH 2/2] drm/amd/display: use ttm_eu_reserve_buffers instead of amdgpu_bo_reserve

2019-05-07 Thread Koenig, Christian
Am 07.05.19 um 11:36 schrieb Chunming Zhou: > add ticket for display bo, so that it can preempt busy bo. > > Change-Id: I9f031cdcc8267de00e819ae303baa0a52df8ebb9 > Signed-off-by: Chunming Zhou > --- > .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 22 ++- > 1 file changed, 17 i

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v6

2019-05-07 Thread Koenig, Christian
Am 07.05.19 um 11:36 schrieb Chunming Zhou: > heavy gpu job could occupy memory long time, which lead other user fail to > get memory. > > basically pick up Christian idea: > > 1. Reserve the BO in DC using a ww_mutex ticket (trivial). > 2. If we then run into this EBUSY condition in TTM check if

[drm-tip:drm-tip 5/8] drivers/gpu/drm/i915/i915_request.c:827:1: error: redefinition of 'i915_request_await_start'

2019-05-07 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: 73db4ec12f05160528884c0b2c845b1c6b7c6718 commit: b9a2acf7709f52c77dc752ec99e3873e392d8df6 [5/8] Merge remote-tracking branch 'drm-intel/drm-intel-next-queued' into drm-tip config: x86_64-rhel (attached as .config) compiler: gcc-7 (D

Re: [PATCH v10 1/2] dt-bindings: phy: Add documentation for mixel dphy

2019-05-07 Thread Fabio Estevam
On Tue, May 7, 2019 at 4:47 AM Guido Günther wrote: > > Add support for the MIXEL DPHY IP as found on NXP's i.MX8MQ SoCs. > > Signed-off-by: Guido Günther > Reviewed-by: Sam Ravnborg > Reviewed-by: Rob Herring Reviewed-by: Fabio Estevam ___ dri-deve

Re: [PATCH v10 2/2] phy: Add driver for mixel mipi dphy found on NXP's i.MX8 SoCs

2019-05-07 Thread Fabio Estevam
On Tue, May 7, 2019 at 4:47 AM Guido Günther wrote: > > This adds support for the Mixel DPHY as found on i.MX8 CPUs but since > this is an IP core it will likely be found on others in the future. So > instead of adding this to the nwl host driver make it a generic PHY > driver. > > The driver supp

[bug report] drm/panfrost: Add sanity checks to submit IOCTL

2019-05-07 Thread Dan Carpenter
Hello Tomeu Vizoso, The patch 6ff408e6dc20: "drm/panfrost: Add sanity checks to submit IOCTL" from Apr 24, 2019, leads to the following static checker warning: drivers/gpu/drm/panfrost/panfrost_drv.c:222 panfrost_ioctl_submit() error: we previously assumed 'sync_out' could be null

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v6

2019-05-07 Thread zhoucm1
On 2019年05月07日 18:53, Koenig, Christian wrote: Am 07.05.19 um 11:36 schrieb Chunming Zhou: heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Reserve the BO in DC using a ww_mutex ticket (trivial). 2. If we then run in

[drm-tip:drm-tip /8] drivers/gpu/drm/i915/i915_request.c:842:1: error: redefinition of 'already_busywaiting'

2019-05-07 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: ae28cc6cf80a2e8cbb58f255ef7cac6b2923c98a commit: 47f4a14297839cb4cedd725fb916a5da5eb9b5ba [/8] Merge remote-tracking branch 'drm-intel/drm-intel-next-queued' into drm-tip config: x86_64-rhel (attached as .config) compiler: gcc-7 (De

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v6

2019-05-07 Thread Koenig, Christian
Am 07.05.19 um 13:08 schrieb zhoucm1: > > > On 2019年05月07日 18:53, Koenig, Christian wrote: >> Am 07.05.19 um 11:36 schrieb Chunming Zhou: >>> heavy gpu job could occupy memory long time, which lead other user >>> fail to get memory. >>> >>> basically pick up Christian idea: >>> >>> 1. Reserve the

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v6

2019-05-07 Thread zhoucm1
On 2019年05月07日 19:13, Koenig, Christian wrote: Am 07.05.19 um 13:08 schrieb zhoucm1: On 2019年05月07日 18:53, Koenig, Christian wrote: Am 07.05.19 um 11:36 schrieb Chunming Zhou: heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v6

2019-05-07 Thread Christian König
Am 07.05.19 um 13:22 schrieb zhoucm1: On 2019年05月07日 19:13, Koenig, Christian wrote: Am 07.05.19 um 13:08 schrieb zhoucm1: On 2019年05月07日 18:53, Koenig, Christian wrote: Am 07.05.19 um 11:36 schrieb Chunming Zhou: heavy gpu job could occupy memory long time, which lead other user fail to g

[PATCH libdrm 1/7] addr cs chunk for syncobj timeline

2019-05-07 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- include/drm/amdgpu_drm.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index d0701ffc..3d0318e6 100644 --- a/include/drm/amdgpu_drm.h +++ b/include/drm/amdgpu_drm.h @@ -528,6 +528,8 @@ struct drm_a

[PATCH libdrm 2/7] add timeline wait/query ioctl v2

2019-05-07 Thread Chunming Zhou
v2: drop export/import Signed-off-by: Chunming Zhou --- xf86drm.c | 44 xf86drm.h | 6 ++ 2 files changed, 50 insertions(+) diff --git a/xf86drm.c b/xf86drm.c index 2c19376b..17e3d880 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -4256,3 +4256,47 @@

[PATCH libdrm 3/7] wrap syncobj timeline query/wait APIs for amdgpu v3

2019-05-07 Thread Chunming Zhou
v2: symbos are stored in lexical order. v3: drop export/import and extra query indirection Signed-off-by: Chunming Zhou --- amdgpu/amdgpu-symbol-check | 2 ++ amdgpu/amdgpu.h| 39 ++ amdgpu/amdgpu_cs.c | 23 ++ 3 files

[PATCH libdrm 4/7] add timeline signal/transfer ioctls v2

2019-05-07 Thread Chunming Zhou
v2: use one transfer ioctl Signed-off-by: Chunming Zhou --- xf86drm.c | 33 + xf86drm.h | 6 ++ 2 files changed, 39 insertions(+) diff --git a/xf86drm.c b/xf86drm.c index 17e3d880..acd16fab 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -4257,6 +4257,21 @@ drm_pu

[PATCH libdrm 6/7] wrap transfer interfaces

2019-05-07 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- amdgpu/amdgpu.h| 22 ++ amdgpu/amdgpu_cs.c | 16 2 files changed, 38 insertions(+) diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h index d2480dbe..9d9b0832 100644 --- a/amdgpu/amdgpu.h +++ b/amdgpu/amdgpu.h @@ -1685,6 +1685

[PATCH libdrm 5/7] expose timeline signal/export/import interfaces v2

2019-05-07 Thread Chunming Zhou
v2: adapt to new one transfer ioctl Signed-off-by: Chunming Zhou --- amdgpu/amdgpu-symbol-check | 3 ++ amdgpu/amdgpu.h| 51 amdgpu/amdgpu_cs.c | 68 ++ 3 files changed, 122 insertions(+) diff --git a/amdgpu/a

[PATCH libdrm 7/7] add syncobj timeline tests v3

2019-05-07 Thread Chunming Zhou
v2: drop DRM_SYNCOBJ_CREATE_TYPE_TIMELINE, fix timeout calculation, fix some warnings v3: add export/import and cpu signal testing cases Signed-off-by: Chunming Zhou --- tests/amdgpu/Makefile.am | 3 +- tests/amdgpu/amdgpu_test.c | 11 ++ tests/amdgpu/amdgpu_test.h | 21 +++ test

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v6

2019-05-07 Thread Koenig, Christian
Am 07.05.19 um 13:37 schrieb Thomas Hellstrom: > [CAUTION: External Email] > > On 5/7/19 1:24 PM, Christian König wrote: >> Am 07.05.19 um 13:22 schrieb zhoucm1: >>> >>> >>> On 2019年05月07日 19:13, Koenig, Christian wrote: Am 07.05.19 um 13:08 schrieb zhoucm1: > > On 2019年05月07日 18:53, K

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v6

2019-05-07 Thread Thomas Hellstrom
On 5/7/19 1:24 PM, Christian König wrote: Am 07.05.19 um 13:22 schrieb zhoucm1: On 2019年05月07日 19:13, Koenig, Christian wrote: Am 07.05.19 um 13:08 schrieb zhoucm1: On 2019年05月07日 18:53, Koenig, Christian wrote: Am 07.05.19 um 11:36 schrieb Chunming Zhou: heavy gpu job could occupy memory

[PATCH 1/2] drm/ttm: fix busy memory to fail other user v7

2019-05-07 Thread Chunming Zhou
heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Reserve the BO in DC using a ww_mutex ticket (trivial). 2. If we then run into this EBUSY condition in TTM check if the BO we need memory for (or rather the ww_mutex of it

[PATCH 2/2] drm/amd/display: use ttm_eu_reserve_buffers instead of amdgpu_bo_reserve

2019-05-07 Thread Chunming Zhou
add ticket for display bo, so that it can preempt busy bo. Change-Id: I9f031cdcc8267de00e819ae303baa0a52df8ebb9 Signed-off-by: Chunming Zhou Reviewed-by: Christian König --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 21 ++- 1 file changed, 16 insertions(+), 5 deletions(-)

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v7

2019-05-07 Thread Christian König
Am 07.05.19 um 13:45 schrieb Chunming Zhou: heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Reserve the BO in DC using a ww_mutex ticket (trivial). 2. If we then run into this EBUSY condition in TTM check if the BO we

Re: [v8 08/10] drm/i915:Enabled Modeset when HDR Infoframe changes

2019-05-07 Thread Ville Syrjälä
On Tue, Apr 09, 2019 at 10:14:42PM +0530, Uma Shankar wrote: > This patch enables modeset whenever HDR metadata > needs to be updated to sink. > > v2: Addressed Shashank's review comments. > > v3: Added Shashank's RB. > > Signed-off-by: Ville Syrjälä > Signed-off-by: Uma Shankar > Reviewed-by:

Re: [v8 01/10] drm: Add HDR source metadata property

2019-05-07 Thread Ville Syrjälä
On Tue, Apr 09, 2019 at 10:14:35PM +0530, Uma Shankar wrote: > This patch adds a blob property to get HDR metadata > information from userspace. This will be send as part > of AVI Infoframe to panel. > > It also implements get() and set() functions for HDR output > metadata property.The blob data

Re: [v8 01/10] drm: Add HDR source metadata property

2019-05-07 Thread Ville Syrjälä
On Tue, May 07, 2019 at 01:25:42PM +0300, Ville Syrjälä wrote: > On Tue, May 07, 2019 at 09:03:45AM +, Shankar, Uma wrote: > > > > > > >-Original Message- > > >From: Jonas Karlman [mailto:jo...@kwiboo.se] > > >Sent: Saturday, May 4, 2019 3:48 PM > > >To: Shankar, Uma ; intel-...@lists

RE: [Intel-gfx] [PATCH v6 03/10] drm: revocation check at drm subsystem

2019-05-07 Thread Singh, Satyeshwar
Acked-by: Satyeshwar Singh -Original Message- From: Roper, Matthew D Sent: Monday, May 6, 2019 2:59 PM To: Daniel Vetter Cc: C, Ramalingam ; Vetter, Daniel ; intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Singh, Satyeshwar Subject: Re: [Intel-gfx] [PATCH v6 03/10]

[Bug 105819] Window system hang due to GPU Fault

2019-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105819 --- Comment #12 from xom --- Only solution to this problem I have found is to downgrade to LTS 4.14 kernel. GPU has never had any issues in windows. Linux abyss 4.14.116-1-lts414 #1 SMP Tue May 7 01:33:27 MDT 2019 x86_64 GNU/Linux xom[~]$ gl

[PATCH v2 1/3] dt-bindings: display: Document FriendlyELEC HD702E LCD panel

2019-05-07 Thread Jagan Teki
HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 resolution. It has built in Goodix, GT9271 captive touchscreen with backlight adjustable via PWM. Add dt-bindings documentation for it. Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.fr

[PATCH v2 2/3] drm/panel: simple: Add FriendlyELEC HD702E 800x1280 LCD panel

2019-05-07 Thread Jagan Teki
HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 resolution. It has built in Goodix, GT9271 captive touchscreen with backlight adjustable via PWM. Add support for it. Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Rev

[DO NOT MERGE] [PATCH v2 3/3] arm64: rockchip: rk3399: nanopc-t4: Enable FriendlyELEC HD702E eDP panel

2019-05-07 Thread Jagan Teki
FriendlyELEC HD702E is one of optional LCD panel for NanoPC T4 eDP interface. It features 800x1280 resolutions, with built in GT9271 captive touchscreen and adjustable backlight via PWM. eDP panel connections are: - VCC3V3_SYS: 3.3V panel power supply - GPIO4_C2: PWM0_BL pin - GPIO4_D5_LCD_BL_EN:

Re: [PATCH 1/2] drm/panel: simple: Add FriendlyELEC HD702E 800x1280 LCD panel

2019-05-07 Thread Jagan Teki
On Mon, May 6, 2019 at 8:34 PM Rob Herring wrote: > > On Mon, May 6, 2019 at 4:56 AM Jagan Teki wrote: > > > > Hi Sam, > > > > On Thu, May 2, 2019 at 1:04 AM Sam Ravnborg wrote: > > > > > > Hi Jagan > > > > > > On Wed, May 01, 2019 at 05:44:47PM +0530, Jagan Teki wrote: > > > > HD702E lcd is Fri

Re: [PATCH] gpu/drm: Remove duplicate headers

2019-05-07 Thread Sam Ravnborg
On Tue, May 07, 2019 at 12:05:32PM +0200, Daniel Vetter wrote: > On Mon, May 06, 2019 at 04:43:34PM +0200, Daniel Vetter wrote: > > On Fri, May 03, 2019 at 11:28:13PM +0530, jagdsh.li...@gmail.com wrote: > > > From: Jagadeesh Pagadala > > > > > > Remove duplicate headers which are included twice.

XORG Endless Vacation of Code

2019-05-07 Thread Karthik Guru
Hey Could you please tell me if applications are open for XORG EVOC? Also, whats the procedure for writing a proposal for any of the projects Thanks! ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listi

[Bug 110635] briefly flashing corruption when playing various OGL games

2019-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110635 Bug ID: 110635 Summary: briefly flashing corruption when playing various OGL games Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All)

Re: [v8 02/10] drm: Parse HDR metadata info from EDID

2019-05-07 Thread Kazlauskas, Nicholas
On 4/9/19 12:44 PM, Uma Shankar wrote: > HDR metadata block is introduced in CEA-861.3 spec. > Parsing the same to get the panel's HDR metadata. > > v2: Rebase and added Ville's POC changes to the patch. > > v3: No Change > > v4: Addressed Shashank's review comments > > v5: Addressed Shashank's

  1   2   >