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

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #47 from ReddestDream --- (In reply to Tom B from comment #46) > Has anyone tested 5.3 yet? I noticed there are a lot of powerplay changes. > > Since this bug messes up the card's power profile, how safe is testing new > kernels? Is

Re: [PATCH v4, 05/33] dt-bindings: mediatek: add RDMA1 description for mt8183 display

2019-07-24 Thread CK Hu
Hi, Rob: On Wed, 2019-07-24 at 14:16 -0600, Rob Herring wrote: > On Tue, Jul 09, 2019 at 06:33:45AM +0800, yongqiang@mediatek.com wrote: > > From: Yongqiang Niu > > > > This patch add RDMA1 description for mt8183 display > > > > Signed-off-by: Yongqiang Niu > > --- > > Documentation/devic

Re: [PATCH 03/12] drm: aspeed_gfx: Fix misuse of GENMASK macro

2019-07-24 Thread Joel Stanley
On Thu, 25 Jul 2019 at 01:18, Joe Perches wrote: > > On Thu, 2019-07-25 at 10:40 +0930, Andrew Jeffery wrote: > > > > On Thu, 25 Jul 2019, at 02:46, Joe Perches wrote: > > > On Tue, 2019-07-09 at 22:04 -0700, Joe Perches wrote: > > > > Arguments are supposed to be ordered high then low. > > > > >

Re: [PATCH 03/12] drm: aspeed_gfx: Fix misuse of GENMASK macro

2019-07-24 Thread Joe Perches
On Thu, 2019-07-25 at 10:40 +0930, Andrew Jeffery wrote: > > On Thu, 25 Jul 2019, at 02:46, Joe Perches wrote: > > On Tue, 2019-07-09 at 22:04 -0700, Joe Perches wrote: > > > Arguments are supposed to be ordered high then low. > > > > > > Signed-off-by: Joe Perches > > > --- > > > drivers/gpu/d

[PATCH v2 5/7] drm/panfrost: Add a no execute flag for BO allocations

2019-07-24 Thread Rob Herring
Executable buffers have an alignment restriction that they can't cross 16MB boundary as the GPU program counter is 24-bits. This restriction is currently not handled and we just get lucky. As current userspace assumes all BOs are executable, that has to remain the default. So add a new PANFROST_BO_

Re: [PATCH 03/12] drm: aspeed_gfx: Fix misuse of GENMASK macro

2019-07-24 Thread Andrew Jeffery
On Thu, 25 Jul 2019, at 02:46, Joe Perches wrote: > On Tue, 2019-07-09 at 22:04 -0700, Joe Perches wrote: > > Arguments are supposed to be ordered high then low. > > > > Signed-off-by: Joe Perches > > --- > > drivers/gpu/drm/aspeed/aspeed_gfx.h | 2 +- > > 1 file changed, 1 insertion(+), 1 de

[PATCH v2 3/7] drm/panfrost: Restructure the GEM object creation

2019-07-24 Thread Rob Herring
Setting the GPU VA when creating the GEM object doesn't allow for any conditional adjustments. In preparation to support adjusting the mapping, restructure the GEM object creation to map the GEM object after we've created the base shmem object. Cc: Tomeu Vizoso Cc: Boris Brezillon Cc: Robin Murp

[PATCH v2 7/7] drm/panfrost: Bump driver version to 1.1

2019-07-24 Thread Rob Herring
Increment the driver version to expose the new BO allocation flags. Cc: Tomeu Vizoso Cc: Boris Brezillon Cc: Robin Murphy Cc: Steven Price Cc: Alyssa Rosenzweig Signed-off-by: Rob Herring --- drivers/gpu/drm/panfrost/panfrost_drv.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-)

[PATCH v2 2/7] drm/shmem: Put pages independent of a SG table being set

2019-07-24 Thread Rob Herring
If a driver does its own management of pages, the shmem helper object's pages array could be allocated when a SG table is not. There's not really any good reason to tie putting pages with having a SG table when freeing the object, so just put pages if the pages array is populated. Cc: Maarten Lan

[PATCH v2 4/7] drm/panfrost: Split panfrost_mmu_map SG list mapping to its own function

2019-07-24 Thread Rob Herring
In preparation to create partial GPU mappings of BOs on page faults, split out the SG list handling of panfrost_mmu_map(). Cc: Tomeu Vizoso Cc: Boris Brezillon Cc: Robin Murphy Cc: Alyssa Rosenzweig Reviewed-by: Steven Price Signed-off-by: Rob Herring --- drivers/gpu/drm/panfrost/panfrost_m

[PATCH v2 1/7] drm/gem: Allow sparsely populated page arrays in drm_gem_put_pages

2019-07-24 Thread Rob Herring
Panfrost has a need for pages allocated on demand via GPU page faults. When releasing the pages, the only thing preventing using drm_gem_put_pages() is needing to skip over unpopulated pages, so allow for skipping over NULL struct page pointers. Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean P

[PATCH v2 6/7] drm/panfrost: Add support for GPU heap allocations

2019-07-24 Thread Rob Herring
The midgard/bifrost GPUs need to allocate GPU heap memory which is allocated on GPU page faults and not pinned in memory. The vendor driver calls this functionality GROW_ON_GPF. This implementation assumes that BOs allocated with the PANFROST_BO_NOEXEC flag are never mmapped or exported. Both of t

[PATCH v2 0/7] drm/panfrost: Add heap and no execute buffer allocation

2019-07-24 Thread Rob Herring
This series adds new BO allocation flags PANFROST_BO_HEAP and PANFROST_BO_NOEXEC. The heap allocations are paged in on GPU page faults. This is based on drm-misc-next. A branch is here[1]. Rob [1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git panfrost/heap-noexec Rob Herring (7)

Re: [PATCH v7 2/4] drm/panel: set display info in panel attach

2019-07-24 Thread dbasehore .
Hi Sam, thanks for pointing out the potential conflict. On Tue, Jul 23, 2019 at 2:19 AM Sam Ravnborg wrote: > > Hi Derek. > > On Tue, Jul 09, 2019 at 07:16:57PM -0700, Derek Basehore wrote: > > Devicetree systems can set panel orientation via a panel binding, but > > there's no way, as is, to pro

[PATCH] backlight: lms283gf05: Fix a typo in the description passed to 'devm_gpio_request_one()'

2019-07-24 Thread Christophe JAILLET
The description passed to 'devm_gpio_request_one()' should be related to LMS283GF05, not LMS285GF05. Signed-off-by: Christophe JAILLET --- drivers/video/backlight/lms283gf05.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/lms283gf05.c b/drivers/vide

Re: [PATCH] Enable backlight when trigger is activated

2019-07-24 Thread Jacek Anaszewski
On 7/24/19 10:33 AM, Pavel Machek wrote: > Hi! > > +++ b/drivers/leds/trigger/ledtrig-backlight.c > @@ -114,6 +114,8 @@ static int bl_trig_activate(struct led_classdev *led) > n->old_status = UNBLANK; > n->notifier.notifier_call = fb_notifier_callback; > > + led_set_b

[pull] amdgpu, ttm drm-fixes-5.3

2019-07-24 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.3. Mostly display fixes and a few power fixes for Navi. The following changes since commit 41a5a2a8531f95d18bb4efddea581ccb469e8ee5: drm/amd/display: init res_pool dccg_ref, dchub_ref with xtalin_freq (2019-07-18 14:12:08 -0500) are available in the Git reposito

Re: [Linux-graphics-maintainer] [PATCH 2/3] drm/vmwgfx: add local DRM_AUTH check for PRIME TO/FROM HANDLE

2019-07-24 Thread Deepak Singh Rawat
On Mon, 2019-07-22 at 18:40 +0100, Emil Velikov wrote: > From: Emil Velikov > > Realistically no drivers, but vmwgfx care about the DRM_AUTH flag > here. > > Follow-up work in this driver will properly isolate primary clients > from > different master realms, thus we'll no longer need to parse _

Re: Limits for ION Memory Allocator

2019-07-24 Thread John Stultz
On Wed, Jul 24, 2019 at 1:18 PM John Stultz wrote: > > On Wed, Jul 24, 2019 at 12:36 PM Laura Abbott wrote: > > > > On 7/17/19 12:31 PM, Alexander Popov wrote: > > > Hello! > > > > > > The syzkaller [1] has a trouble with fuzzing the Linux kernel with ION > > > Memory > > > Allocator. > > > > >

Re: Limits for ION Memory Allocator

2019-07-24 Thread John Stultz
On Wed, Jul 24, 2019 at 12:36 PM Laura Abbott wrote: > > On 7/17/19 12:31 PM, Alexander Popov wrote: > > Hello! > > > > The syzkaller [1] has a trouble with fuzzing the Linux kernel with ION > > Memory > > Allocator. > > > > Syzkaller uses several methods [2] to limit memory consumption of the >

Re: [PATCH v4, 05/33] dt-bindings: mediatek: add RDMA1 description for mt8183 display

2019-07-24 Thread Rob Herring
On Tue, Jul 09, 2019 at 06:33:45AM +0800, yongqiang@mediatek.com wrote: > From: Yongqiang Niu > > This patch add RDMA1 description for mt8183 display > > Signed-off-by: Yongqiang Niu > --- > Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 1 + > 1 file changed, 1 ins

Re: [PATCH v4, 02/33] dt-bindings: mediatek: add ovl_2l description for mt8183 display

2019-07-24 Thread Rob Herring
On Tue, 9 Jul 2019 06:33:42 +0800, wrote: > From: Yongqiang Niu > > Update device tree binding documention for the display subsystem for > Mediatek MT8183 SOCs > > Signed-off-by: Yongqiang Niu > --- > .../bindings/display/mediatek/mediatek,disp.txt| 27 > +++--- > 1 file

Re: [PATCH 9/9] drm/amd/display: Implement MST Aux device registration

2019-07-24 Thread Li, Sun peng (Leo)
On 2019-07-24 4:05 p.m., Kazlauskas, Nicholas wrote: > On 7/23/19 7:28 PM, sunpeng...@amd.com wrote: >> From: Leo Li >> >> Implement late_register and early_unregister hooks for MST connectors. >> Call drm helpers for MST connector registration, which registers the >> AUX devices. >> >> Cc: Jerr

Re: [PATCH 9/9] drm/amd/display: Implement MST Aux device registration

2019-07-24 Thread Kazlauskas, Nicholas
On 7/23/19 7:28 PM, sunpeng...@amd.com wrote: > From: Leo Li > > Implement late_register and early_unregister hooks for MST connectors. > Call drm helpers for MST connector registration, which registers the > AUX devices. > > Cc: Jerry Zuo > Cc: Nicholas Kazlauskas > Cc: Harry Wentland > Sign

Re: [PATCH v2 1/2] dt-bindings: panel: Add Sharp LD-D5116Z01B

2019-07-24 Thread Rob Herring
On Mon, 8 Jul 2019 09:57:53 -0700, Jeffrey Hugo wrote: > The Sharp LD-D5116Z01B is a 12.3" eDP panel with a 1920X1280 resolution. > > Signed-off-by: Jeffrey Hugo > Reviewed-by: Sam Ravnborg > --- > .../display/panel/sharp,ld-d5116z01b.txt | 26 +++ > 1 file changed, 26 ins

Re: [PATCH v2 1/2] dt-bindings: panel: Add parallel RGB mode for Ilitek ILI9341 panels

2019-07-24 Thread Rob Herring
On Mon, Jul 08, 2019 at 04:56:17PM +0200, Josef Lusticky wrote: > ILI9341 supports both SPI input mode and parallel RGB input mode. > This commit adds parallel RGB input mode bindings. > > Signed-off-by: Josef Lusticky > --- > .../bindings/display/ilitek,ili9341.txt | 67 --

Re: Limits for ION Memory Allocator

2019-07-24 Thread Laura Abbott
On 7/17/19 12:31 PM, Alexander Popov wrote: Hello! The syzkaller [1] has a trouble with fuzzing the Linux kernel with ION Memory Allocator. Syzkaller uses several methods [2] to limit memory consumption of the userspace processes calling the syscalls for testing the kernel: - setrlimit(), -

Re: [RFC PATCH 08/11] arm: dts: exynos: Add parents and #interconnect-cells to Exynos4412

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:13PM +0200, Artur Świgoń wrote: > This patch adds two fields tp the Exynos4412 DTS: tp->to > - parent: to declare connections between nodes that are not in a > parent-child relation in devfreq; Is it a standard property? The explanation needs some improvement.

Re: [RFC PATCH 06/11] icc: Relax requirement in of_icc_get_from_provider()

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:11PM +0200, Artur Świgoń wrote: > This patch relaxes the condition in of_icc_get_from_provider() so that it > is no longer required to set #interconnect-cells = <1> in the DT. In case > of the devfreq driver for exynos-bus, #interconnect-cells is always zero. > > Sign

Re: [RFC PATCH 05/11] icc: Export of_icc_get_from_provider()

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:10PM +0200, Artur Świgoń wrote: > This patch makes the above function public (for use in exynos-bus devfreq > driver). > > Signed-off-by: Artur Świgoń > --- > drivers/interconnect/core.c | 3 ++- > include/linux/interconnect-provider.h | 6 ++ > 2 file

Re: [RFC PATCH 04/11] devfreq: exynos-bus: Clean up code

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:09PM +0200, Artur Świgoń wrote: > This patch adds minor improvements to the exynos-bus driver. > > Signed-off-by: Artur Świgoń > --- > drivers/devfreq/exynos-bus.c | 49 > 1 file changed, 22 insertions(+), 27 deletions(-) Review

Re: [RFC PATCH 03/11] devfreq: exynos-bus: Change goto-based logic to if-else logic

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:08PM +0200, Artur Świgoń wrote: > This patch improves code readability by changing the following construct: > > >if (cond) > >goto passive; > >foo(); > >goto out; > >passive: > >bar(); > >out: > > into this: > > >if (cond) > >bar(

Re: [RFC PATCH 02/11] devfreq: exynos-bus: Extract exynos_bus_profile_init_passive()

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:07PM +0200, Artur Świgoń wrote: > This patch adds a new static function, exynos_bus_profile_init_passive(), > extracted from exynos_bus_probe(). > > Signed-off-by: Artur Świgoń > --- > drivers/devfreq/exynos-bus.c | 70 +--- > 1 file

Re: [RFC PATCH 01/11] devfreq: exynos-bus: Extract exynos_bus_profile_init()

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:06PM +0200, Artur Świgoń wrote: > This patch adds a new static function, exynos_bus_profile_init(), extracted > from exynos_bus_probe(). > > Signed-off-by: Artur Świgoń > --- > drivers/devfreq/exynos-bus.c | 106 --- > 1 file changed,

Re: [PATCH] drm/panel: check failure cases in the probe func

2019-07-24 Thread Sam Ravnborg
Hi Navid. Thanks for your patch. On Wed, Jul 24, 2019 at 09:48:44AM -0500, Navid Emamdoost wrote: > The following function calls may fail and return NULL, so the null check > is added. > of_graph_get_next_endpoint > of_graph_get_remote_port_parent > of_graph_get_remote_port > > Signed-off-by: Na

Re: [PATCH] mm/hmm: replace hmm_update with mmu_notifier_range

2019-07-24 Thread Michal Hocko
On Wed 24-07-19 20:56:17, Michal Hocko wrote: > On Wed 24-07-19 15:08:37, Jason Gunthorpe wrote: > > On Wed, Jul 24, 2019 at 07:58:58PM +0200, Michal Hocko wrote: > [...] > > > Maybe new users have started relying on a new semantic in the meantime, > > > back then, none of the notifier has even sta

Re: [PATCH] mm/hmm: replace hmm_update with mmu_notifier_range

2019-07-24 Thread Michal Hocko
On Wed 24-07-19 15:08:37, Jason Gunthorpe wrote: > On Wed, Jul 24, 2019 at 07:58:58PM +0200, Michal Hocko wrote: [...] > > Maybe new users have started relying on a new semantic in the meantime, > > back then, none of the notifier has even started any action in blocking > > mode on a EAGAIN bailout

Re: [PATCH v4 0/4] drm/via: drop use of deprecated headers drmP.h + drm_os_linux.h

2019-07-24 Thread Sam Ravnborg
Hi Emil. On Wed, Jul 24, 2019 at 05:18:21PM +0100, Emil Velikov wrote: > On 2019/07/23, Sam Ravnborg wrote: > > This is some janitorial updates to the via driver > > that is required to get rid of deprecated headers > > in the drm subsystem. > > > > The first three patches prepare for the removal

Re: [PATCH 2/2] drm/pl111: Drop special pads config check

2019-07-24 Thread Sam Ravnborg
On Wed, Jul 24, 2019 at 03:49:59PM +0200, Linus Walleij wrote: > This drops the check of the surplus "pads" configuration > from the device tree that is completely unused in the DRM > driver. > > This was only used to work around limitations in the earlier > fbdev driver. > > Cc: Sam Ravnborg >

Re: [RFC PATCH 00/11] Simple QoS for exynos-bus driver using interconnect

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:05PM +0200, Artur Świgoń wrote: > The following patchset adds interconnect[1][2] framework support to the > exynos-bus devfreq driver. Extending the devfreq driver with interconnect > capabilities started as a response to the issue referenced in [3]. The > patches can

Re: [PATCH 2/3] RTF: drm/panel: simple: Add TI nspire panels

2019-07-24 Thread Sam Ravnborg
Hi Linus. On Wed, Jul 24, 2019 at 03:58:40PM +0200, Linus Walleij wrote: > Hi Sam, > > fixed most things, one question remain: > > On Tue, Jul 23, 2019 at 7:54 PM Sam Ravnborg wrote: > > > Furthermore I did not see any bindings for the panels. > > If they indeed are missing, then please provid

Re: [RFC PATCH 11/11] drm: exynos: mixer: Add interconnect support

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:16PM +0200, Artur Świgoń wrote: > From: Marek Szyprowski > > This patch adds interconnect support to exynos-mixer. Please note that the > mixer works the same as before when CONFIG_INTERCONNECT is 'n'. > > Co-developed-by: Artur Świgoń > Signed-off-by: Artur Świgoń

Re: [PATCH 1/2] drm/pl111: Deprecate the pads from the DT binding

2019-07-24 Thread Sam Ravnborg
Hi Linus. On Wed, Jul 24, 2019 at 03:49:58PM +0200, Linus Walleij wrote: > The pads were an earlier workaround for the internal image > pipeline in the Linux fbdev subsystem. As we move to generic > definition of display properties and drivers that no longer > need this to work, deprecate this pro

Re: [PATCH v6 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-07-24 Thread John Stultz
On Wed, Jul 24, 2019 at 12:00 AM Christoph Hellwig wrote: > On Mon, Jul 22, 2019 at 10:04:06PM -0700, John Stultz wrote: > > Apologies, I'm not sure I'm understanding your suggestion here. > > dma_alloc_contiguous() does have some interesting optimizations > > (avoiding allocating single page from

Re: [RFC PATCH 09/11] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 23, 2019 at 02:20:14PM +0200, Artur Świgoń wrote: > This patch adds interconnect functionality to the exynos-bus devfreq > driver. > > The SoC topology is a graph (or, more specifically, a tree) and most of its > edges are taken from the devfreq parent-child hierarchy (cf. > Documentat

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-07-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #16 from Sergey Kondakov (virtuous...@gmail.com) --- (In reply to Nicholas Kazlauskas from comment #15) > Thanks for the logs. I don't think this is related to your overclock. > > Since this behavior wasn't previously observed during

[Bug 111211] Kernel 5.2.2 introduced tearing, corruption and freezes with Raven Ridge 2500U

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111211 Nicholas Kazlauskas changed: What|Removed |Added CC||nicholas.kazlaus...@amd.com --- C

Re: [PATCH] mm/hmm: replace hmm_update with mmu_notifier_range

2019-07-24 Thread Michal Hocko
On Wed 24-07-19 17:33:05, Christoph Hellwig wrote: > On Wed, Jul 24, 2019 at 12:28:58PM -0300, Jason Gunthorpe wrote: > > Humm. Actually having looked this some more, I wonder if this is a > > problem: > > What a mess. > > Question: do we even care for the non-blocking events? The only place > w

Re: [PATCH] mm/hmm: replace hmm_update with mmu_notifier_range

2019-07-24 Thread Michal Hocko
On Wed 24-07-19 12:28:58, Jason Gunthorpe wrote: > On Wed, Jul 24, 2019 at 09:05:53AM +0200, Christoph Hellwig wrote: > > Looks good: > > > > Reviewed-by: Christoph Hellwig > > > > One comment on a related cleanup: > > > > > list_for_each_entry(mirror, &hmm->mirrors, list) { > > > i

Re: [PATCH] drm/panfrost: Export all GPU feature registers

2019-07-24 Thread Alyssa Rosenzweig
> I think this ship already sailed when we added the first one with > GPU_ID. Also, at least etnaviv works the same way. Fair enough then! Reviewed-by: Alyssa Rosenzweig signature.asc Description: PGP signature

[Bug 111211] Kernel 5.2.2 introduced tearing, corruption and freezes with Raven Ridge 2500U

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111211 Bug ID: 111211 Summary: Kernel 5.2.2 introduced tearing, corruption and freezes with Raven Ridge 2500U Product: DRI Version: XOrg git Hardware: Other OS: A

[Bug 110347] pp_od_clk_voltage mV cap ignored

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110347 --- Comment #6 from bednarczyk.pa...@outlook.com --- just tried against the latest kernel git master with AMD's latest AMD GPU tree baked on top of that and my voltage is still shooting up to 1200m when the card raches P7: OD_SCLK: 0:852

Re: [PATCH v5 18/24] drm/ast: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Thomas Zimmermann
Am 24.07.19 um 15:59 schrieb Andrzej Pietrasiewicz: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz > --- > drivers/gpu/drm/ast/ast_mode.c | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > diff --git a/drivers/gpu/drm/a

Re: [PATCH v5 17/24] drm/mgag200: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Thomas Zimmermann
Am 24.07.19 um 15:59 schrieb Andrzej Pietrasiewicz: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz > --- > drivers/gpu/drm/mgag200/mgag200_mode.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/drivers/g

Re: [PATCH v5 02/24] drm: Add drm_connector_init() variant with ddc

2019-07-24 Thread Thomas Zimmermann
Hi Am 24.07.19 um 15:59 schrieb Andrzej Pietrasiewicz: > Allow passing ddc adapter pointer to the init function. Even if > drm_connector_init() sometime in the future decides to e.g. memset() all > connector fields to zeros, the newly added function ensures that at its > completion the ddc member

Re: [PATCH 03/12] drm: aspeed_gfx: Fix misuse of GENMASK macro

2019-07-24 Thread Joe Perches
On Tue, 2019-07-09 at 22:04 -0700, Joe Perches wrote: > Arguments are supposed to be ordered high then low. > > Signed-off-by: Joe Perches > --- > drivers/gpu/drm/aspeed/aspeed_gfx.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/aspeed/aspeed_gfx.h >

[Bug 110347] pp_od_clk_voltage mV cap ignored

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110347 --- Comment #5 from Térence Clastres --- Hi, Wouldn't this change merged to linux 5.3-rc1 related to this issue? https://github.com/torvalds/linux/commit/7d59c41b5150d0641203f91cfcaa0f9af5999cce ? -- You are receiving this mail because: You a

Re: [PATCH 1/3] drm/vram: Provide vmap and vunmap operations for GEM VRAM objects

2019-07-24 Thread Thomas Zimmermann
Hi Am 24.07.19 um 14:00 schrieb Daniel Vetter: > On Wed, Jul 24, 2019 at 1:30 PM Thomas Zimmermann wrote: >> >> The pattern of temporarily pinning and kmap-ing the BO's memory is >> common enough to justify helper functions that do and undo these >> operations. >> >> The implementation of vmap an

Re: [PATCH] drm/panfrost: Export all GPU feature registers

2019-07-24 Thread Rob Herring
On Wed, Jul 24, 2019 at 10:40 AM Alyssa Rosenzweig wrote: > > This is definitely helpful! > > My one concern is, supposing userspace really does need all of this > information, is it wasteful to have to do 30+ ioctls just to get this? > kbase had a single ioctl to grab all of the properties, wheth

Re: [PATCH] drm/panfrost: Export all GPU feature registers

2019-07-24 Thread Alyssa Rosenzweig
This is definitely helpful! My one concern is, supposing userspace really does need all of this information, is it wasteful to have to do 30+ ioctls just to get this? kbase had a single ioctl to grab all of the properties, whether userspace wanted them or not. I'm not sure if that's better -- the

Re: [PATCH] drm/panfrost: Export all GPU feature registers

2019-07-24 Thread Rob Herring
Adding Alyssa's Collabora email. On Wed, Jul 24, 2019 at 4:56 AM Steven Price wrote: > > Midgard/Bifrost GPUs have a bunch of feature registers providing details > of what the hardware supports. Panfrost already reads these, this patch > exports them all to user space so that the jobs created by

Re: [PATCH 16/60] dt-bindings: Add vendor prefix for LG Display

2019-07-24 Thread Rob Herring
On Sun, 7 Jul 2019 21:18:53 +0300, Laurent Pinchart wrote: > LG Display is an LCD display manufacturer. Originally formed as a joint > venture by LG Electronics and Philips Electronics, it was formerly known > as LG.Philips LCD, hence the DT vendor prefix lgphilips (which is > already in active us

Re: [PATCH 2/3] drm/vmwgfx: add local DRM_AUTH check for PRIME TO/FROM HANDLE

2019-07-24 Thread Deepak Singh Rawat
> Hi Deepak, > > As far as I can tell Thomas is on holidays for another 2+ weeks. > > Is there anyone else in the team who can review the VMWare patches of > this series? I tested the lot quickly, but additional confirmation > would > be appreciated. > > You can find the series via the "VMware G

Re: [PATCH v4 0/4] drm/via: drop use of deprecated headers drmP.h + drm_os_linux.h

2019-07-24 Thread Emil Velikov
On 2019/07/23, Sam Ravnborg wrote: > This is some janitorial updates to the via driver > that is required to get rid of deprecated headers > in the drm subsystem. > > The first three patches prepare for the removal of drmP.h. > The last patch remove use of drmP.h and replace with necessary > inclu

Re: [PATCH 2/3] drm/vmwgfx: add local DRM_AUTH check for PRIME TO/FROM HANDLE

2019-07-24 Thread Emil Velikov
On 2019/07/22, Emil Velikov wrote: > From: Emil Velikov > > Realistically no drivers, but vmwgfx care about the DRM_AUTH flag here. > > Follow-up work in this driver will properly isolate primary clients from > different master realms, thus we'll no longer need to parse _any_ ioctl > flags. > >

[PATCH 2/3] dt-bindings: display/bridge: Add binding for IMX NWL mipi dsi host controller

2019-07-24 Thread Guido Günther
The Northwest Logic MIPI DSI IP core can be found in NXPs i.MX8 SoCs. Signed-off-by: Guido Günther --- .../bindings/display/bridge/imx-nwl-dsi.txt | 89 +++ 1 file changed, 89 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/imx-nwl-dsi.txt d

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

2019-07-24 Thread Guido Günther
This adds initial support for the NWL MIPI DSI Host controller found on i.MX8 SoCs. It adds support for the i.MX8MQ but the same IP core can also be found on e.g. i.MX8QXP. I added the necessary hooks to support other imx8 variants but since I only have imx8mq boards to test I omitted the platform

[PATCH 1/3] arm64: imx8mq: add imx8mq iomux-gpr field defines

2019-07-24 Thread Guido Günther
This adds all the gpr registers and the define needed for selecting the input source in the imx-nwl drm bridge. Signed-off-by: Guido Günther --- include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h | 62 1 file changed, 62 insertions(+) create mode 100644 include/linux/mfd/syscon/i

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

2019-07-24 Thread Guido Günther
This adds initial support for the NWL MIPI DSI Host controller found on i.MX8 SoCs. It adds support for the i.MX8MQ but the same IP can be found on e.g. the i.MX8QXP. It has been tested on the Librem 5 devkit using mxsfb. Signed-off-by: Guido Günther Co-developed-by: Robert Chiras --- drivers

Re: [PATCH v6 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-07-24 Thread Andrew F. Davis
On 7/24/19 2:59 AM, Christoph Hellwig wrote: > On Mon, Jul 22, 2019 at 10:04:06PM -0700, John Stultz wrote: >> Apologies, I'm not sure I'm understanding your suggestion here. >> dma_alloc_contiguous() does have some interesting optimizations >> (avoiding allocating single page from cma), though its

Re: [PATCH v2 4/8] drm/etnaviv: replace MMU flush marker with flush sequence

2019-07-24 Thread Philipp Zabel
On Fri, 2019-07-05 at 19:17 +0200, Lucas Stach wrote: > If a MMU is shared between multiple GPUs, all of them need to flush their > TLBs, so a single marker that gets reset on the first flush won't do. > Replace the flush marker with a sequence number, so that it's possible to > check if the TLB is

Re: [PATCH v2 3/8] drm/etnaviv: share a single cmdbuf suballoc region across all GPUs

2019-07-24 Thread Philipp Zabel
On Fri, 2019-07-05 at 19:17 +0200, Lucas Stach wrote: > There is no need for each GPU to have it's own cmdbuf suballocation > region. Only allocate a single one for the the etnaviv virtual device > and share it across all GPUs. > > As the suballoc space is now potentially shared by more hardware j

Re: [PATCH v6 2/5] dma-buf: heaps: Add heap helpers

2019-07-24 Thread Andrew F. Davis
On 7/24/19 2:55 AM, Christoph Hellwig wrote: > On Tue, Jul 23, 2019 at 01:09:55PM -0700, Rob Clark wrote: >> On Mon, Jul 22, 2019 at 9:09 PM John Stultz wrote: >>> >>> On Thu, Jul 18, 2019 at 3:06 AM Christoph Hellwig >>> wrote: Is there any exlusion between mmap / vmap and the device

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #67 from Sylvain BERTRAND --- > ... > Vulkan/DXVK The bugs may be in wine/DXVK then. You should report to a bug to them and link this bug to theirs. -- You are receiving this mail because: You are the assignee for the bug.

Re: [Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-24 Thread sylvain . bertrand
> ... > Vulkan/DXVK The bugs may be in wine/DXVK then. You should report to a bug to them and link this bug to theirs. ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH] drm/panel: check failure cases in the probe func

2019-07-24 Thread Navid Emamdoost
The following function calls may fail and return NULL, so the null check is added. of_graph_get_next_endpoint of_graph_get_remote_port_parent of_graph_get_remote_port Signed-off-by: Navid Emamdoost --- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 9 + 1 file changed, 9 inserti

Re: [RFC] Expanding drm_mode_modeinfo flags

2019-07-24 Thread Sean Paul
On Mon, Jul 22, 2019 at 04:50:43PM -0700, Jeykumar Sankaran wrote: > On 2019-07-19 07:29, Sean Paul wrote: > > On Fri, Jul 19, 2019 at 05:15:28PM +0300, Ville Syrjälä wrote: > > > On Fri, Jul 19, 2019 at 09:55:58AM -0400, Sean Paul wrote: > > > > On Fri, Jul 19, 2019 at 11:05:53AM +0200, Daniel Vet

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #66 from Hadet --- I don't think it's faulty hardware in any of our cases to be perfectly honest, it's a bad instruction set, this didn't happen with older kernels or firmware and the issue now is there are so few of us with Vega car

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #65 from weden...@yandex.ru --- (In reply to Sylvain BERTRAND from comment #62) > unstable power supply lines to the gpu if overheating is excluded? It's not overheating in my case, but my PSU is pretty old (I'm waiting for component

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

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/i915/display/intel_hdmi.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/inte

Re: [PATCH 1/3] RFT: drm/pl111: Support grayscale

2019-07-24 Thread Daniel Vetter
On Wed, Jul 24, 2019 at 2:52 PM Linus Walleij wrote: > > On Tue, Jul 23, 2019 at 11:07 PM Daniel Vetter wrote: > > On Tue, Jul 23, 2019 at 7:25 PM Adam Jackson wrote: > > > > > > On Tue, 2019-07-23 at 15:37 +0200, Linus Walleij wrote: > > > > Migrating the TI nspire calculators to use the PL111

[PATCH v5 23/24] drm/radeon: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/radeon/radeon_connectors.c | 141 +++-- 1 file changed, 105 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/r

[PATCH v5 22/24] drm/amdgpu: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- .../gpu/drm/amd/amdgpu/amdgpu_connectors.c| 95 ++- 1 file changed, 69 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c b/drivers/gpu/dr

[PATCH v5 21/24] drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/ti-tfp410.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp41

[PATCH v5 20/24] drm/bridge: dw-hdmi: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 46 --- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bri

[PATCH v5 19/24] drm/bridge: dumb-vga-dac: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c b/drivers/gpu/drm/bridge/du

[PATCH v5 17/24] drm/mgag200: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/mgag200/mgag200_mode.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.

[PATCH v5 18/24] drm/ast: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/ast/ast_mode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index c792362024a5..1c8

[PATCH v5 16/24] drm: sti: Provide ddc symlink in hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/sti/sti_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index f03d617edc4c..33d06e0a916

[PATCH v5 14/24] drm: zte: Provide ddc symlink in vga connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/zte/zx_vga.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_vga.c b/drivers/gpu/drm/zte/zx_vga.c index 9b6

[PATCH v5 15/24] drm/tilcdc: Provide ddc symlink in connector sysfs directory

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

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

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/zte/zx_hdmi.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_hdmi.c b/drivers/gpu/drm/zte/zx_hdmi.c index

[PATCH v5 12/24] drm/vc4: Provide ddc symlink in connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/vc4/vc4_hdmi.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index ee

[PATCH v5 09/24] drm/tegra: Provide ddc symlink in output connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/tegra/drm.h| 1 - drivers/gpu/drm/tegra/hdmi.c | 7 --- drivers/gpu/drm/tegra/output.c | 12 ++-- drivers/gpu/drm/tegra/sor.c| 13 +++-- 4 files changed

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

2019-07-24 Thread Will Deacon
Hi Andrey, On Tue, Jul 23, 2019 at 08:03:29PM +0200, Andrey Konovalov wrote: > On Tue, Jul 23, 2019 at 7:59 PM Andrey Konovalov > wrote: > > > > === Overview > > > > arm64 has a feature called Top Byte Ignore, which allows to embed pointer > > tags into the top byte of each pointer. Userspace pr

[PATCH v5 11/24] drm/imx: imx-tve: Provide ddc symlink in connector's sysfs

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/imx/imx-tve.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c index 649515868f86..e25df

[PATCH v5 10/24] drm/imx: imx-ldb: Provide ddc symlink in connector's sysfs

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/imx/imx-ldb.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c index de62a4cd482

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

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- 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_connector.c b/drivers/gpu/drm/msm/hdmi/hdmi_connector

[PATCH v5 08/24] drm/mediatek: Provide ddc symlink in hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c inde

[PATCH v5 07/24] drm/sun4i: hdmi: Provide ddc symlink in sun4i hdmi connector sysfs directory

2019-07-24 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/sun4i/sun4i_hdmi.h | 1 - drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 21 +++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/sun4i

  1   2   >