Re: [RFC 3/6] udmabuf: enforce access flags

2019-07-31 Thread Gerd Hoffmann
> static int mmap_udmabuf(struct dma_buf *buf, struct vm_area_struct *vma) > { > struct udmabuf *ubuf = buf->priv; > + pgprot_t pgprot = vm_get_page_prot(vma->vm_flags); > > if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) > return -EINVAL; > > + if (ubu

Re: [RFC 4/6] udmabuf: add a pointer to the miscdevice in dma-buf private data

2019-07-31 Thread Gerd Hoffmann
On Wed, Jul 31, 2019 at 07:25:15PM -0700, Gurchetan Singh wrote: > Will be used later. > > Signed-off-by: Gurchetan Singh > --- > drivers/dma-buf/udmabuf.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c > i

Re: [RFC 2/6] udmabuf: add ability to set access flags on udmabuf

2019-07-31 Thread Gerd Hoffmann
On Wed, Jul 31, 2019 at 07:25:13PM -0700, Gurchetan Singh wrote: > The main use for udmabuf is sending guest memory pages > to the host. > > It's generally a bad idea to have to separate mappings with > different attributes. For example, a WC mapping the guest > kernel and cached mapping on the ho

Re: [PATCH v1 2/2] drm: Clear the fence pointer when writeback job signaled

2019-07-31 Thread Lowry Li (Arm Technology China)
Hi Brian, On Wed, Jul 31, 2019 at 09:20:04PM +0800, Brian Starkey wrote: > Hi Lowry, > > Thanks for this cleanup. > > On Wed, Jul 31, 2019 at 11:04:45AM +, Lowry Li (Arm Technology China) > wrote: > > During it signals the completion of a writeback job, after releasing > > the out_fence, we

Re: [PATCH v1 2/2] drm: Clear the fence pointer when writeback job signaled

2019-07-31 Thread Lowry Li (Arm Technology China)
Hi Liviu, On Wed, Jul 31, 2019 at 01:15:25PM +, Liviu Dudau wrote: > Hi Lowry, > > On Wed, Jul 31, 2019 at 11:04:45AM +, Lowry Li (Arm Technology China) > wrote: > > During it signals the completion of a writeback job, after releasing > > the out_fence, we'd clear the pointer. > > > > C

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-07-31 Thread Rong Chen
Hi, On 7/31/19 6:21 PM, Michel Dänzer wrote: On 2019-07-31 11:25 a.m., Huang, Ying wrote: Hi, Daniel, Daniel Vetter writes: On Tue, Jul 30, 2019 at 10:27 PM Dave Airlie wrote: On Wed, 31 Jul 2019 at 05:00, Daniel Vetter wrote: On Tue, Jul 30, 2019 at 8:50 PM Thomas Zimmermann wrote: H

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #25 from Sergey Kondakov (virtuous...@gmail.com) --- (In reply to Nicholas Kazlauskas from comment #24) > This should be fixed with the series linked below: > > https://patchwork.freedesktop.org/series/64505/ > > But it still needs r

[PATCH v3 19/26] drm: kirin: Move drm driver to driver data

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the drm_driver structure to be under device specific driver data. This will allow us to more easily add support for kirin960 hardware with later patches. Cc: Rongrong Zou Cc

[PATCH v3 23/26] drm: kirin: Make driver_data variable non-global

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch changes the driver_data value to not be a global variable. Instead the driver_data value is accessed via the of_device_get_match_data() when needed. Cc: Rongrong Zou Cc: David Airl

[PATCH v3 17/26] drm: kirin: Move plane number and primay plane in driver data

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the number of planes and the primary plane value to the kirin_drm_data structure This will make it easier to add support for new devices via a new kirin_drm_data structure. C

[PATCH v3 09/26] drm: kirin: Dynamically allocate the hw_ctx

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch modifies the initialization function to dynamically allocate the ade_hw_ctx structure previously kept as part of struct ade_data. This is done so that later we can have the hw_ctx p

[PATCH v3 11/26] drm: kirin: Move workqueue to ade_hw_ctx structure

2019-07-31 Thread John Stultz
The workqueue used to reset the display when we hit an LDI underflow error is ADE specific, so since this patch series works to make the kirin_crtc structure more generic, move the workqueue to the ade_hw_ctx structure instead. Cc: Rongrong Zou Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel

[PATCH v3 22/26] drm: kirin: Fix dev->driver_data setting

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch changes the dev->driver_data to point to a drm_device, not ade_data. Thus we set the driver data to drm device after alloc. Cc: Rongrong Zou Cc: David Airlie Cc: Daniel Vetter C

[PATCH v3 20/26] drm: kirin: Add register connect helper functions in drm init

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch adds a flag to the device specific driver data so that we can conditionally register the connectors at init. Cc: Rongrong Zou Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc

[PATCH v3 24/26] drm: kirin: Add alloc_hw_ctx/clean_hw_ctx ops in driver data

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch changes the alloc/clean_hw_ctx functions to be called via driver_data specific funciton pointers. This will allow the ade_drm_init to later be made generic and moved to kirin_drm_dr

[PATCH v3 26/26] drm: kirin: Move ade drm init to kirin drm drv

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames ade_data to kirin_drm_private, and moves crtc_init and plane_init to kirin drm drv too. Now that they are generic the functions can be shared between the kirin620 and (to be

[PATCH v3 25/26] drm: kirin: Pass driver data to crtc init and plane init

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch changes the code via a passed in driver_data pointer, rather than hardcoding them via ade_driver_data variable. This will allow those funcitons to be later moved to the generic kiri

[PATCH v3 21/26] drm: kirin: Rename plane_init and crtc_init

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames ade_crtc/plane_init kirin_plane/crtc_init, as they will later be moved to kirin drm drv and shared with the kirin960 hardware support. Cc: Rongrong Zou Cc: David Airlie Cc

[PATCH v3 08/26] drm: kirin: Rename ade_crtc to kirin_crtc

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames the struct ade_crtc to kirin_crtc. The struct kirin_crtc will later used by both kirin620 and future kirin960 driver, and will be moved to a common kirin_drm_drv.h in a futu

[PATCH v3 05/26] drm: kirin: Remove uncessary parameter indirection

2019-07-31 Thread John Stultz
From: Xu YiPing In a few functions, we pass in a struct ade_crtc, which we only use to get to the underlying struct ade_hw_ctx. Thus this patch refactors the functions to just take the struct ade_hw_ctx directly. Cc: Rongrong Zou Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc: Sam Ravn

[PATCH v3 18/26] drm: kirin: Move config max_width and max_height to driver data

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the max_width and max_height values used in kirin_drm_mode_config_inita to hardware specific driver data. This will make it easier to add support for new devices via a new kir

[PATCH v3 00/26] drm: Kirin driver cleanups to prep for Kirin960 support

2019-07-31 Thread John Stultz
I was reminded I had sent this out a few months ago, but forgot all about it! Apologies! Anyway, I wanted to resubmit this patch set so I didn't have to continue carrying it forever to keep the HiKey960 board running. This patchset contains one fix (in the front, so its easier to eventually backpo

[PATCH v3 15/26] drm: kirin: Move channel formats to driver data

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the channel format arrays into the kirin_drm_data structure. This will make it easier to add support for new devices via a new kirin_drm_data structure. Cc: Rongrong Zou Cc:

[PATCH v3 16/26] drm: kirin: Move mode config function to driver_data

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the mode config initialization values into the kirin_drm_data structure. This will make it easier to add support for new devices via a new kirin_drm_data structure. Cc: Rongr

[PATCH v3 13/26] drm: kirin: Reanme dc_ops to kirin_drm_data

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames the struct kirin_dc_ops to struct kirin_drm_data and cleans up the related variable names. Cc: Rongrong Zou Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc: Sam Ravn

[PATCH v3 07/26] drm: kirin: Rename ade_plane to kirin_plane

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames the struct ade_plane to kirin_plane. The struct kirin_plane will later used by both kirin620 and future kirin960 driver, and will be moved to a common kirin_drm_drv.h in a f

[PATCH v3 12/26] drm: kirin: Move kirin_crtc, kirin_plane, kirin_format to kirin_drm_drv.h

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves some shared structures and helpers to the common kirin_drm_drv.h These structures will later used by both kirin620 and future kirin960 driver Cc: Rongrong Zou Cc: David Airl

[PATCH v3 10/26] drm: kirin: Move request irq handle in ade hw ctx alloc

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch modifies the initialization routines so the devm_request_irq() function is called as part of the allocation function. This will be needed in the future when we will have different a

[PATCH v3 06/26] drm: kirin: Remove out_format from ade_crtc

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch removes the out_format field in the struct ade_crtc, which was only ever set to LDI_OUT_RGB_888. Thus this patch removes the field and instead directly uses LDI_OUT_RGB_888. Cc: Ro

[PATCH v3 14/26] drm: kirin: Move ade crtc/plane help functions to driver_data

2019-07-31 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the crtc and plane funcs/helper_funcs to the struct kirin_drm_data. This will make it easier to add support for new devices via a new kirin_drm_data structure. Cc: Rongrong Z

[PATCH v3 03/26] drm: kirin: Remove HISI_KIRIN_DW_DSI config option

2019-07-31 Thread John Stultz
The CONFIG_HISI_KIRIN_DW_DSI option is only used w/ kirin driver, so cut out the middleman and condense the config logic down. Cc: Rongrong Zou Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc: Sam Ravnborg Reviewed-by: Sam Ravnborg Signed-off-by: John Stultz --- drivers/gpu/drm/hisilic

[PATCH v3 02/26] drm: kirin: Get rid of drmP.h includes

2019-07-31 Thread John Stultz
Remove use of drmP.h in kirin driver Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc: Sam Ravnborg Suggested-by: Sam Ravnborg Signed-off-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 6 +- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 4 +++- 2 files chan

[PATCH v3 01/26] drm: kirin: Fix for hikey620 display offset problem

2019-07-31 Thread John Stultz
From: Da Lv The original HiKey (620) board has had a long running issue where when using a 1080p montior, the display would occasionally blink and come come back with a horizontal offset (usually also shifting the colors, depending on the value of the offset%4). After lots of analysis by HiSi de

[PATCH v3 04/26] drm: kirin: Remove unreachable return

2019-07-31 Thread John Stultz
The 'return 0' in kirin_drm_platform_probe() is unreachable code, so remove it. Cc: Rongrong Zou Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc: Sam Ravnborg Reviewed-by: Sam Ravnborg Suggested by: Xu YiPing Signed-off-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv

linux-next: build failure after merge of the drm-misc tree

2019-07-31 Thread Stephen Rothwell
ymlink in connector sysfs directory") I have used the drm-misc tree from next-20190731 for today. -- Cheers, Stephen Rothwell pgp6o8dmZwCEH.pgp Description: OpenPGP digital signature ___ dri-devel mailing list dri-devel@lists.freedesktop.org h

[RFC 2/6] udmabuf: add ability to set access flags on udmabuf

2019-07-31 Thread Gurchetan Singh
The main use for udmabuf is sending guest memory pages to the host. It's generally a bad idea to have to separate mappings with different attributes. For example, a WC mapping the guest kernel and cached mapping on the host is problematic. Add creation time flags so the user has responsibility fo

[RFC 5/6] udmabuf: separate out creating/destroying scatter-table

2019-07-31 Thread Gurchetan Singh
Reused later. Signed-off-by: Gurchetan Singh --- drivers/dma-buf/udmabuf.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c index 47003abbf4c2..5f8bee1862de 100644 --- a/drivers/dma-buf/udmabuf.c

[RFC 1/6] udmabuf: use cache_sgt_mapping option

2019-07-31 Thread Gurchetan Singh
The GEM prime helpers do it, so should we. It's also possible to make it optional later. Signed-off-by: Gurchetan Singh --- drivers/dma-buf/udmabuf.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c index 9635

[RFC 3/6] udmabuf: enforce access flags

2019-07-31 Thread Gurchetan Singh
Enforce the access flags that were added earlier. Signed-off-by: Gurchetan Singh --- drivers/dma-buf/udmabuf.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c index 4ecf2a94fed3..134e53d24c2b 100644 --- a/drivers/dma-buf/udmabuf.

[RFC 0/6] udmabuf guest <--> host interaction model

2019-07-31 Thread Gurchetan Singh
It's desirable to use zero-copy mechanisms when using various graphics buffers. With udmabuf, two cases come to mind: 1) Directly scan-out a guest-mapped buffer 2) Import into VK with VK_EXT_external_memory_dma_buf However, displays are not generally coherent with the CPU and many GPUs aren't eit

[RFC 4/6] udmabuf: add a pointer to the miscdevice in dma-buf private data

2019-07-31 Thread Gurchetan Singh
Will be used later. Signed-off-by: Gurchetan Singh --- drivers/dma-buf/udmabuf.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c index 134e53d24c2b..47003abbf4c2 100644 --- a/drivers/dma-buf/udmabuf.c +++ b/driver

[RFC 6/6] udmabuf: implement begin_cpu_access/end_cpu_access hooks

2019-07-31 Thread Gurchetan Singh
With the misc device, we should end up using dma direct ops. This can allow us to have WC mappings in the guest after some synchronization, if we disallow cached mappings in the host. Signed-off-by: Gurchetan Singh --- drivers/dma-buf/udmabuf.c | 39 +++ 1 fil

[Bug 110961] Are provided libdrm packages completely open source?

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110961 --- Comment #6 from Andrew Shark --- Hi, Jeremy. The reason I am porting pro stack to arch Linux is that I want to be able to launch Davinci Resolve. It is proprietary software for video editing. It requires pro OpenCL and pro OpenGL. At least f

[PATCH] etnaviv: perfmon: fix total and idle HI cyleces readout

2019-07-31 Thread Christian Gmeiner
As seen at CodeAurora's linux-imx git repo in imx_4.19.35_1.0.0 branch. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 44 +-- 1 file changed, 33 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c b/driver

[PATCH] etnaviv: fix whitespace errors

2019-07-31 Thread Christian Gmeiner
Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c index 4227a4006c34..06e6d3ee1c34 100644 --- a/drivers/gpu/d

Re: [PATCH 1/8] drm/amdgpu: drop drmP.h in amdgpu_amdkfd_arcturus.c

2019-07-31 Thread Kuehling, Felix
On 2019-07-31 11:52 a.m., Alex Deucher wrote: > Unused. > > Signed-off-by: Alex Deucher The series is Reviewed-by: Felix Kuehling > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arct

[Bug 109022] ring gfx timeout during particular shader generation on yuzu emulator

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109022 --- Comment #23 from e88z4 --- Hi, Is there an update for this ticket? The issue is still easily be replicated in the latest mesa on RadeonSI driver. System information Linux 5.2.2 Mesa-master Radeon RX 580 Series (POLARIS10, DRM 3.32.0, 5.2

Re: [PATCH v4 14/23] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-07-31 Thread Ezequiel Garcia
Hi, I'm glad to see this work moving forward! On Wed, 2019-07-24 at 10:01 +0200, Thomas Zimmermann wrote: > Hi > > Am 23.07.19 um 14:44 schrieb Andrzej Pietrasiewicz: > > Hi Sam, > > > > W dniu 23.07.2019 o 11:05, Sam Ravnborg pisze: > > > Hi Andrzej > > > > > > On Thu, Jul 11, 2019 at 01:26:4

Re: [PATCH] drm/vgem: fix cache synchronization on arm/arm64

2019-07-31 Thread Sean Paul
On Fri, Jul 19, 2019 at 11:21:53AM +0200, Daniel Vetter wrote: > On Wed, Jul 17, 2019 at 02:15:37PM -0700, Rob Clark wrote: > > From: Rob Clark > > > > drm_cflush_pages() is no-op on arm/arm64. But instead we can use > > dma_sync API. > > > > Fixes failures w/ vgem_test. > > > > Signed-off-by:

[pull] amdgpu, amdkfd drm-fixes-5.3

2019-07-31 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.3. Nothing too major. A few fixes for navi and some general fixes. The following changes since commit 4d5308e7852741318e4d40fb8d43d9311b3984ae: Merge tag 'drm-fixes-5.3-2019-07-24' of git://people.freedesktop.org/~agd5f/linux into drm-fixes (2019-07-26 14:10:26

[Bug 111273] crash calling AMDGPU_INFO_READ_MMR_REG with count set to -1

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111273 Bug ID: 111273 Summary: crash calling AMDGPU_INFO_READ_MMR_REG with count set to -1 Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All)

[Bug 111272] [DRI_PRIME] Error on multi GPU with only one enabled

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111272 Alex Deucher changed: What|Removed |Added Attachment #144925|text/x-log |text/plain mime type|

[Bug 111272] [DRI_PRIME] Error on multi GPU with only one enabled

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111272 --- Comment #5 from Parker Reed --- Created attachment 144924 --> https://bugs.freedesktop.org/attachment.cgi?id=144924&action=edit dmesg output -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 111272] [DRI_PRIME] Error on multi GPU with only one enabled

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111272 --- Comment #6 from Parker Reed --- Created attachment 144925 --> https://bugs.freedesktop.org/attachment.cgi?id=144925&action=edit Xorg log -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 111272] [DRI_PRIME] Error on multi GPU with only one enabled

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111272 --- Comment #4 from Parker Reed --- I'm not using the laptop panel or connector. This is a Thunderbolt eGPU. HDMI is direct into the external RX 560. While testing I just realized this behavior has nothing to do with multi GPU. Ran the same gl

[Bug 111272] [DRI_PRIME] Error on multi GPU with only one enabled

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111272 --- Comment #3 from Alex Deucher --- Please attach your xorg log and dmesg output. Generally the laptop panel is only physically connected to the integrated GPU so you have to use the integrated GPU to get a display. -- You are receiving this

[Bug 111272] [DRI_PRIME] Error on multi GPU with only one enabled

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111272 --- Comment #2 from Parker Reed --- Created attachment 144923 --> https://bugs.freedesktop.org/attachment.cgi?id=144923&action=edit DRI PRIME 1 vblank mode 1 -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 111272] [DRI_PRIME] Error on multi GPU with only one enabled

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111272 --- Comment #1 from Parker Reed --- Created attachment 144922 --> https://bugs.freedesktop.org/attachment.cgi?id=144922&action=edit DRI PRIME 1 -- You are receiving this mail because: You are the assignee for the bug.

[Bug 111272] [DRI_PRIME] Error on multi GPU with only one enabled

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111272 Bug ID: 111272 Summary: [DRI_PRIME] Error on multi GPU with only one enabled Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity:

Re: [PATCH 3/3] drm/bridge: Add NWL MIPI DSI host controller support

2019-07-31 Thread Fabio Estevam
On Wed, Jul 31, 2019 at 1:40 PM Jernej Škrabec wrote: > > Yes, I understood the idea, but this would print: > > > > ensabling or dissabling :-) > > No, it wouldn't. That extra "s" is part of "%s", e.g. part of format > specifier. Ops, you are right. Sorry about that! ___

Re: [PATCH 1/8] drm/amdgpu: drop drmP.h in amdgpu_amdkfd_arcturus.c

2019-07-31 Thread Sam Ravnborg
Hi Alex. On Wed, Jul 31, 2019 at 10:52:39AM -0500, Alex Deucher wrote: > Unused. > > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c > b/drivers/

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

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #57 from Tom B --- 5.0.13 works fine, I've been using it since I first encountered the problem. 5.1+ introduces this issue. The way to tell whether it's working correctly is to run sensors and check the power1 number. The bug causes

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

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #56 from Peter Hercek --- I use 5.0.13 for 3 days. It works OK so far. But 3 days is too little to tell. E.g. 5.1.15 hanged up after about 5 days. But from that time it hanged up always after I launched two youtube videos just after

Re: [PATCH v19 02/15] arm64: Introduce prctl() options to control the tagged user addresses ABI

2019-07-31 Thread Dave Hansen
On 7/23/19 10:58 AM, Andrey Konovalov wrote: > +long set_tagged_addr_ctrl(unsigned long arg) > +{ > + if (!tagged_addr_prctl_allowed) > + return -EINVAL; > + if (is_compat_task()) > + return -EINVAL; > + if (arg & ~PR_TAGGED_ADDR_ENABLE) > + return -E

[PATCH 13/13] drm/i915: Provide ddc symlink in hdmi connector sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/i915/display/intel_hdmi.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/displ

[PATCH 11/13] drm: zte: Provide ddc symlink in vga connector sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/zte/zx_vga.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_vga.c b/drivers/gpu/drm

[PATCH 09/13] drm/vc4: Provide ddc symlink in connector sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/vc4/vc4_hdmi.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/driv

[PATCH 10/13] drm: zte: Provide ddc symlink in hdmi connector sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/zte/zx_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_hdmi.c b/drivers/gpu/d

[PATCH 12/13] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_tfp410

[PATCH 08/13] drm/tegra: Provide ddc symlink in output connector sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/tegra/hdmi.c | 7 --- drivers/gpu/drm/tegra/sor.c | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dr

[PATCH 07/13] drm/mediatek: Provide ddc symlink in hdmi connector sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b

[PATCH 06/13] drm/msm/hdmi: Provide ddc symlink in hdmi connector sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_con

[PATCH 05/13] drm: rockchip: Provide ddc symlink in inno_hdmi sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/rockchip/inno_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c

[PATCH 04/13] drm: rockchip: Provide ddc symlink in rk3066_hdmi sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rk3066_hdm

[PATCH 03/13] drm/exynos: Provide ddc symlink in connector's sysfs

2019-07-31 Thread Andrzej Pietrasiewicz
Switch to using the ddc provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Sam Ravnborg Reviewed-by: Emil Velikov --- drivers/gpu/drm/exynos/exynos_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi

[PATCH 02/13] drm/radeon: Eliminate possible use of an uninitialized variable

2019-07-31 Thread Andrzej Pietrasiewicz
ddc local variable is passed to drm_connector_init_with_ddc() and should be NULL if no ddc is available. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/radeon/radeon_connectors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_connector

[PATCH 01/13] drm/amdgpu: Provide ddc symlink in dm connector's sysfs directory

2019-07-31 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/disp

[PATCH 00/13] Next round of associating ddc adapters with connectors

2019-07-31 Thread Andrzej Pietrasiewicz
Now that some of the patches of the previous v6 series are applied, I'm resending the remaining ones (patches 3-13) with Acked-by and Reviewed-by added. I'm also taking this opportunity to provide the symlink for another connector in amdgpu (patch 1), and to fix a small but nasty bug which can cau

Re: [PATCH 3/3] drm/bridge: Add NWL MIPI DSI host controller support

2019-07-31 Thread Guido Günther
Hi, On Wed, Jul 31, 2019 at 11:43:47AM -0300, Fabio Estevam wrote: > Hi Guido, > > On Wed, Jul 31, 2019 at 11:35 AM Guido Günther wrote: > > > The idea is to have > > > > "%sabling platform clocks", enable ? "en" : "dis"); > > > > depending whether clocks are enabled/disabled. > > Yes, I un

Re: [PATCH v19 00/15] arm64: untag user pointers passed to the kernel

2019-07-31 Thread Dave Hansen
On 7/23/19 10:58 AM, Andrey Konovalov wrote: > The mmap and mremap (only new_addr) syscalls do not currently accept > tagged addresses. Architectures may interpret the tag as a background > colour for the corresponding vma. What the heck is a "background colour"? :) ___

Re: [linux-next] mm/i915: i915_gemfs_init() NULL dereference

2019-07-31 Thread Sergey Senozhatsky
On (07/21/19 23:29), Sergey Senozhatsky wrote: > > BUG: kernel NULL pointer dereference, address: > #PF: supervisor instruction fetch in kernel mode > #PF: error_code(0x0010) - not-present page > PGD 0 P4D 0 > Oops: 0010 [#1] PREEMPT SMP PTI > RIP: 0010:0x0 > Code: Bad RIP

Re: [PATCH 3/3] drm/bridge: Add NWL MIPI DSI host controller support

2019-07-31 Thread Jernej Škrabec
Hi! Dne sreda, 31. julij 2019 ob 16:43:47 CEST je Fabio Estevam napisal(a): > Hi Guido, > > On Wed, Jul 31, 2019 at 11:35 AM Guido Günther wrote: > > The idea is to have > > > > "%sabling platform clocks", enable ? "en" : "dis"); > > > > depending whether clocks are enabled/disabled. > >

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #24 from Nicholas Kazlauskas (nicholas.kazlaus...@amd.com) --- This should be fixed with the series linked below: https://patchwork.freedesktop.org/series/64505/ But it still needs review and backporting to older kernels. -- You ar

[PATCH 8/8] drm/amdgpu: drop drmP.h from vcn_v2_5.c

2019-07-31 Thread Alex Deucher
Unused. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c index 0c84dbc6a62d..395c2259f979 100644 --- a/drivers/gpu/drm/amd/amdgp

[PATCH 3/8] drm/amdgpu: drop drmP.h in gfx_v10_0.c

2019-07-31 Thread Alex Deucher
And fix the fallout. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index e8731df40340..82732178d365 100644 ---

[PATCH 2/8] drm/amdgpu: drop drmP.h from amdgpu_amdkfd_gfx_v10.c

2019-07-31 Thread Alex Deucher
Unused. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c index 0723f800e815..7c03a7fcd011 100644 --- a/dri

[PATCH 6/8] drm/amdgpu: drop drmP.h from sdma_v5_0.c

2019-07-31 Thread Alex Deucher
And fix the fallout. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c index 3e536140bfd6..aa43dc6c599a 100644 --- a/

[PATCH 7/8] drm/amdgpu: drop drmP.h from vcn_v2_0.c

2019-07-31 Thread Alex Deucher
And fix the fallout. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c index eef3ec5449af..36ad0c0e8efb 100644 --- a/drivers/

[PATCH 5/8] drm/amdgpu: drop drmP.h from nv.c

2019-07-31 Thread Alex Deucher
And fix up the fallout. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/nv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index e4885e2d281a..595a907f4ea7 100644 --- a/drivers/gpu/drm/amd/amdgpu

[PATCH 4/8] drm/amdgpu: drop drmP.h from navi10_ih.c

2019-07-31 Thread Alex Deucher
And fix the fallout. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/navi10_ih.c b/drivers/gpu/drm/amd/amdgpu/navi10_ih.c index e963746be11c..9fe08408db58 100644 --- a/drivers

[PATCH 1/8] drm/amdgpu: drop drmP.h in amdgpu_amdkfd_arcturus.c

2019-07-31 Thread Alex Deucher
Unused. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c index 4d9101834ba7..c79aaebeeaf0 100644 --- a/

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

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #55 from Anthony Rabbito --- (In reply to ReddestDream from comment #54) > (In reply to Peter Hercek from comment #52) > > I'm getting hangs-up with kernels 5.2.3 (often) and 5.1.15 (less often). > > Radeon VII with 3 monitors. Each

Re: Review required [Was: Associate ddc adapters with connectors]

2019-07-31 Thread Neil Armstrong
Hi Andrzej, On 31/07/2019 16:22, Neil Armstrong wrote: > On 31/07/2019 15:10, Andrzej Pietrasiewicz wrote: >> W dniu 31.07.2019 o 12:40, Sam Ravnborg pisze: >>> Hi Neil. >>> >>> On Wed, Jul 31, 2019 at 10:00:14AM +0200, Neil Armstrong wrote: Hi Sam, On 26/07/2019 20:55, Sam Ravnborg

Re: [RFC PATCH 2/2] soc: ti: Add Support for the TI Page-based Address Translator (PAT)

2019-07-31 Thread Andrew F. Davis
On 6/18/19 5:07 AM, Tero Kristo wrote: > On 07/06/2019 22:35, Andrew F. Davis wrote: >> This patch adds a driver for the Page-based Address Translator (PAT) >> present on various TI SoCs. A PAT device performs address translation >> using tables stored in an internal SRAM. Each PAT supports a set n

[Bug 110961] Are provided libdrm packages completely open source?

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110961 Jeremy Newton changed: What|Removed |Added Resolution|--- |WORKSFORME Status|REOPENED

[Bug 110956] List of 19.20-812932 release mistakes

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110956 Bug 110956 depends on bug 110961, which changed state. Bug 110961 Summary: Are provided libdrm packages completely open source? https://bugs.freedesktop.org/show_bug.cgi?id=110961 What|Removed |Added --

[Bug 110961] Are provided libdrm packages completely open source?

2019-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110961 --- Comment #4 from Jeremy Newton --- Just a quick question Andrew, is there a reason you're trying to use our PRO stack on Arch linux? The open stack is regularly tested by us and should work as-is considering that Arch already provides an up t

Re: [PATCH] drm/i810: Use CONFIG_PREEMPTION

2019-07-31 Thread Daniel Vetter
On Fri, Jul 26, 2019 at 10:25:20PM +0200, Thomas Gleixner wrote: > CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by > CONFIG_PREEMPT_RT. Both PREEMPT and PREEMPT_RT require the same > functionality which today depends on CONFIG_PREEMPT. > > Change the Kconfig dependency of i810 to !CONFIG_PR

Re: [PATCH 3/3] drm/bridge: Add NWL MIPI DSI host controller support

2019-07-31 Thread Fabio Estevam
Hi Guido, On Wed, Jul 31, 2019 at 11:35 AM Guido Günther wrote: > The idea is to have > > "%sabling platform clocks", enable ? "en" : "dis"); > > depending whether clocks are enabled/disabled. Yes, I understood the idea, but this would print: ensabling or dissabling :-) > > Same here. Ple

Re: [PATCH 3/3] drm/bridge: Add NWL MIPI DSI host controller support

2019-07-31 Thread Guido Günther
Hi, On Sat, Jul 27, 2019 at 05:04:44AM +0300, Laurent Pinchart wrote: > Hello, > > On Fri, Jul 26, 2019 at 05:01:52PM -0300, Fabio Estevam wrote: > > Hi Guido, > > > > Thanks for your work on this driver! > > > > On Wed, Jul 24, 2019 at 12:52 PM Guido Günther wrote: > > > > > --- /dev/null > >

  1   2   3   >