Re: [PATCH 5/5] drm: drop DRM_AUTH from PRIME_TO/FROM_HANDLE ioctls

2019-11-08 Thread Emil Velikov
On Fri, 1 Nov 2019 at 13:05, Emil Velikov wrote: > > From: Emil Velikov > > As mentioned by Christian, for drivers which support only primary nodes > this changes the returned error from -EACCES into -EOPNOTSUPP/-ENOSYS. > > For others, this check in particular will be a noop. So let's remove it

Re: [PATCH 4/5] drm/panfrost: remove DRM_AUTH and respective comment

2019-11-08 Thread Emil Velikov
On Fri, 1 Nov 2019 at 13:34, Steven Price wrote: > > On 01/11/2019 13:03, Emil Velikov wrote: > > From: Emil Velikov > > > > As of earlier commit we have address space separation. Yet we forgot to > > remove the respective comment and DRM_AUTH in the ioctl declaration. > > > > Cc: Tomeu Vizoso >

[Bug 203471] Tearing on Raven Ridge and RX560X PRIME setup even with Vsync enabled

2019-11-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203471 Haxk20 (haxk...@gmail.com) changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|

[PATCH 4/4] fbdev: Unexport unlink_framebuffer()

2019-11-08 Thread Thomas Zimmermann
There are no external callers of unlink_framebuffer() left. Make the function an internal interface. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/core/fbmem.c | 3 +-- include/linux/fb.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/video/

[PATCH 1/4] drm/udl: Replace fbdev code with generic emulation

2019-11-08 Thread Thomas Zimmermann
The udl driver can use the generic fbdev implementation. Convert it. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/udl/udl_drv.c | 4 +- drivers/gpu/drm/udl/udl_drv.h | 5 - drivers/gpu/drm/udl/udl_fb.c | 270 +- drivers/gpu/drm/udl/udl_main.c

[PATCH 0/4] drm/udl: Replace fbdev by generic emulation

2019-11-08 Thread Thomas Zimmermann
The udl driver can use the generic fbdev emulation. After conversion, a number of cleanups can be applied. The fbdev conversion is in patch 1. The original fbdev code in udl mapped the framebuffer's GEM object memory unconditionally, and unmapped the memory in the object's free() function. The res

[PATCH 2/4] drm/udl: Remove udl implementation of GEM's free_object()

2019-11-08 Thread Thomas Zimmermann
Udl used to have a custom implementation for free_object() of struct drm_gem_object_funcs. It unmapped the memory buffer of the fbdev emulation. With the switch to generic fbdev emulation, this is now handled by the fbdev code internally. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/udl/

[PATCH 3/4] drm/fb-helper: Remove drm_fb_helper_unlink_fbi()

2019-11-08 Thread Thomas Zimmermann
There are no callers of drm_fb_helper_unlink_fbi() left. Remove the function. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_fb_helper.c | 16 +--- include/drm/drm_fb_helper.h | 6 -- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/gpu/drm/dr

Re: [PATCH v3 0/4] drm/udl: Convert to SHMEM

2019-11-08 Thread Thomas Zimmermann
Hi Am 08.11.19 um 13:06 schrieb Böszörményi Zoltán: > Hi! > > 2019. 11. 08. 8:36 keltezéssel, Thomas Zimmermann írta: >> Hi Böszörményi > > FYI, it's Zoltan, as it's my first name. :-) Sorry. > >> Am 07.11.19 um 16:10 schrieb Böszörményi Zoltán: >> Have you tried to increase the buffer size?

Re: [PATCH v3 0/4] drm/udl: Convert to SHMEM

2019-11-08 Thread Böszörményi Zoltán
Hi! 2019. 11. 08. 8:36 keltezéssel, Thomas Zimmermann írta: Hi Böszörményi FYI, it's Zoltan, as it's my first name. :-) Am 07.11.19 um 16:10 schrieb Böszörményi Zoltán: Have you tried to increase the buffer size? There's a command-line option to control this setting. [1] Yes, I did, it did

Re: [PATCH v3 2/7] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Laurent Pinchart
Hi Jacopo, On Fri, Nov 08, 2019 at 12:37:37PM +0100, Jacopo Mondi wrote: > On Fri, Nov 08, 2019 at 01:06:58PM +0200, Laurent Pinchart wrote: > > On Fri, Nov 08, 2019 at 10:39:27AM +0100, Jacopo Mondi wrote: > > > On Fri, Nov 08, 2019 at 09:22:56AM +, Fabrizio Castro wrote: > > > > On 07 Novemb

[PATCH AUTOSEL 4.19 085/205] qxl: fix null-pointer crash during suspend

2019-11-08 Thread Sasha Levin
From: Peter Wu [ Upstream commit 7948a2b15873319d1bff4d37c09b9f2bf87b9021 ] "crtc->helper_private" is not initialized by the QXL driver and thus the "crtc_funcs->disable" call would crash (resulting in suspend failure). Fix this by converting the suspend/resume functions to use the drm_mode_conf

Re: [PATCH 4/5] power: avs: smartreflex: Remove superfluous cast in debugfs_create_file() call

2019-11-08 Thread Greg Kroah-Hartman
On Fri, Nov 08, 2019 at 12:24:42PM +0100, Rafael J. Wysocki wrote: > On Monday, October 21, 2019 4:51:48 PM CET Geert Uytterhoeven wrote: > > There is no need to cast a typed pointer to a void pointer when calling > > a function that accepts the latter. Remove it, as the cast prevents > > further

Re: [PATCH v3 2/7] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Jacopo Mondi
Hi Laurent, On Fri, Nov 08, 2019 at 01:06:58PM +0200, Laurent Pinchart wrote: > Hello Jacopo, > > On Fri, Nov 08, 2019 at 10:39:27AM +0100, Jacopo Mondi wrote: > > On Fri, Nov 08, 2019 at 09:22:56AM +, Fabrizio Castro wrote: > > > On 07 November 2019 20:35 Laurent Pinchart wrote: > > > > On Th

Re: [PATCH 4/5] power: avs: smartreflex: Remove superfluous cast in debugfs_create_file() call

2019-11-08 Thread Rafael J. Wysocki
On Monday, October 21, 2019 4:51:48 PM CET Geert Uytterhoeven wrote: > There is no need to cast a typed pointer to a void pointer when calling > a function that accepts the latter. Remove it, as the cast prevents > further compiler checks. > > Signed-off-by: Geert Uytterhoeven Greg, have you ta

Re: [PATCH v3 2/7] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Laurent Pinchart
Hello Jacopo, On Fri, Nov 08, 2019 at 10:39:27AM +0100, Jacopo Mondi wrote: > On Fri, Nov 08, 2019 at 09:22:56AM +, Fabrizio Castro wrote: > > On 07 November 2019 20:35 Laurent Pinchart wrote: > > > On Thu, Nov 07, 2019 at 08:10:58PM +, Fabrizio Castro wrote: > > > > lvds-encoder.c impleme

Re: [PATCH v3 2/7] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Laurent Pinchart
Hi Fabrizio, On Fri, Nov 08, 2019 at 09:22:56AM +, Fabrizio Castro wrote: > On 07 November 2019 20:35 Laurent Pinchart wrote: > > On Thu, Nov 07, 2019 at 08:10:58PM +, Fabrizio Castro wrote: > > > lvds-encoder.c implementation is also suitable for LVDS decoders, > > > not just LVDS encoder

Re: [PATCH v3 1/7] dt-bindings: display: bridge: Convert lvds-transmitter binding to json-schema

2019-11-08 Thread Laurent Pinchart
Hi Fabrizio, On Fri, Nov 08, 2019 at 09:15:02AM +, Fabrizio Castro wrote: > On 07 November 2019 20:21 Laurent Pinchart wrote: > > On Thu, Nov 07, 2019 at 08:10:57PM +, Fabrizio Castro wrote: > > > Convert the lvds-transmitter binding to DT schema format using > > > json-schema. > > > > > >

[Bug 205393] [amdgpu powerplay] vega10: custom pp_table, AVFS accidentally reenabled after display powersave

2019-11-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205393 --- Comment #10 from tempel.jul...@gmail.com --- I'd try out patches if you want. :) Though it's probably not really important, as the regular overdrive functionality works fine with Polaris. Much more important would be situation for Navi, as re

[Bug 205393] [amdgpu powerplay] vega10: custom pp_table, AVFS accidentally reenabled after display powersave

2019-11-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205393 --- Comment #9 from har...@gmx.de --- (In reply to tempel.julian from comment #7) > Is this really only relevant for Vega 10? > Also on Polaris voltage is reset to default when using a customized > powerplay table e.g. after a modeline switch (hap

Re: [PATCH v2] drm/i915: make more headers self-contained

2019-11-08 Thread Chris Wilson
Quoting Masahiro Yamada (2019-11-08 09:41:42) > The headers in the gem/selftests/, gt/selftests, gvt/, selftests/ > directories have never been compile-tested, but it would be possible > to make them self-contained. > > This commit only addresses missing and forward > struct declarations. > > Si

Re: [PATCHv2 1/4] drm/arm: Factor out generic afbc helpers

2019-11-08 Thread Brian Starkey
Hi Daniel, On Thu, Nov 07, 2019 at 08:28:08PM +0100, Daniel Vetter wrote: > On Thu, Nov 07, 2019 at 05:49:14PM +, Brian Starkey wrote: > > Hi Daniel, > > > > On Thu, Nov 07, 2019 at 06:32:01PM +0100, Daniel Vetter wrote: > > > On Thu, Nov 7, 2019 at 6:20 PM Brian Starkey > > > wrote: > > >

[Bug 110580] [CI][BAT] igt@.* - skip - Chamelium ports not enabled

2019-11-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110580 --- Comment #62 from Lakshmi --- *** Bug 112232 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri

Re: [PATCH v3 2/7] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Jacopo Mondi
Hello, On Fri, Nov 08, 2019 at 09:22:56AM +, Fabrizio Castro wrote: > Hello Laurent, > > Thank you for your feedback! > > > From: devicetree-ow...@vger.kernel.org > > On Behalf Of Laurent Pinchart > > Sent: 07 November 2019 20:35 > > Subject: Re: [PATCH v3 2/7] drm/bridge: Repurpose lvds-enc

Re: [PATCH v5 0/7][rebased] Add anx6345 DP/eDP bridge for Olimex Teres-I

2019-11-08 Thread Maxime Ripard
On Mon, Nov 04, 2019 at 11:34:23AM +0100, Torsten Duwe wrote: > On Wed, Nov 06, 2019 at 04:21:31PM +0100, Maxime Ripard wrote: > > > > Please resend the whole series rebased on top of either linux-next or > > drm-misc-next. > > Here it is. Applies cleanly to both, modulo those patches already in.

Re: [PATCH 1/4] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Geert Uytterhoeven
Hi Fabrizio, On Mon, Nov 4, 2019 at 11:42 AM Fabrizio Castro wrote: > > From: Neil Armstrong > > Sent: 04 November 2019 09:18 > > Subject: Re: [PATCH 1/4] drm/bridge: Repurpose lvds-encoder.c > > > > On 30/10/2019 14:43, Fabrizio Castro wrote: > > > lvds-encoder.c implementation is also suitable

Re: [PATCH 1/2] drm/i915: change to_mock() to an inline function

2019-11-08 Thread Chris Wilson
Quoting Masahiro Yamada (2019-11-08 05:13:55) > Since this function is defined in a header file, it should be > 'static inline' instead of 'static'. > > Signed-off-by: Masahiro Yamada Reviewed-by: Chris Wilson -Chris ___ dri-devel mailing list dri-deve

Re: [PATCH 0/6] drm: trace: Introduce drm_trace() and instrument drm_atomic.c

2019-11-08 Thread Daniel Vetter
On Fri, Nov 08, 2019 at 09:46:48AM +0100, Daniel Vetter wrote: > On Fri, Nov 08, 2019 at 10:16:59AM +0200, Pekka Paalanen wrote: > > On Thu, 7 Nov 2019 16:02:59 -0500 > > Sean Paul wrote: > > > > > From: Sean Paul > > > > > > Hey all, > > > I'm back with another trace events patchset. My first

Re: [PATCH 0/6] drm: trace: Introduce drm_trace() and instrument drm_atomic.c

2019-11-08 Thread Daniel Vetter
On Fri, Nov 08, 2019 at 10:16:59AM +0200, Pekka Paalanen wrote: > Is it ok to build userspace to rely on these trace events during normal > operations, e.g. for continuous adjustment of timings/timers? Aside discussion on this: If we add this (I think userspace might want some information about th

Re: [PATCH 0/6] drm: trace: Introduce drm_trace() and instrument drm_atomic.c

2019-11-08 Thread Daniel Vetter
On Fri, Nov 08, 2019 at 10:16:59AM +0200, Pekka Paalanen wrote: > On Thu, 7 Nov 2019 16:02:59 -0500 > Sean Paul wrote: > > > From: Sean Paul > > > > Hey all, > > I'm back with another trace events patchset. My first attempt [1] went > > better than expected, with enthusiasm for the idea and di

Re: [PATCH v3 7/7] ARM: shmobile_defconfig: Enable support for panels from EDT

2019-11-08 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Nov 7, 2019 at 9:56 PM Laurent Pinchart wrote: > On Thu, Nov 07, 2019 at 08:11:03PM +, Fabrizio Castro wrote: > > The iwg20d comes with an LCD panel from Emerging Display > > Technologies Corporation (EDT), therefore enable what's > > required to support it. > > > > Signed

Re: [PATCH 0/3] allow DRM drivers to limit creation of blobs

2019-11-08 Thread Daniel Vetter
On Thu, Nov 07, 2019 at 02:39:11PM -0500, Steve Cohen wrote: > Fuzzers used in Android compliance testing repeatedly call the > create blob IOCTL which eventually exhausts the system memory. > This series adds a hook which allows drivers to impose their own > limitations on the size and/or number o

Re: [PATCH 2/2] drm/i915: make more headers self-contained

2019-11-08 Thread Chris Wilson
Quoting Masahiro Yamada (2019-11-08 05:42:33) > On Fri, Nov 8, 2019 at 2:15 PM Masahiro Yamada > wrote: > > > > The headers in the gem/selftests/, gt/selftests, gvt/, selftests/ > > directories have never been compile-tested, but it would be possible > > to make them self-contained. > > > > This c

Re: [PATCH 0/6] drm: trace: Introduce drm_trace() and instrument drm_atomic.c

2019-11-08 Thread Pekka Paalanen
On Thu, 7 Nov 2019 16:02:59 -0500 Sean Paul wrote: > From: Sean Paul > > Hey all, > I'm back with another trace events patchset. My first attempt [1] went > better than expected, with enthusiasm for the idea and distain for the > implementation. > > As promised, I went through and added prope

[PATCH] drm/qxl: Complete exception handling in qxl_device_init()

2019-11-08 Thread Markus Elfring
From: Markus Elfring Date: Thu, 7 Nov 2019 18:05:08 +0100 A coccicheck run provided information like the following. drivers/gpu/drm/qxl/qxl_kms.c:295:1-7: ERROR: missing iounmap; ioremap on line 178 and execution via conditional on line 185 Generated by: scripts/coccinelle/free/iounmap.cocci A

Re: [PATCH v3 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2019-11-08 Thread Pi-Hsun Shih
Hi, On Tue, Oct 15, 2019 at 5:52 PM Xin Ji wrote: > > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. > > The ANX7625 can support both USB Type-C PD feature and MIPI DSI/DPI > to DP feature. This driver o

[PATCH 2/2] drm/i915: make more headers self-contained

2019-11-08 Thread Masahiro Yamada
The headers in the gem/selftests/, gt/selftests, gvt/, selftests/ directories have never been compile-tested, but it would be possible to make them self-contained. This commit only addresses missing and forward struct declarations. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/i915/gem/s

Re: [PATCH v2 1/8] RFC: dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2019-11-08 Thread H. Nikolaus Schaller
> Am 07.11.2019 um 16:54 schrieb Tony Lindgren : > > * H. Nikolaus Schaller [191107 11:07]: >> +- const: "ti,am335x-sgx530-125", "img,sgx530-125", "img,sgx530", >> "img,sgx5" > > This should be without the x, maybe use the earliest one here > for "ti,am3352-sgx530-125" like we have for

Re: [PATCH v2 02/15] mm/mmu_notifier: add an interval tree notifier

2019-11-08 Thread Jason Gunthorpe
On Wed, Nov 06, 2019 at 09:08:07PM -0500, Jerome Glisse wrote: > > > > Extra credit: IMHO, this clearly deserves to all be in a new > > mmu_range_notifier.h > > header file, but I know that's extra work. Maybe later as a follow-up patch, > > if anyone has the time. > > The range notifier should

[PATCH v2 1/5] drm/bridge/synopsys: dsi: move phy_ops callbacks around panel enablement

2019-11-08 Thread Heiko Stuebner
If implementation-specific phy_ops need to be defined they probably should be enabled before trying to talk to the panel and disabled only after the panel was disabled. Right now they are enabled last and disabled first, so might make it impossible to talk to some panels - example for this being t

Re: [PATCH V11 2/6] modpost: add support for mdev class id

2019-11-08 Thread Kirti Wankhede
On 11/7/2019 8:41 PM, Jason Wang wrote: Add support to parse mdev class id table. Reviewed-by: Parav Pandit Reviewed-by: Cornelia Huck Signed-off-by: Jason Wang Reviewed-by: Kirti Wankhede Thanks, Kirti --- drivers/vfio/mdev/vfio_mdev.c | 2 ++ scripts/mod/devicetable-offsets.

[PATCH v3 5/7] drm/panel: panel-simple: Add connector type for etm0700g0dh6

2019-11-08 Thread Fabrizio Castro
Add connector type for the etm0700g0dh6 from Emerging Display Technologies (EDT). Signed-off-by: Fabrizio Castro --- v2->v3: * New patch --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/pan

Re: [PATCH v2 1/8] RFC: dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2019-11-08 Thread Tony Lindgren
* H. Nikolaus Schaller [191107 11:07]: > +- const: "ti,am335x-sgx530-125", "img,sgx530-125", "img,sgx530", > "img,sgx5" This should be without the x, maybe use the earliest one here for "ti,am3352-sgx530-125" like we have for "ti,am3352-uart". We could use "ti,am3-sgx530-125" but that c

[PATCH v2 2/5] dt-bindings: display: rockchip-dsi: document external phys

2019-11-08 Thread Heiko Stuebner
Some dw-mipi-dsi instances in Rockchip SoCs use external dphys. In these cases the needs clock will also be generated externally so these don't need the ref-clock as well. Signed-off-by: Heiko Stuebner --- .../bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 7 +-- 1 file changed, 5

Re: [PATCH 2/2] drm/i915: make more headers self-contained

2019-11-08 Thread Masahiro Yamada
On Fri, Nov 8, 2019 at 2:15 PM Masahiro Yamada wrote: > > The headers in the gem/selftests/, gt/selftests, gvt/, selftests/ > directories have never been compile-tested, but it would be possible > to make them self-contained. > > This commit only addresses missing and forward > struct declaration

[PATCH v2 3/5] drm/rockchip: add ability to handle external dphys in mipi-dsi

2019-11-08 Thread Heiko Stuebner
While the common case is that the dsi controller uses an internal dphy, accessed through the phy registers inside the dsi controller, there is also the possibility to use a separate dphy from a different vendor. One such case is the Rockchip px30 that uses a Innosilicon Mipi dphy, so add the suppo

Re: [Freedreno] drm/msm: 'pp done time out' errors after async commit changes

2019-11-08 Thread Jeffrey Hugo
On Thu, Nov 7, 2019 at 9:17 AM Rob Clark wrote: > > On Thu, Nov 7, 2019 at 3:10 AM Brian Masney wrote: > > > > On Wed, Nov 06, 2019 at 08:58:59AM -0800, Rob Clark wrote: > > > On Wed, Nov 6, 2019 at 8:47 AM Jeffrey Hugo > > > wrote: > > > > > > > > On Wed, Nov 6, 2019 at 9:30 AM Rob Clark wrot

[PATCH v3 0/7] Add LCD panel support to iwg20d

2019-11-08 Thread Fabrizio Castro
The iW-RainboW-G20D-Qseven RZ/G1M,G1N Qseven Development Platform comes with a 7" capacitive display kit from Emerging Display Technologies Corporation (EDT). This series adds all that's necessary for supporting it. Thanks, Fab v2->v3: * Split the dt-schema patch in two pathes as per Rob's commen

Re: [PATCH V11 3/6] mdev: introduce device specific ops

2019-11-08 Thread Kirti Wankhede
On 11/7/2019 8:41 PM, Jason Wang wrote: Currently, except for the create and remove, the rest of mdev_parent_ops is designed for vfio-mdev driver only and may not help for kernel mdev driver. With the help of class id, this patch introduces device specific callbacks inside mdev_device structure

RE: [PATCH v2 2/4] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-08 Thread Fabrizio Castro
Hello Rob, Thank you for your feedback! > From: Rob Herring > Sent: 05 November 2019 17:08 > Subject: Re: [PATCH v2 2/4] dt-bindings: display: bridge: Repurpose > lvds-encoder > > On Tue, Nov 5, 2019 at 3:33 AM Fabrizio Castro > wrote: > > > > Hello Rob, > > > > Thank you for your feedback! >

[PATCH v2 4/5] dt-bindings: display: rockchip-dsi: add px30 compatible

2019-11-08 Thread Heiko Stuebner
The px30 SoC also uses a dw-mipi-dsi controller, so add the compatible value for it. Signed-off-by: Heiko Stuebner --- .../bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/

Re: [PATCH] drm/rockchip: use DRM_DEV_ERROR for log output

2019-11-08 Thread Wambui Karuga
On Thu, Nov 07, 2019 at 08:38:51AM -0500, Sean Paul wrote: > On Thu, Nov 07, 2019 at 01:54:22AM -0800, Joe Perches wrote: > > On Thu, 2019-11-07 at 12:29 +0300, Wambui Karuga wrote: > > > Replace the use of the dev_err macro with the DRM_DEV_ERROR > > > DRM helper macro. > > > > The commit message

Re: [PATCH V11 1/6] mdev: class id support

2019-11-08 Thread Kirti Wankhede
On 11/7/2019 8:41 PM, Jason Wang wrote: Mdev bus only supports vfio driver right now, so it doesn't implement match method. But in the future, we may add drivers other than vfio, the first driver could be virtio-mdev. This means we need to add device class id support in bus match method to pair

[PATCHv1 1/2] drm/panel: simple: Add support for AUO G121EAN01.4 panel

2019-11-08 Thread Sebastian Reichel
Add timings for the AUO G121EAN01.4 panel. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 28fa6ba7b767..46

[PATCH v2 0/5] dw-mipi-dsi support for Rockchip px30

2019-11-08 Thread Heiko Stuebner
This series adds support for the dsi controller on the px30. The main difference to previous incarnations is the use of an external dphy for the output. changes in v2: - drop handling the dphy-pll manually, instead use the regular phy configuration operations, thanks Laurent for the suggestion -

[PATCH] drm/rockchip: use DRM_DEV_ERROR for log output

2019-11-08 Thread Wambui Karuga
Replace the use of the dev_err macro with the DRM_DEV_ERROR DRM helper macro. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/ro

Re: [Freedreno] drm/msm: 'pp done time out' errors after async commit changes

2019-11-08 Thread Rob Clark
On Thu, Nov 7, 2019 at 9:40 AM Jeffrey Hugo wrote: > > On Thu, Nov 7, 2019 at 9:17 AM Rob Clark wrote: > > > > On Thu, Nov 7, 2019 at 3:10 AM Brian Masney wrote: > > > > > > On Wed, Nov 06, 2019 at 08:58:59AM -0800, Rob Clark wrote: > > > > On Wed, Nov 6, 2019 at 8:47 AM Jeffrey Hugo > > > > w

[PATCH v2 1/8] RFC: dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2019-11-08 Thread H. Nikolaus Schaller
The Imagination PVR/SGX GPU is part of several SoC from multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo and others. With this binding, we describe how the SGX processor is interfaced to the SoC (registers, interrupt etc.). Clock, Reset and power management should be handled by a par

[PATCH v3 6/7] ARM: dts: iwg20d-q7-common: Add LCD support

2019-11-08 Thread Fabrizio Castro
The iwg20d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Fabrizio Castro --- v2->v3: * No change v1->v2: * No change --- arch/arm/boot/dts/iwg20d-q7-common.dtsi | 85 arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi | 1 - 2 fil

[PATCH v3 3/7] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-08 Thread Fabrizio Castro
In an effort to repurpose lvds-encoder.c to also serve the function of LVDS decoders, we ended up defining a new "generic" compatible string, therefore adapt the dt-bindings to fit the new purpose. Signed-off-by: Fabrizio Castro --- v2->v3: * Extracted conversion to lvds-codec as per Rob's comme

Re: [Freedreno] drm/msm: 'pp done time out' errors after async commit changes

2019-11-08 Thread Brian Masney
On Wed, Nov 06, 2019 at 08:58:59AM -0800, Rob Clark wrote: > On Wed, Nov 6, 2019 at 8:47 AM Jeffrey Hugo wrote: > > > > On Wed, Nov 6, 2019 at 9:30 AM Rob Clark wrote: > > > > > > On Wed, Nov 6, 2019 at 1:13 AM Brian Masney wrote: > > > > > > > > On Tue, Nov 05, 2019 at 08:23:27AM -0800, Rob Cla

[PATCH 1/2] drm/i915: change to_mock() to an inline function

2019-11-08 Thread Masahiro Yamada
Since this function is defined in a header file, it should be 'static inline' instead of 'static'. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/selftests/mock_dmab

Re: [PATCH 1/2] drm: replace Compliance/Margin magic numbers with PCI_EXP_LNKCTL2 definitions

2019-11-08 Thread Bjorn Helgaas
On Thu, Nov 7, 2019 at 4:30 PM Ilia Mirkin wrote: > > On Thu, Nov 7, 2019 at 5:21 PM Bjorn Helgaas wrote: > > diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h > > index 29d6e93fd15e..03446be8a7be 100644 > > --- a/include/uapi/linux/pci_regs.h > > +++ b/include/uapi/linux

Re: WARNING in dma_buf_vunmap

2019-11-08 Thread syzbot
syzbot suspects this bug was fixed by commit: commit 62dcb4f41836bd3c44b5b651bb6df07ea4cb1551 Author: Hans Verkuil Date: Thu Nov 8 12:23:37 2018 + media: vb2: check memory model for VIDIOC_CREATE_BUFS bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=116af11c60 start c

Re: [PATCH v2 1/8] RFC: dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2019-11-08 Thread H. Nikolaus Schaller
> Am 07.11.2019 um 15:35 schrieb Rob Herring : > > On Thu, Nov 7, 2019 at 5:06 AM H. Nikolaus Schaller > wrote: >> >> The Imagination PVR/SGX GPU is part of several SoC from >> multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo >> and others. >> >> With this binding, we describe ho

[PATCH v2 7/8] ARM: DTS: omap5: add sgx gpu child node

2019-11-08 Thread H. Nikolaus Schaller
and add interrupt. Tested on Pyra-Handheld. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 1fb7937638f0..333da4788088 100644 --- a

Re: [PATCH v2 02/15] mm/mmu_notifier: add an interval tree notifier

2019-11-08 Thread Jason Gunthorpe
On Thu, Nov 07, 2019 at 04:04:08PM -0500, Jerome Glisse wrote: > On Thu, Nov 07, 2019 at 08:11:06PM +, Jason Gunthorpe wrote: > > On Wed, Nov 06, 2019 at 09:08:07PM -0500, Jerome Glisse wrote: > > > > > > > > > > Extra credit: IMHO, this clearly deserves to all be in a new > > > > mmu_range_

[PATCH v2 5/5] drm/rockchip: dsi: add px30 support

2019-11-08 Thread Heiko Stuebner
Add the compatible and GRF definitions for the PX30 soc. Signed-off-by: Heiko Stuebner --- .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/rockchip/dw-mipi-ds

[PATCH v3 1/7] dt-bindings: display: bridge: Convert lvds-transmitter binding to json-schema

2019-11-08 Thread Fabrizio Castro
Convert the lvds-transmitter binding to DT schema format using json-schema. Signed-off-by: Fabrizio Castro --- v2->v3: * Extracted conversion to dt-schema as per Rob's comment v1->v2: * Converted to dt-schema as per Neil's comment --- .../bindings/display/bridge/lvds-transmitter.txt | 66

Re: [PATCH 2/3] drm/rockchip: add ability to handle external dphys in mipi-dsi

2019-11-08 Thread Heiko Stuebner
Hi Laurent, Am Mittwoch, 6. November 2019, 14:05:57 CET schrieb Laurent Pinchart: > On Wed, Nov 06, 2019 at 12:26:49PM +0100, Heiko Stuebner wrote: > > While the common case is that the dsi controller uses an internal dphy, > > accessed through the phy registers inside the dsi controller, there is

[PATCHv1 2/2] drm/panel: simple: Add support for AUO G156XTN01.0 panel

2019-11-08 Thread Sebastian Reichel
Add timings for the AUO G156XTN01.0 panel. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 46ca59db6819..49

[PATCH v2 6/8] ARM: DTS: omap4: add sgx gpu child node

2019-11-08 Thread H. Nikolaus Schaller
and add interrupt. Since omap4420/30/60 and omap4470 come with different SGX variants we need to introduce a new omap4470.dtsi. If an omap4470 board does not want to use SGX it is no problem to still include omap4460.dtsi. Tested on PandaBoard ES. Signed-off-by: H. Nikolaus Schaller --- arch/a

[PATCH 0/3] allow DRM drivers to limit creation of blobs

2019-11-08 Thread Steve Cohen
Fuzzers used in Android compliance testing repeatedly call the create blob IOCTL which eventually exhausts the system memory. This series adds a hook which allows drivers to impose their own limitations on the size and/or number of blobs created. Steve Cohen (3): drm: add driver hook for create

Re: [PATCH v2 09/15] xen/gntdev: use mmu_range_notifier_insert

2019-11-08 Thread Jason Gunthorpe
On Tue, Nov 05, 2019 at 10:16:46AM -0500, Boris Ostrovsky wrote: > > So, I suppose it can be relaxed to a null test and a WARN_ON that it > > hasn't changed? > > You mean > > if (use_ptemod) { >     WARN_ON(map->vma != vma); >     ... > > > Yes, that sounds good. I amended my copy of

[PATCH v2 4/8] ARM: DTS: omap3: add sgx gpu child node

2019-11-08 Thread H. Nikolaus Schaller
and add interrupt Tested on OpenPandora 600 MHz. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap34xx.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap34xx.dtsi b/arch/arm/boot/dts/omap34xx.dtsi index 7b09cbee8bb8..9b050d71

[PATCH v2 5/8] ARM: DTS: omap36xx: add sgx gpu child node

2019-11-08 Thread H. Nikolaus Schaller
and add interrupt. Tested on GTA04 and BeagleBoard XM. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap36xx.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi index 1e552f08f120..85

RE: [PATCH v2 1/4] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Fabrizio Castro
Hi Jacopo, Thank you for your feedback! > From: Jacopo Mondi > Sent: 07 November 2019 18:19 > Subject: Re: [PATCH v2 1/4] drm/bridge: Repurpose lvds-encoder.c > > Hi Fabrizio, > thanks for the patch. > > On Mon, Nov 04, 2019 at 04:58:00PM +, Fabrizio Castro wrote: > > lvds-encoder.c impl

[PATCH v2 0/8] ARM/MIPS: DTS: add child nodes describing the PVRSGX present in some OMAP SoC and JZ4780

2019-11-08 Thread H. Nikolaus Schaller
Changes: * tried convert bindings to YAML format - suggested by Rob Herring * added JZ4780 DTS node (proven to load the driver) * removed timer and img,cores properties until we know we really need them - suggested by Rob Herring PATCH V1 2019-10-18 20:46:35: This patch set defines child nodes f

[PATCH v3 2/7] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Fabrizio Castro
lvds-encoder.c implementation is also suitable for LVDS decoders, not just LVDS encoders. Instead of creating a new driver for addressing support for transparent LVDS decoders, repurpose lvds-encoder.c for the greater good. Signed-off-by: Fabrizio Castro --- v2->v3: * No change v1->v2: * No chan

[PATCH v2 8/8] MIPS: DTS: jz4780: add sgx gpu node

2019-11-08 Thread H. Nikolaus Schaller
and add interrupt and clocks. Tested to build for CI20 board and load a (non-working) driver. Suggested-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4

[PATCH v3 7/7] ARM: shmobile_defconfig: Enable support for panels from EDT

2019-11-08 Thread Fabrizio Castro
The iwg20d comes with an LCD panel from Emerging Display Technologies Corporation (EDT), therefore enable what's required to support it. Signed-off-by: Fabrizio Castro --- v2->v3: * No change v1->v2: * No change --- arch/arm/configs/shmobile_defconfig | 3 +++ 1 file changed, 3 insertions(+) d

Re: [PATCH v2 02/15] mm/mmu_notifier: add an interval tree notifier

2019-11-08 Thread Jason Gunthorpe
On Wed, Nov 06, 2019 at 04:23:21PM -0800, John Hubbard wrote: > Nice design, I love the seq foundation! So far, I'm not able to spot anything > actually wrong with the implementation, sorry about that. Alas :( I feel there must be a bug in here still, but onwards! One of the main sad points wa

[PATCH v3 4/7] drm: Define DRM_MODE_CONNECTOR_PARALLEL

2019-11-08 Thread Fabrizio Castro
The existing DRM_MODE_CONNECTOR_ definitions don't seem to describe the connector for RGB/Parallel embedded displays, hence add DRM_MODE_CONNECTOR_PARALLEL. Signed-off-by: Fabrizio Castro --- v2->v3: * New patch --- drivers/gpu/drm/drm_connector.c | 1 + include/uapi/drm/drm_mode.h | 1 + 2

[PATCH 1/3] drm: add driver hook for create blob limitations

2019-11-08 Thread Steve Cohen
Allow drivers with blob limitations to run checks before blobs are created. This can be used to limit how much memory can be allocated based on driver requirements. Signed-off-by: Steve Cohen --- drivers/gpu/drm/drm_property.c | 7 +++ include/drm/drm_drv.h | 9 + 2 files ch

[PATCH v2 2/8] ARM: DTS: am33xx: add sgx gpu child node

2019-11-08 Thread H. Nikolaus Schaller
and add interrupt. Tested on BeagleBone Black. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am33xx.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index a9d848d50b20..dbfb9d5aa915 100644

[PATCH v2 3/8] ARM: DTS: am3517: add sgx gpu child node

2019-11-08 Thread H. Nikolaus Schaller
and add interrupt. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am3517.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi index bf3002009b00..48d5a250fd40 100644 --- a/arch/arm/boot/dts/a

Re: [PATCH 1/7] dt-bindings: gpu: mali-midgard: Tidy up conversion to YAML

2019-11-08 Thread Andreas Färber
Am 06.11.19 um 16:34 schrieb Rob Herring: > On Wed, Nov 6, 2019 at 9:07 AM Andreas Färber wrote: >> Am Mittwoch, den 06.11.2019, 08:24 -0600 schrieb Rob Herring: >>> This patch is problematic because there's changes in arm-soc juno/dt >>> branch and there's now a patch for exynos5420 (t628). I'd p

[PATCH 3/3] drm/msm/dpu: check blob limitations during create blob ioctl

2019-11-08 Thread Steve Cohen
Limit the blob size and number of blobs that can be allocated by a client. This prevents fuzzers from abusing this ioctl and exhausting the system memory. Signed-off-by: Steve Cohen --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/dr

Re: [PATCH V11 4/6] mdev: introduce virtio device and its device ops

2019-11-08 Thread Kirti Wankhede
On 11/7/2019 8:41 PM, Jason Wang wrote: This patch implements basic support for mdev driver that supports virtio transport for kernel virtio driver. Reviewed-by: Cornelia Huck Signed-off-by: Jason Wang I'm not expert on virtio part, my ack is from mdev perspective. Reviewed-by: Kirti Wank

[PATCH 2/3] drm/msm: add support for createblob_check driver hook

2019-11-08 Thread Steve Cohen
Allow msm_kms devices to register a hook to check blob count and blob size limitations before a new blob is created. Signed-off-by: Steve Cohen --- drivers/gpu/drm/msm/msm_drv.c | 25 + drivers/gpu/drm/msm/msm_kms.h | 1 + 2 files changed, 26 insertions(+) diff --git a/

<    1   2