Re: [PATCH 0/6] drm/ttm: make ttm bo a gem bo subclass

2019-06-20 Thread Christian König
Looks good on first glance. But please also fix up all other drivers which use TTM andGEM with at least a trivial search, replace and compile test. If we are going to merge those or not directly is a different story. Additional to that you can probably get rid of bo->resv as well after patch

Re: [PATCH] drm: Permit video-buffers writecombine mapping for MIPS

2019-06-20 Thread Serge Semin
Hello Sean, On Tue, Jun 18, 2019 at 03:52:04PM -0400, Sean Paul wrote: > On Mon, Jun 17, 2019 at 04:47:30PM +0300, Serge Semin wrote: > > Hello folks, > > > > Any updates of this patch status? It has been here for about two months. > > > > Sorry for the mixup, looks like this one just fell thro

[git pull] drm fixes for 5.2-rc6

2019-06-20 Thread Dave Airlie
Hey Linus, Just catching up on the week since back from holidays, everything seems quite sane. Dave. core: - copy_to_user fix for really legacy codepaths. vmwgfx: - two dma fixes - one virt hw interaction fix i915: - modesetting fix - gvt fix panfrost: - BO unmapping fix imx: - image convert

Re: [GIT PULL] mali-dp and komeda patches for drm-next

2019-06-20 Thread Dave Airlie
On Thu, 20 Jun 2019 at 20:35, Liviu Dudau wrote: > > Hi DRM maintainers, > > Picking up pace on the upstreaming of Komeda driver, with quite a lot > of new features added this time. On top of that we have the small > cleanups and improved usage of the debugfs functions. Please pull! It looks like

Re: [linux-sunxi] Re: [PATCH v10 01/11] drm/sun4i: dsi: Fix TCON DRQ set bits

2019-06-20 Thread Chen-Yu Tsai
On Fri, Jun 21, 2019 at 2:51 AM Jagan Teki wrote: > > On Tue, Jun 18, 2019 at 8:15 PM Chen-Yu Tsai wrote: > > > > On Tue, Jun 18, 2019 at 8:11 PM Jagan Teki > > wrote: > > > > > > On Tue, Jun 18, 2019 at 5:13 PM Chen-Yu Tsai wrote: > > > > > > > > On Tue, Jun 18, 2019 at 6:51 PM Jagan Teki >

Re: [PATCH] drm/komeda: Adds power management support

2019-06-20 Thread Lowry Li (Arm Technology China)
Hi Liviu, On Thu, Jun 20, 2019 at 12:15:22AM +0800, Liviu Dudau wrote: > Hi Lowry, > > On Mon, Jun 17, 2019 at 06:55:49AM +0100, Lowry Li (Arm Technology China) > wrote: > > Adds runtime and system power management support in KMS kernel driver. > > > > Depends on: > > - https://patchwork.freede

Re: [PATCH 2/6] dt-bindings: display: msm: gmu: add optional ocmem property

2019-06-20 Thread Brian Masney
On Wed, Jun 19, 2019 at 01:21:20PM -0700, Rob Clark wrote: > On Wed, Jun 19, 2019 at 1:17 PM Rob Herring wrote: > > > > On Sun, Jun 16, 2019 at 7:29 AM Brian Masney wrote: > > > > > > Some A3xx and A4xx Adreno GPUs do not have GMEM inside the GPU core and > > > must use the On Chip MEMory (OCMEM)

Re: [PATCH 3/5] drm/panel: Add attach/detach callbacks

2019-06-20 Thread dbasehore .
If we want to query the device tree outside of the panel code in helper functions, we can do this with the struct as is. There's already a device struct pointer in drm_panel, so I think we can pull from that. On Tue, Jun 11, 2019 at 5:25 PM dbasehore . wrote: > > On Tue, Jun 11, 2019 at 1:57 AM D

[PATCH] drm/amdgpu: Don't skip display settings in hwmgr_resume()

2019-06-20 Thread Lyude Paul
I'm not entirely sure why this is, but for some reason: 921935dc6404 ("drm/amd/powerplay: enforce display related settings only on needed") Breaks runtime PM resume on the Radeon PRO WX 3100 (Lexa) in one the pre-production laptops I have. The issue manifests as the following messages in dmesg:

Re: [RFC PATCH 1/4] dt-bindings: display: Convert common panel bindings to DT schema

2019-06-20 Thread Rob Herring
On Thu, Jun 20, 2019 at 8:52 AM Rob Herring wrote: > > On Thu, Jun 20, 2019 at 3:01 AM Thierry Reding > wrote: > > > > On Wed, Jun 19, 2019 at 03:51:53PM -0600, Rob Herring wrote: > > > Convert the common panel bindings to DT schema consolidating scattered > > > definitions to a single schema fi

Re: [PATCH 1/7] video: add HDMI state notifier support

2019-06-20 Thread Daniel Vetter
Massively cutting this thread, since halfway through in my previous reply I realized that maybe hdmi_codec is a much better starting point. On Thu, Jun 20, 2019 at 09:23:23PM +0800, Cheng-yi Chiang wrote: > On Thu, Jun 20, 2019 at 5:25 PM Daniel Vetter wrote: > > Yeah fully agreeing that hdmi_aud

[RFC/RFT PATCH RESEND] i2c: replace i2c_new_secondary_device with an ERR_PTR variant

2019-06-20 Thread Wolfram Sang
In the general move to have i2c_new_*_device functions which return ERR_PTR instead of NULL, this patch converts i2c_new_secondary_device(). There are only few users, so this patch converts the I2C core and all users in one go. The function gets renamed to i2c_new_ancillary_device() so out-of-tree

Re: [PATCH 1/2] drm: Pretty print mode flags

2019-06-20 Thread Sam Ravnborg
Hi Ville. On Thu, Jun 20, 2019 at 09:50:48PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Decode the mode flags when printing the modeline so that I > no longer have to decode the hex number myself. You are extending the current way to print mode flags, but I would anyway like to point

Re: [PATCH] docs: fix some broken references due to txt->rst renames

2019-06-20 Thread Jonathan Corbet
On Tue, 18 Jun 2019 10:33:58 -0300 Mauro Carvalho Chehab wrote: > here are three left-overs from the recent file renames, > probably due to some other conflicting patch. > > Fix them. > > Signed-off-by: Mauro Carvalho Chehab > --- > > This patch is against today's next-20190617 branch. Not su

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

2019-06-20 Thread Guido Günther
Hi, On Thu, Jun 20, 2019 at 02:18:53PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On 24/05/19 9:31 PM, Kishon Vijay Abraham I wrote: > > Hi, > > > > On 24/05/19 5:53 PM, Fabio Estevam wrote: > >> Hi Kishon, > >> > >> On Sun, May 12, 2019 at 7:49 AM Guido Günther wrote: > >>> > >>> This adds

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

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

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

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

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

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

Re: [PATCH 04/22] mm: don't clear ->mapping in hmm_devmem_free

2019-06-20 Thread Michal Hocko
On Thu 13-06-19 11:43:07, Christoph Hellwig wrote: > ->mapping isn't even used by HMM users, and the field at the same offset > in the zone_device part of the union is declared as pad. (Which btw is > rather confusing, as DAX uses ->pgmap and ->mapping from two different > sides of the union, but

Re: [PATCH 03/22] mm: remove hmm_devmem_add_resource

2019-06-20 Thread Michal Hocko
On Thu 13-06-19 11:43:06, Christoph Hellwig wrote: > This function has never been used since it was first added to the kernel > more than a year and a half ago, and if we ever grow a consumer of the > MEMORY_DEVICE_PUBLIC infrastructure it can easily use devm_memremap_pages > directly now that we'v

Re: [PATCH 18/22] mm: mark DEVICE_PUBLIC as broken

2019-06-20 Thread Michal Hocko
On Thu 13-06-19 11:43:21, Christoph Hellwig wrote: > The code hasn't been used since it was added to the tree, and doesn't > appear to actually be usable. Mark it as BROKEN until either a user > comes along or we finally give up on it. I would go even further and simply remove all the DEVICE_PUBL

Re: [PATCH 05/22] mm: export alloc_pages_vma

2019-06-20 Thread Michal Hocko
On Thu 13-06-19 11:43:08, Christoph Hellwig wrote: > noveau is currently using this through an odd hmm wrapper, and I plan > to switch it to the real thing later in this series. > > Signed-off-by: Christoph Hellwig > --- > mm/mempolicy.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/

Re: [linux-sunxi] Re: [PATCH v10 01/11] drm/sun4i: dsi: Fix TCON DRQ set bits

2019-06-20 Thread Jagan Teki
On Tue, Jun 18, 2019 at 8:15 PM Chen-Yu Tsai wrote: > > On Tue, Jun 18, 2019 at 8:11 PM Jagan Teki wrote: > > > > On Tue, Jun 18, 2019 at 5:13 PM Chen-Yu Tsai wrote: > > > > > > On Tue, Jun 18, 2019 at 6:51 PM Jagan Teki > > > wrote: > > > > > > > > On Fri, Jun 14, 2019 at 8:15 PM Maxime Ripar

[PATCH 1/2] drm: Pretty print mode flags

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä Decode the mode flags when printing the modeline so that I no longer have to decode the hex number myself. To do this neatly I made the caller provide a temporary on stack buffer where we can produce the results. I choce 64 bytes as a reasonable size for this. The worst case

[PATCH v2 2/2] drm: Dump mode picture aspect ratio

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä Currently the logs show nothing about the mode's aspect ratio. Include that information in the normal mode dump. v2: Don't print anything for NONE (Ilia) Cc: Ilia Mirkin Signed-off-by: Ville Syrjälä --- drivers/video/hdmi.c| 3 ++- include/drm/drm_modes.h | 6 --

Re: [PATCH v6 11/22] clk: sunxi-ng: a64: Add minimum rate for PLL_MIPI

2019-06-20 Thread Jagan Teki
On Fri, Jun 14, 2019 at 7:54 PM Maxime Ripard wrote: > > On Wed, Jun 05, 2019 at 01:03:16PM +0530, Jagan Teki wrote: > > On Wed, Jun 5, 2019 at 12:19 PM Maxime Ripard > > wrote: > > > > > > Hi, > > > > > > I've reordered the mail a bit to work on chunks > > > > > > On Fri, May 24, 2019 at 03:37:

Re: [PATCH 2/3] drm/rockchip: Add optional support for CRTC gamma LUT

2019-06-20 Thread Doug Anderson
Hi, On Tue, Jun 18, 2019 at 2:43 PM Ezequiel Garcia wrote: > > +static void vop_crtc_gamma_set(struct vop *vop, struct drm_crtc *crtc, > + struct drm_crtc_state *old_state) > +{ > + int idle, ret, i; > + > + spin_lock(&vop->reg_lock); > + VOP_REG_SET

Re: [PATCH 1/3] drm/stm: drv: fix suspend/resume

2019-06-20 Thread Emil Velikov
Hi Yannick, On Mon, 17 Jun 2019 at 08:18, Yannick Fertré wrote: > @@ -155,15 +154,17 @@ static __maybe_unused int drv_resume(struct device *dev) > struct ltdc_device *ldev = ddev->dev_private; > int ret; > > + if (WARN_ON(!ldev->suspend_state)) > + return -ENO

Re: [PATCH 1/3] dt-bindings: display: rockchip: document VOP gamma LUT address

2019-06-20 Thread Ezequiel Garcia
On Thu, 2019-06-20 at 09:43 -0700, Doug Anderson wrote: > Hi, > > On Tue, Jun 18, 2019 at 2:43 PM Ezequiel Garcia > wrote: > > Add the register specifier description for an > > optional gamma LUT address. > > > > Signed-off-by: Ezequiel Garcia > > --- > > .../bindings/display/rockchip/rockchi

Re: [PATCH] drm/imx: correct order of crtc disable

2019-06-20 Thread Robert Beckett
On Thu, 2019-06-20 at 18:29 +0200, Daniel Vetter wrote: > On Thu, Jun 20, 2019 at 3:30 PM Robert Beckett > wrote: > > On Thu, 2019-06-20 at 14:32 +0200, Daniel Vetter wrote: > > > On Thu, Jun 20, 2019 at 12:12:13PM +0100, Robert Beckett wrote: > > > > On Thu, 2019-06-20 at 10:50 +0200, Daniel Vett

Re: [PATCH 1/3] dt-bindings: display: rockchip: document VOP gamma LUT address

2019-06-20 Thread Doug Anderson
Hi, On Tue, Jun 18, 2019 at 2:43 PM Ezequiel Garcia wrote: > > Add the register specifier description for an > optional gamma LUT address. > > Signed-off-by: Ezequiel Garcia > --- > .../bindings/display/rockchip/rockchip-vop.txt | 10 +- > 1 file changed, 9 insertions(+), 1 dele

Re: [linux-sunxi] [PATCH v7 0/6] Add support for Orange Pi 3

2019-06-20 Thread Ondřej Jirman
Hi Jernej, On Thu, Jun 20, 2019 at 05:53:58PM +0200, Jernej Škrabec wrote: > Hi! > > Dne četrtek, 20. junij 2019 ob 15:47:42 CEST je megous via linux-sunxi > napisal(a): > > From: Ondrej Jirman > > > > This series implements support for Xunlong Orange Pi 3 board. > > > > - ethernet support (p

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-20 Thread Emil Velikov
On 2019/06/14, Koenig, Christian wrote: > Am 14.06.19 um 17:53 schrieb Emil Velikov: > > On 2019/06/14, Koenig, Christian wrote: > >> Am 14.06.19 um 14:09 schrieb Emil Velikov: > >>> On 2019/05/27, Emil Velikov wrote: > >>> [SNIP] > >>> Hi Christian, > >>> > >>> > >>> In the following, I would like

Re: [PATCH] drm/imx: correct order of crtc disable

2019-06-20 Thread Daniel Vetter
On Thu, Jun 20, 2019 at 3:30 PM Robert Beckett wrote: > On Thu, 2019-06-20 at 14:32 +0200, Daniel Vetter wrote: > > On Thu, Jun 20, 2019 at 12:12:13PM +0100, Robert Beckett wrote: > > > On Thu, 2019-06-20 at 10:50 +0200, Daniel Vetter wrote: > > > > On Wed, Jun 19, 2019 at 11:40 AM Philipp Zabel <

Re: [linux-sunxi] [PATCH v2 5/9] drm/sun4i: tcon_top: Register clock gates in probe

2019-06-20 Thread Jagan Teki
On Tue, Jun 18, 2019 at 4:24 PM Chen-Yu Tsai wrote: > > On Tue, Jun 18, 2019 at 6:34 PM Jagan Teki wrote: > > > > On Tue, Jun 18, 2019 at 1:23 PM Chen-Yu Tsai wrote: > > > > > > On Tue, Jun 18, 2019 at 3:45 PM Jagan Teki > > > wrote: > > > > > > > > On Tue, Jun 18, 2019 at 12:49 PM Chen-Yu Tsa

Re: [PATCH] drm: Dump mode picture aspect ratio

2019-06-20 Thread Ville Syrjälä
On Thu, Jun 20, 2019 at 11:59:37AM -0400, Ilia Mirkin wrote: > On Thu, Jun 20, 2019 at 11:46 AM Ville Syrjala > wrote: > > > > From: Ville Syrjälä > > > > Currently the logs show nothing about the mode's aspect ratio. > > Include that information in the normal mode dump. > > > > Cc: Ilia Mirkin

Re: [PATCH 2/3] drm/rockchip: Add optional support for CRTC gamma LUT

2019-06-20 Thread Ezequiel Garcia
On Wed, 2019-06-19 at 00:18 +0200, Heiko Stübner wrote: > Am Mittwoch, 19. Juni 2019, 00:09:57 CEST schrieb Ezequiel Garcia: > > On Tue, 2019-06-18 at 17:47 -0400, Ilia Mirkin wrote: > > > On Tue, Jun 18, 2019 at 5:43 PM Ezequiel Garcia > > > wrote: > > > > Add an optional CRTC gamma LUT support,

Re: [PATCH] drm: Dump mode picture aspect ratio

2019-06-20 Thread Ilia Mirkin
On Thu, Jun 20, 2019 at 11:46 AM Ville Syrjala wrote: > > From: Ville Syrjälä > > Currently the logs show nothing about the mode's aspect ratio. > Include that information in the normal mode dump. > > Cc: Ilia Mirkin > Signed-off-by: Ville Syrjälä > --- > drivers/video/hdmi.c| 3 ++- > inc

Re: [linux-sunxi] [PATCH v7 0/6] Add support for Orange Pi 3

2019-06-20 Thread Jernej Škrabec
Hi! Dne četrtek, 20. junij 2019 ob 15:47:42 CEST je megous via linux-sunxi napisal(a): > From: Ondrej Jirman > > This series implements support for Xunlong Orange Pi 3 board. > > - ethernet support (patches 1-3) Correct me if I'm wrong, but patches 1-2 aren't strictly necessary for OrangePi

Re: [linux-sunxi] [PATCH v7 5/6] drm: sun4i: Add support for enabling DDC I2C bus to sun8i_dw_hdmi glue

2019-06-20 Thread Jernej Škrabec
Dne četrtek, 20. junij 2019 ob 15:47:47 CEST je megous via linux-sunxi napisal(a): > From: Ondrej Jirman > > Orange Pi 3 board requires enabling a voltage shifting circuit via GPIO > for the DDC bus to be usable. > > Add support for hdmi-connector node's optional ddc-en-gpios property to > supp

[PATCH] drm: Dump mode picture aspect ratio

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä Currently the logs show nothing about the mode's aspect ratio. Include that information in the normal mode dump. Cc: Ilia Mirkin Signed-off-by: Ville Syrjälä --- drivers/video/hdmi.c| 3 ++- include/drm/drm_modes.h | 4 ++-- include/linux/hdmi.h| 3 +++ 3 files cha

[PULL] drm-misc-next

2019-06-20 Thread Maarten Lankhorst
Hi Daniel, Dave, Final pull request for drm-misc-next! Biggest changes are the remove-fbcon-notifiers branch and modeline cmdline parser rework, and the addition of a new KMS driver for ingenic. drm-misc-next-2019-06-20: drm-misc-next for v5.3: UAPI Changes: - Give each dma-buf their own inod

Re: drm connectors, tegra, and the web they weave (was Re: [PATCH 58/59] drm/todo: Add new debugfs todo)

2019-06-20 Thread Thierry Reding
On Tue, Jun 18, 2019 at 04:37:16PM +0100, Jon Hunter wrote: > > On 18/06/2019 16:19, Greg Kroah-Hartman wrote: > > On Fri, Jun 14, 2019 at 10:36:14PM +0200, Daniel Vetter wrote: > >> Greg is busy already, but maybe he won't do everything ... > >> > >> Cc: Greg Kroah-Hartman > >> Signed-off-by: Da

Re: [RFC PATCH 1/4] dt-bindings: display: Convert common panel bindings to DT schema

2019-06-20 Thread Rob Herring
On Thu, Jun 20, 2019 at 12:55 AM Sam Ravnborg wrote: > > Hi Rob. > > Thanks for starting the conversion of panel bindings to yaml. > > On Wed, Jun 19, 2019 at 03:51:53PM -0600, Rob Herring wrote: > > Convert the common panel bindings to DT schema consolidating scattered > > definitions to a single

Re: drm connectors, tegra, and the web they weave (was Re: [PATCH 58/59] drm/todo: Add new debugfs todo)

2019-06-20 Thread Thierry Reding
On Tue, Jun 18, 2019 at 07:32:20PM +0200, Daniel Vetter wrote: > On Tue, Jun 18, 2019 at 5:25 PM Greg Kroah-Hartman > wrote: > > On Tue, Jun 18, 2019 at 05:19:38PM +0200, Greg Kroah-Hartman wrote: > > > On Fri, Jun 14, 2019 at 10:36:14PM +0200, Daniel Vetter wrote: > > > > Greg is busy already, bu

[Bug 110949] Continuious warnings from agd5f 5.3-wip branch

2019-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110949 --- Comment #4 from Mike Lothian --- If there's anything you'd like me to test for you, please do shout -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

Re: [PATCH 29/59] drm/sti: Drop drm_gem_prime_export/import

2019-06-20 Thread Benjamin Gaignard
Le ven. 14 juin 2019 à 22:36, Daniel Vetter a écrit : > > They're the default. > > Aside: Would be really nice to switch the others over to > drm_gem_object_funcs. > > Signed-off-by: Daniel Vetter > Cc: Benjamin Gaignard > Cc: Vincent Abriou Thanks, Reviewed-by: Benjamin Gaignard > --- > dr

Re: [PATCH 1/3] drm/stm: drv: fix suspend/resume

2019-06-20 Thread Benjamin Gaignard
Le mar. 18 juin 2019 à 11:57, Philippe CORNU a écrit : > > Hi Yannick, > > Thank you for your patch. > > Acked-by: Philippe Cornu I have corrected Fixes sha1 (should be 12 digits) Applied on drm-misc-next. Benjamin > > Philippe :-) > > On 6/17/19 9:18 AM, Yannick Fertré wrote: > > Without this

Re: drm connectors, tegra, and the web they weave (was Re: [PATCH 58/59] drm/todo: Add new debugfs todo)

2019-06-20 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:19:38PM +0200, Greg Kroah-Hartman wrote: > On Fri, Jun 14, 2019 at 10:36:14PM +0200, Daniel Vetter wrote: > > Greg is busy already, but maybe he won't do everything ... > > > > Cc: Greg Kroah-Hartman > > Signed-off-by: Daniel Vetter > > --- > > Documentation/gpu/todo.

Re: [RFC PATCH 1/4] dt-bindings: display: Convert common panel bindings to DT schema

2019-06-20 Thread Rob Herring
On Thu, Jun 20, 2019 at 3:01 AM Thierry Reding wrote: > > On Wed, Jun 19, 2019 at 03:51:53PM -0600, Rob Herring wrote: > > Convert the common panel bindings to DT schema consolidating scattered > > definitions to a single schema file. > > > > The 'simple-panel' binding just a collection of propert

Re: drm connectors, tegra, and the web they weave (was Re: [PATCH 58/59] drm/todo: Add new debugfs todo)

2019-06-20 Thread Thierry Reding
On Tue, Jun 18, 2019 at 11:46:56PM +0200, Daniel Vetter wrote: > On Tue, Jun 18, 2019 at 08:01:13PM +0200, Greg Kroah-Hartman wrote: > > On Tue, Jun 18, 2019 at 07:32:20PM +0200, Daniel Vetter wrote: > > > On Tue, Jun 18, 2019 at 5:25 PM Greg Kroah-Hartman > > > wrote: > > > > On Tue, Jun 18, 2019

Re: [Freedreno] [PATCH 5/5 v3] drm/msm/mdp5: Use the interconnect API

2019-06-20 Thread Jeffrey Hugo
On Tue, Jun 18, 2019 at 4:10 PM Rob Clark wrote: > > From: Georgi Djakov > > The interconnect API provides an interface for consumer drivers to > express their bandwidth needs in the SoC. This data is aggregated > and the on-chip interconnect hardware is configured to the most > appropriate power

Re: [PATCH] drm/self_refresh: Fix possible NULL deref in failure path

2019-06-20 Thread Sean Paul
On Thu, Jun 20, 2019 at 01:28:55PM +0200, Daniel Vetter wrote: > On Wed, Jun 19, 2019 at 02:19:47PM -0400, Sean Paul wrote: > > From: Sean Paul > > > > If state allocation fails, we still try to give back the reference on > > it. Also initialize ret in case the crtc is not enabled and we hit the

Re: [PATCH] backlight: gpio-backlight: Set power state instead of brightness at probe

2019-06-20 Thread Peter Ujfalusi
Daniel, On 20/06/2019 16.56, Daniel Thompson wrote: > On 18/06/2019 13:58, Paul Kocialkowski wrote: >> Hi, >> >> On Fri, 2019-05-17 at 17:05 +0200, Paul Kocialkowski wrote: >>> On a trivial gpio-backlight setup with a panel using the backlight but >>> no boot software to enable it beforehand, we f

Re: [PATCH 0/4] drm/bridge: dw-hdmi: Add support for HDR metadata

2019-06-20 Thread Neil Armstrong
Hi Andrzej, Gentle ping, could you review the dw-hdmi changes here ? Thanks, Neil On 26/05/2019 23:18, Jonas Karlman wrote: > Add support for HDR metadata using the hdr_output_metadata connector property, > configure Dynamic Range and Mastering InfoFrame accordingly. > > A drm_infoframe flag is

Re: [PATCH] drm/bridge: dw-hdmi: Use automatic CTS generation mode when using non-AHB audio

2019-06-20 Thread Neil Armstrong
Hi Andrzej, Gentle ping, do you think this could go in drm-misc-next for 5.3 ? Thanks, Neil On 12/06/2019 10:51, Neil Armstrong wrote: > When using an I2S source using a different clock source (usually the I2S > audio HW uses dedicated PLLs, different from the HDMI PHY PLL), fixed > CTS values w

[PATCH 4/5] drm/i915: Do not override mode's aspect ratio with the prop value NONE

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä HDMI_PICTURE_ASPECT_NONE means "Automatic" so when the user has that selected we should keep whatever aspect ratio the mode already has. Also no point in checking for connector->is_hdmi in the SDVO code since we only attach the property to HDMI connectors. Cc: Ilia Mirkin S

[PATCH 5/5] drm/i915: Drop redundant aspec ratio prop value initialization

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä HDMI_PICTURE_ASPECT_NONE is zero and the connector state is kzalloc()'d so no need to initialize conn_state->picture_aspect_ratio with it. Cc: Ilia Mirkin Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_hdmi.c | 1 - drivers/gpu/drm/i915/display/intel_s

[PATCH 3/5] drm: WARN on illegal aspect ratio when converting a mode to umode

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä WARN if the incoming drm_display_mode has an illegal aspect ratio when converting it to a user mode. This should never happen unless the driver made a mistake and put an invalid value into the aspect ratio. Cc: Ilia Mirkin Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/d

[PATCH 2/5] drm: Do not accept garbage mode aspect ratio flags

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä Don't let userspace feed us any old garbage in the mode aspect ratio flags. Cc: Ilia Mirkin Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_modes.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm

[PATCH 1/5] drm: Do not use bitwise OR to set picure_aspect_ratio

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä enum hdmi_picture_aspect is not a bitmask, so don't use bitwise OR to populate it. Cc: Ilia Mirkin Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_modes.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers

[GIT PULL] drm/imx: ipu-v3 image converter fixes

2019-06-20 Thread Philipp Zabel
Hi Dave, Daniel, please consider merging these fixes for v5.2. regards Philipp The following changes since commit d1fdb6d8f6a4109a4263176c84b899076a5f8008: Linux 5.2-rc4 (2019-06-08 20:24:46 -0700) are available in the Git repository at: git://git.pengutronix.de/git/pza/linux.git tags/imx

[PATCH 0/5] drm: Aspect ratio fixes

2019-06-20 Thread Ville Syrjala
From: Ville Syrjälä Ilia pointed out some oddball crap in the i915 aspect ratio handling. While looking at that I noticed a bunch of fail in the core as well. This series aims to fix it all. Cc: Ilia Mirkin Ville Syrjälä (5): drm: Do not use bitwise OR to set picure_aspect_ratio drm: Do no

Re: [PATCH v5 2/2] DRM: Add KMS driver for the Ingenic JZ47xx SoCs

2019-06-20 Thread Paul Cercueil
Le mer. 19 juin 2019 à 14:26, Sam Ravnborg a écrit : Hi Paul. On Mon, Jun 03, 2019 at 05:23:31PM +0200, Paul Cercueil wrote: Add a KMS driver for the Ingenic JZ47xx family of SoCs. This driver is meant to replace the aging jz4740-fb driver. This driver does not make use of the simple p

Re: [PATCH v1] backlight: pwm_bl: convert to use SPDX identifier

2019-06-20 Thread Daniel Thompson
On 19/06/2019 14:59, Andy Shevchenko wrote: Reduce size of duplicated comments by switching to use SPDX identifier. No functional change. While here, correct MODULE_LICENSE() string to be aligned with license text. Signed-off-by: Andy Shevchenko Acked-by: Daniel Thompson --- drivers/v

Re: [PATCH v1] backlight: gpio_backlight: Enable ACPI enumeration

2019-06-20 Thread Daniel Thompson
On 19/06/2019 16:21, Andy Shevchenko wrote: ACPI allows to enumerate specific devices by using compatible strings. Enable that enumeration for GPIO based backlight devices. Signed-off-by: Andy Shevchenko --- drivers/video/backlight/gpio_backlight.c | 23 +-- 1 file change

Re: Re: [PATCH] backlight: gpio-backlight: Set power state instead of brightness at probe

2019-06-20 Thread Daniel Thompson
On 18/06/2019 13:58, Paul Kocialkowski wrote: Hi, On Fri, 2019-05-17 at 17:05 +0200, Paul Kocialkowski wrote: On a trivial gpio-backlight setup with a panel using the backlight but no boot software to enable it beforehand, we fall in a case where the backlight is disabled (not just blanked) and

[PATCH v7 4/6] dt-bindings: display: hdmi-connector: Support DDC bus enable

2019-06-20 Thread megous
From: Ondrej Jirman Some Allwinner SoC using boards (Orange Pi 3 for example) need to enable on-board voltage shifting logic for the DDC bus using a gpio to be able to access DDC bus. Use ddc-en-gpios property on the hdmi-connector to model this. Add binding documentation for optional ddc-en-gpi

[PATCH v7 3/6] arm64: dts: allwinner: orange-pi-3: Enable ethernet

2019-06-20 Thread megous
From: Ondrej Jirman Orange Pi 3 has two regulators that power the Realtek RTL8211E. According to the phy datasheet, both regulators need to be enabled at the same time, but we can only specify a single phy-supply in the DT. This can be achieved by making one regulator depedning on the other via

[PATCH v7 2/6] net: stmmac: sun8i: force select external PHY when no internal one

2019-06-20 Thread megous
From: Icenowy Zheng The PHY selection bit also exists on SoCs without an internal PHY; if it's set to 1 (internal PHY, default value) then the MAC will not make use of any PHY on such SoCs. This problem appears when adapting for H6, which has no real internal PHY (the "internal PHY" on H6 is not

[PATCH v7 0/6] Add support for Orange Pi 3

2019-06-20 Thread megous
From: Ondrej Jirman This series implements support for Xunlong Orange Pi 3 board. - ethernet support (patches 1-3) - HDMI support (patches 4-6) For some people, ethernet doesn't work after reboot (but works on cold boot), when the stmmac driver is built into the kernel. It works when the driver

[PATCH v7 5/6] drm: sun4i: Add support for enabling DDC I2C bus to sun8i_dw_hdmi glue

2019-06-20 Thread megous
From: Ondrej Jirman Orange Pi 3 board requires enabling a voltage shifting circuit via GPIO for the DDC bus to be usable. Add support for hdmi-connector node's optional ddc-en-gpios property to support this use case. Signed-off-by: Ondrej Jirman --- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 54

[PATCH v7 6/6] arm64: dts: allwinner: orange-pi-3: Enable HDMI output

2019-06-20 Thread megous
From: Ondrej Jirman Orange Pi 3 has a DDC_CEC_EN signal connected to PH2, that enables the DDC I2C bus voltage shifter. Before EDID can be read, we need to pull PH2 high. This is realized by the ddc-en-gpios property. Signed-off-by: Ondrej Jirman --- .../dts/allwinner/sun50i-h6-orangepi-3.dts

[PATCH v7 1/6] net: stmmac: sun8i: add support for Allwinner H6 EMAC

2019-06-20 Thread megous
From: Icenowy Zheng The EMAC on Allwinner H6 is just like the one on A64. The "internal PHY" on H6 is on a co-packaged AC200 chip, and it's not really internal (it's connected via RMII at PA GPIO bank). Add support for the Allwinner H6 EMAC in the dwmac-sun8i driver. Signed-off-by: Icenowy Zhen

RE: [v7 00/16] Add Plane Color Properties

2019-06-20 Thread Shankar, Uma
>-Original Message- >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of >Ville >Syrjälä >Sent: Wednesday, June 19, 2019 10:00 PM >To: Ezequiel Garcia >Cc: Syrjala, Ville ; intel-...@lists.freedesktop.org; >Emil >Velikov ; dri-devel >; >Andrzej Pietrasiewicz

[Bug 109887] vega56 undervolting/overclocking voltage issues

2019-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109887 --- Comment #7 from hagar-dunor --- Met the same annoyance, and found a rather convoluted way to get around it. It would be better overclocking/undervolting work by setting pp_od_clk_voltage only. https://forum.level1techs.com/t/how-to-overcloc

Re: [PATCH v1] backlight: Don't build support by default

2019-06-20 Thread Daniel Thompson
On 12/06/2019 14:27, Marc Gonzalez wrote: b20c5249aa6a ("backlight: Fix compile error if CONFIG_FB is unset") added 'default m' for BACKLIGHT_CLASS_DEVICE and LCD_CLASS_DEVICE. It took me some little while until I realized this patch is from 2005 which explains why I couldn't find it in the mo

[PATCH v3 2/2] drm/panel: Add support for Raydium RM67191 panel driver

2019-06-20 Thread Robert Chiras
This patch adds Raydium RM67191 TFT LCD panel driver (MIPI-DSI protocol). Signed-off-by: Robert Chiras Reviewed-by: Sam Ravnborg --- MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1

[PATCH v3 0/2] Add DSI panel driver for Raydium RM67191

2019-06-20 Thread Robert Chiras
This patch-set contains the DRM panel driver and dt-bindings documentation for the DSI driven panel: Raydium RM67191. v3: - Added myself to MAINTAINERS for this driver (sam) - Removed display-timings property (fabio) - Fixed dt description (sam) - Re-arranged calls inside get_modes function (sam)

Re: [PATCH] drm/imx: correct order of crtc disable

2019-06-20 Thread Robert Beckett
On Thu, 2019-06-20 at 14:32 +0200, Daniel Vetter wrote: > On Thu, Jun 20, 2019 at 12:12:13PM +0100, Robert Beckett wrote: > > On Thu, 2019-06-20 at 10:50 +0200, Daniel Vetter wrote: > > > On Wed, Jun 19, 2019 at 11:40 AM Philipp Zabel < > > > p.za...@pengutronix.de> wrote: > > > > > > > > Hi Rober

[PATCH v3 1/2] dt-bindings: display: panel: Add support for Raydium RM67191 panel

2019-06-20 Thread Robert Chiras
Add dt-bindings documentation for Raydium RM67191 DSI panel. Signed-off-by: Robert Chiras Reviewed-by: Sam Ravnborg --- .../bindings/display/panel/raydium,rm67191.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/display

Re: [PATCH 1/7] video: add HDMI state notifier support

2019-06-20 Thread Cheng-yi Chiang
On Thu, Jun 20, 2019 at 5:25 PM Daniel Vetter wrote: > > On Wed, Jun 19, 2019 at 07:48:11PM +0800, Cheng-yi Chiang wrote: > > On Tue, Jun 18, 2019 at 8:12 PM Daniel Vetter wrote: > > > > > > On Tue, Jun 18, 2019 at 07:48:06PM +0800, Cheng-yi Chiang wrote: > > > > On Tue, Jun 11, 2019 at 8:35 PM D

Re: [PATCH] drm/todo: Update drm_gem_object_funcs todo even more

2019-06-20 Thread Daniel Vetter
On Tue, Jun 18, 2019 at 07:25:08PM +0100, Eric Engestrom wrote: > On Tuesday, 2019-06-18 16:02:41 +0200, Daniel Vetter wrote: > > I rushed merging this a bit too much, and Noralf pointed out that > > we're a lot better already and have made great progress. > > > > Let's try again. > > > > Fixes:

[PATCH] drm/prime: Update docs

2019-06-20 Thread Daniel Vetter
Yes this is a bit a big patch, but since it's essentially a complete rewrite of all the prime docs I didn't see how to better split it up. Changes: - Consistently point to drm_gem_object_funcs as the preferred hooks, where applicable. - Document all the hooks in &drm_driver that lacked kerneldo

Re: [PATCH 2/2] drm/prime: Update docs

2019-06-20 Thread Daniel Vetter
On Wed, Jun 19, 2019 at 02:43:20PM +0200, Noralf Trønnes wrote: > > > Den 18.06.2019 11.20, skrev Daniel Vetter: > > Yes this is a bit a big patch, but since it's essentially a complete > > rewrite of all the prime docs I didn't see how to better split it up. > > > > Changes: > > - Consistently

Re: [PATCH] drm/imx: correct order of crtc disable

2019-06-20 Thread Daniel Vetter
On Thu, Jun 20, 2019 at 12:12:13PM +0100, Robert Beckett wrote: > On Thu, 2019-06-20 at 10:50 +0200, Daniel Vetter wrote: > > On Wed, Jun 19, 2019 at 11:40 AM Philipp Zabel < > > p.za...@pengutronix.de> wrote: > > > > > > Hi Robert, > > > > > > thank you for the patch. > > > > > > On Tue, 2019-0

[Bug 110949] Continuious warnings from agd5f 5.3-wip branch

2019-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110949 --- Comment #3 from Nicholas Kazlauskas --- Seems like there's still issues with dropping the check depending on the ASIC revision and probably userspace that's being used. I can revert this for now while investigating the issue. -- You are r

[PULL] drm-intel-fixes

2019-06-20 Thread Jani Nikula
Hi Dave & Daniel - drm-intel-fixes-2019-06-20: drm/i915 fixes for v5.2-rc6: - GVT: Fix reserved PVINFO register write (Weinan) - Avoid clobbering M/N values in fastset fuzzy checks (Ville) BR, Jani. The following changes since commit 9e0babf2c06c73cda2c0cd37a1653d823adb40ec: Linux 5.2-rc5 (2

Re: [PATCH] drm/imx: correct order of crtc disable

2019-06-20 Thread Philipp Zabel
Hi Robert, Daniel, On Thu, 2019-06-20 at 12:12 +0100, Robert Beckett wrote: > On Thu, 2019-06-20 at 10:50 +0200, Daniel Vetter wrote: > > On Wed, Jun 19, 2019 at 11:40 AM Philipp Zabel < > > p.za...@pengutronix.de> wrote: > > > > > > Hi Robert, > > > > > > thank you for the patch. > > > > > > O

Re: [PATCH] drm/self_refresh: Fix possible NULL deref in failure path

2019-06-20 Thread Daniel Vetter
On Wed, Jun 19, 2019 at 02:19:47PM -0400, Sean Paul wrote: > From: Sean Paul > > If state allocation fails, we still try to give back the reference on > it. Also initialize ret in case the crtc is not enabled and we hit the > eject button. > > Fixes: 1452c25b0e60 ("drm: Add helpers to kick off s

Re: [PATCH] drm/imx: correct order of crtc disable

2019-06-20 Thread Robert Beckett
On Thu, 2019-06-20 at 10:50 +0200, Daniel Vetter wrote: > On Wed, Jun 19, 2019 at 11:40 AM Philipp Zabel < > p.za...@pengutronix.de> wrote: > > > > Hi Robert, > > > > thank you for the patch. > > > > On Tue, 2019-06-18 at 16:50 +0100, Robert Beckett wrote: > > > Notify drm core before sending pe

Re: use exact allocation for dma coherent memory

2019-06-20 Thread Christoph Hellwig
On Wed, Jun 19, 2019 at 01:29:03PM -0300, Jason Gunthorpe wrote: > > Yes. This will blow up badly on many platforms, as sq->queue > > might be vmapped, ioremapped, come from a pool without page backing. > > Gah, this addr gets fed into io_remap_pfn_range/remap_pfn_range too.. > > Potnuri, you sh

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

2019-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110635 --- Comment #9 from tempel.jul...@gmail.com --- *bump* Situation unchanged with recent llvm-git and mesa-git. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mai

Re: [PATCH v3 0/7] Hexdump Enhancements

2019-06-20 Thread Jani Nikula
On Wed, 19 Jun 2019, Joe Perches wrote: > On Thu, 2019-06-20 at 11:14 +1000, Alastair D'Silva wrote: >> On Wed, 2019-06-19 at 17:35 -0700, Joe Perches wrote: >> > On Thu, 2019-06-20 at 09:15 +1000, Alastair D'Silva wrote: >> > > On Wed, 2019-06-19 at 09:31 -0700, Joe Perches wrote: >> > > > On Mon

[Bug 110659] pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1

2019-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110659 --- Comment #23 from tempel.jul...@gmail.com --- Any news on this? I'd really like to have this sorted out before I wholeheartedly recommended Navi for Linux gaming. I can imagine that Navi causes a ton of work, but still this issue is painful.

[GIT PULL] mali-dp and komeda patches for drm-next

2019-06-20 Thread Liviu Dudau
Hi DRM maintainers, Picking up pace on the upstreaming of Komeda driver, with quite a lot of new features added this time. On top of that we have the small cleanups and improved usage of the debugfs functions. Please pull! Best regards, Liviu The following changes since commit 52d2d44eee8091e74

Re: [PATCH 1/7] video: add HDMI state notifier support

2019-06-20 Thread Daniel Vetter
On Wed, Jun 19, 2019 at 07:48:11PM +0800, Cheng-yi Chiang wrote: > On Tue, Jun 18, 2019 at 8:12 PM Daniel Vetter wrote: > > > > On Tue, Jun 18, 2019 at 07:48:06PM +0800, Cheng-yi Chiang wrote: > > > On Tue, Jun 11, 2019 at 8:35 PM Daniel Vetter wrote: > > > > > > > > On Tue, Jun 11, 2019 at 08:10

Re: [RFC PATCH 4/4] dt-bindings: display: Convert innolux,ee101ia-01 panel to DT schema

2019-06-20 Thread Thierry Reding
On Wed, Jun 19, 2019 at 03:51:56PM -0600, Rob Herring wrote: > Convert the innolux,ee101ia-01 LVDS panel binding to DT schema. > > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: Maxime Ripard > Cc: Laurent Pinchart > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Rob Herring > --- > .../d

Re: [RFC PATCH 3/4] dt-bindings: display: Convert panel-lvds to DT schema

2019-06-20 Thread Thierry Reding
On Wed, Jun 19, 2019 at 03:51:55PM -0600, Rob Herring wrote: > Convert the panel-lvds binding to use DT schema. The panel-lvds schema > inherits from the panel-common.yaml schema and specific LVDS panel > bindings should inherit from this schema. > > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: M

Re: [RFC PATCH 2/4] dt-bindings: display: Convert ampire,am-480272h3tmqw-t01h panel to DT schema

2019-06-20 Thread Thierry Reding
On Wed, Jun 19, 2019 at 03:51:54PM -0600, Rob Herring wrote: > Convert the ampire,am-480272h3tmqw-t01h panel binding to DT schema. > > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: Maxime Ripard > Cc: Laurent Pinchart > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Rob Herring > --- > .

  1   2   >