Re: [PATCH 00/12] ARM: davinci: da850-evm: remove more legacy GPIO calls

2019-07-01 Thread Lee Jones
On Mon, 01 Jul 2019, Sekhar Nori wrote: > Hi Lee, Daniel, Jingoo, > > On 25/06/19 10:04 PM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This is another small step on the path to liberating davinci from legacy > > GPIO API calls and shrinking the davinci GPIO driver by not h

[Bug 111040] it is not working

2019-07-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111040 Andre Klapper changed: What|Removed |Added Component|DRM/other |Two Group|

Re: [PATCH 29/39] docs: driver-api: add a series of orphaned documents

2019-07-01 Thread Cornelia Huck
On Fri, 28 Jun 2019 09:30:22 -0300 Mauro Carvalho Chehab wrote: > There are lots of documents under Documentation/*.txt and a few other > orphan documents elsehwere that belong to the driver-API book. > > Move them to their right place. > > Signed-off-by: Mauro Carvalho Chehab > --- (...) > .

[Bug 111040] it is not working

2019-07-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111040 Bug ID: 111040 Summary: it is not working Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium

Re: [PATCH 1/4] drm/vram: Set GEM object functions for PRIME

2019-07-01 Thread Gerd Hoffmann
Hi, > > But the new and the old ones are identical, right? So why add/remove? > > Why not just rename them? > > Hmm, OK. Does that somehow make a difference (e.g., easier backporting > or maintenance)? Easier patch review (it is obvious then you only change the way the functions are hooked up

Reminder: 1 open syzbot bug in drm subsystem

2019-07-01 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 1 of them as possibly being a bug in the drm subsystem.

Re: [Intel-gfx] [PATCH v3 3/4] drm/connector: Split out orientation quirk detection

2019-07-01 Thread dbasehore .
On Mon, Jun 24, 2019 at 6:24 AM Ville Syrjälä wrote: > > On Fri, Jun 21, 2019 at 08:41:04PM -0700, Derek Basehore wrote: > > Not every platform needs quirk detection for panel orientation, so > > split the drm_connector_init_panel_orientation_property into two > > functions. One for platforms with

Re: [PATCH v5 09/12] drm/virtio: rework virtio_gpu_object_create fencing

2019-07-01 Thread Chia-I Wu
On Mon, Jul 1, 2019 at 11:04 AM Gurchetan Singh wrote: > > > > On Fri, Jun 28, 2019 at 5:14 AM Gerd Hoffmann wrote: > > > > Use gem reservation helpers and direct reservation_object_* calls > > instead of ttm. > > > > v5: fix fencing (Chia-I Wu). > > v3: Due to using the gem reservation object it

[Bug 108309] Raven Ridge 2700U system lock-up on multiple games

2019-07-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108309 Francisco Pina Martins changed: What|Removed |Added CC||f.pinamart...@gmail.com --- Co

Re: [PATCH v6 0/5] DMA-BUF Heaps (destaging ION)

2019-07-01 Thread John Stultz
On Mon, Jul 1, 2019 at 2:45 PM Laura Abbott wrote: > > On 6/24/19 3:49 PM, John Stultz wrote: > > Here is another pass at the dma-buf heaps patchset Andrew and I > > have been working on which tries to destage a fair chunk of ION > > functionality. > > > > I've gotten bogged down with both work an

Re: [PATCH v6 0/5] DMA-BUF Heaps (destaging ION)

2019-07-01 Thread Laura Abbott
On 6/24/19 3:49 PM, John Stultz wrote: Here is another pass at the dma-buf heaps patchset Andrew and I have been working on which tries to destage a fair chunk of ION functionality. I've gotten bogged down with both work and personal tasks so I haven't had a chance to look too closely but, onc

Re: [PATCH][next] drm/vmwgfx: remove redundant assignment to sub_res

2019-07-01 Thread Deepak Singh Rawat
Hi Colin, Reviewed-by: Deepak Rawat Thanks, Deepak On Mon, 2019-06-24 at 23:44 +0100, Colin King wrote: > From: Colin Ian King > > Variable sub_res is initialized to a value that is never read and it > is re-assigned later in a for-loop. The initialization is redundant > and can be removed.

Re: Why is Thunderbolt 3 limited to 2.5 GT/s on Linux?

2019-07-01 Thread Mika Westerberg
On Fri, Jun 28, 2019 at 04:53:02PM +0200, Timur Kristóf wrote: > On Fri, 2019-06-28 at 17:14 +0300, Mika Westerberg wrote: > > On Fri, Jun 28, 2019 at 03:33:56PM +0200, Timur Kristóf wrote: > > > I have two more questions: > > > > > > 1. What is the best way to test that the virtual link is indeed

Re: Why is Thunderbolt 3 limited to 2.5 GT/s on Linux?

2019-07-01 Thread Mika Westerberg
On Mon, Jul 01, 2019 at 10:46:34AM -0400, Alex Deucher wrote: > > 2. As far as I understood what Mika said, there isn't really a 2.5 GT/s > > limitation there, since the virtual link should be running at 40 Gb/s > > regardless of the reported speed of that device. Would it be possible > > to run th

Re: Why is Thunderbolt 3 limited to 2.5 GT/s on Linux?

2019-07-01 Thread Timur Kristóf
> > > > Like I said the device really is limited to 2.5 GT/s even > > > > though it > > > > should be able to do 8 GT/s. > > > > > > There is Thunderbolt link between the host router (your host > > > system) > > > and > > > the eGPU box. That link is not limited to 2.5 GT/s so even if the > > > sl

Re: Why is Thunderbolt 3 limited to 2.5 GT/s on Linux?

2019-07-01 Thread Timur Kristóf
> > > > That's unfortunate, I would have expected there to be some sort of > > PCIe > > speed test utility. > > > > Now that I gave it a try, I can measure ~20 Gbit/sec when I run > > Gnome > > Wayland on this system (which forces the eGPU to send the > > framebuffer > > back and forth all the ti

Re: [PATCH v3 01/22] drm: Include ddc adapter pointer in struct drm_connector

2019-07-01 Thread Andrzej Pietrasiewicz
Hi Thomas, Thank you for your comments. Please see inline. W dniu 30.06.2019 o 10:12, Thomas Zimmermann pisze: Hi I like the idea, but would prefer a more structured approach. Setting connector->ddc before calling drm_sysfs_connector_add() seems error prone. The dependency is not really clear

Re: Why is Thunderbolt 3 limited to 2.5 GT/s on Linux?

2019-07-01 Thread Timur Kristóf
On Mon, 2019-07-01 at 16:54 +0200, Michel Dänzer wrote: > On 2019-06-28 2:21 p.m., Timur Kristóf wrote: > > I haven't found a good way to measure the maximum PCIe throughput > > between the CPU and GPU, > > amdgpu.benchmark=3 > > on the kernel command line will measure throughput for various > tr

Re: [PATCH 2/7] drm/dp_mst: Register AUX devices for MST ports

2019-07-01 Thread Lyude Paul
On Thu, 2019-06-27 at 22:21 +, Li, Sun peng (Leo) wrote: > Sorry for the late response! just jumping back on this now. > > On 2019-05-16 5:40 p.m., Lyude Paul wrote: > > [CAUTION: External Email] > > > > So a couple of things: > > > > On Thu, 2019-05-16 at 11:17 -0400, sunpeng...@amd.com wro

Re: [PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-01 Thread Jeffrey Hugo
On Mon, Jul 1, 2019 at 1:45 PM Rob Clark wrote: > > On Mon, Jul 1, 2019 at 10:39 AM Jeffrey Hugo wrote: > > > > Creating the msm gem address space requires a reference to the dev where > > the iommu is located. The driver currently assumes this is the same as > > the platform device, which break

Re: [PATCH] drm/msm/mdp5: Use eariler mixers when possible

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 10:41 AM Jeffrey Hugo wrote: > > When assigning a mixer, we will iterate through the entire list looking for > a suitable match. This results in selecting the last match. We should > stop at the first match, since lower numbered mixers will typically have > more capabiliti

Re: [PATCH v2 1/3] drm: Add helper to compare edids.

2019-07-01 Thread Lyude Paul
Sorry for the late response! I like the idea here and I've brought up edid comparison a couple times. Hopefully this isn't overkill, but I had a little more in mind then just a helper like this (and I've had this on my mind for a while! When it comes to suspend/resume reprobing, I think there's mo

Re: [PATCH] drm/msm/mdp5: Add msm8998 support

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 10:45 AM Jeffrey Hugo wrote: > > Add support for MDP5 version v3.0 found on msm8998. > > Signed-off-by: Jeffrey Hugo > --- > > 8998 support could probably be MDP5 or DPU. This MDP5 support works, > but may not support all of the features that 8998 supports. However, > DPU

Re: [PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 10:39 AM Jeffrey Hugo wrote: > > Creating the msm gem address space requires a reference to the dev where > the iommu is located. The driver currently assumes this is the same as > the platform device, which breaks when the iommu is outside of the > platform device. Use th

Re: [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 12:07 PM Jeffrey Hugo wrote: > > On 7/1/2019 12:58 PM, Rob Clark wrote: > > On Mon, Jul 1, 2019 at 11:37 AM Jeffrey Hugo wrote: > >> > >> On 6/30/2019 9:01 AM, Rob Clark wrote: > >>> From: Rob Clark > >>> > >>> Do an extra enable/disable cycle at init, to get the clks into

Re: [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-01 Thread Jeffrey Hugo
On 7/1/2019 12:58 PM, Rob Clark wrote: On Mon, Jul 1, 2019 at 11:37 AM Jeffrey Hugo wrote: On 6/30/2019 9:01 AM, Rob Clark wrote: From: Rob Clark Do an extra enable/disable cycle at init, to get the clks into disabled state in case bootloader left them enabled. In case they were already en

Re: [PATCH 1/5] clk: inherit clocks enabled by bootloader

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 11:25 AM Eric Anholt wrote: > > Rob Clark writes: > > > From: Rob Clark > > > > The goal here is to support inheriting a display setup by bootloader, > > although there may also be some non-display related use-cases. > > > > Rough idea is to add a flag for clks and power d

Re: [linux-sunxi] Re: [PATCH v10 04/11] drm/sun4i: tcon: Compute DCLK dividers based on format, lanes

2019-07-01 Thread Jagan Teki
On Tue, Jun 25, 2019 at 8:07 PM Maxime Ripard wrote: > > On Mon, Jun 24, 2019 at 09:32:11PM +0530, Jagan Teki wrote: > > On Mon, Jun 24, 2019 at 6:34 PM Maxime Ripard > > wrote: > > > > > > On Fri, Jun 14, 2019 at 05:33:23PM +0530, Jagan Teki wrote: > > > > On Thu, Jun 13, 2019 at 7:28 PM Maxime

Re: [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 11:37 AM Jeffrey Hugo wrote: > > On 6/30/2019 9:01 AM, Rob Clark wrote: > > From: Rob Clark > > > > Do an extra enable/disable cycle at init, to get the clks into disabled > > state in case bootloader left them enabled. > > > > In case they were already enabled, the clk_pre

Re: [PATCH 5/5] drm/bridge: ti-sn65dsi86: support booloader enabled display

2019-07-01 Thread Jeffrey Hugo
On 6/30/2019 9:01 AM, Rob Clark wrote: From: Rob Clark Request the enable gpio ASIS to avoid disabling bridge during probe, if already enabled. And if already enabled, defer enabling runpm until attach to avoid cutting off the power to the bridge. Once we get to attach, we know panel and drm

Re: [PATCH 4/5] drm/msm/dsi: get the clocks into OFF state at init

2019-07-01 Thread Jeffrey Hugo
On 6/30/2019 9:01 AM, Rob Clark wrote: From: Rob Clark Do an extra enable/disable cycle at init, to get the clks into disabled state in case bootloader left them enabled. In case they were already enabled, the clk_prepare_enable() has no real effect, other than getting the enable_count/prepare

Re: [Freedreno] [PATCH 3/5] drm/msm/dsi: split clk rate setting and enable

2019-07-01 Thread Jeffrey Hugo
On Sun, Jun 30, 2019 at 9:03 AM Rob Clark wrote: > > From: Rob Clark > > Prep work for the following patch. > > Signed-off-by: Rob Clark Reviewed-by: Jeffrey Hugo

Re: [PATCH 1/5] clk: inherit clocks enabled by bootloader

2019-07-01 Thread Eric Anholt
Rob Clark writes: > From: Rob Clark > > The goal here is to support inheriting a display setup by bootloader, > although there may also be some non-display related use-cases. > > Rough idea is to add a flag for clks and power domains that might > already be enabled when kernel starts, and which

Re: [Freedreno] [PATCH 2/5] genpd/gdsc: inherit display powerdomain from bootloader

2019-07-01 Thread Jeffrey Hugo
On Sun, Jun 30, 2019 at 9:02 AM Rob Clark wrote: > > From: Rob Clark > > Mark power domains that may be enabled by bootloader, and which should > not be disabled until a driver takes them over. > > This keeps efifb alive until the real driver can be probed. In a distro > kernel, the driver will

Re: [PATCH v5 09/12] drm/virtio: rework virtio_gpu_object_create fencing

2019-07-01 Thread Gurchetan Singh
On Fri, Jun 28, 2019 at 5:14 AM Gerd Hoffmann wrote: > > Use gem reservation helpers and direct reservation_object_* calls > instead of ttm. > > v5: fix fencing (Chia-I Wu). > v3: Due to using the gem reservation object it is initialized and ready > for use before calling ttm_bo_init, so we can al

Re: [Freedreno] [PATCH 1/5] clk: inherit clocks enabled by bootloader

2019-07-01 Thread Jeffrey Hugo
On Sun, Jun 30, 2019 at 9:02 AM Rob Clark wrote: > > From: Rob Clark > > The goal here is to support inheriting a display setup by bootloader, > although there may also be some non-display related use-cases. > > Rough idea is to add a flag for clks and power domains that might > already be enable

[PATCH] drm/msm/mdp5: Add msm8998 support

2019-07-01 Thread Jeffrey Hugo
Add support for MDP5 version v3.0 found on msm8998. Signed-off-by: Jeffrey Hugo --- 8998 support could probably be MDP5 or DPU. This MDP5 support works, but may not support all of the features that 8998 supports. However, DPU seems to only support 845 (MDP v4.0) with fundamental assumptions ab

[PATCH] drm/msm/mdp5: Use eariler mixers when possible

2019-07-01 Thread Jeffrey Hugo
When assigning a mixer, we will iterate through the entire list looking for a suitable match. This results in selecting the last match. We should stop at the first match, since lower numbered mixers will typically have more capabilities, and are likely to be what the bootloader used, if we are lo

[PATCH] drm/msm/mdp5: Use drm_device for creating gem address space

2019-07-01 Thread Jeffrey Hugo
Creating the msm gem address space requires a reference to the dev where the iommu is located. The driver currently assumes this is the same as the platform device, which breaks when the iommu is outside of the platform device. Use the drm_device instead, which happens to always have a reference

Re: [PATCH v5 1/7] dt-bindings: Add panel-timing subnode to simple-panel

2019-07-01 Thread Doug Anderson
Hi, On Sun, Jun 30, 2019 at 1:03 PM Sam Ravnborg wrote: > > Hi Douglas. > > Some long overdue review feedback. > > On Mon, Apr 01, 2019 at 10:17:18AM -0700, Douglas Anderson wrote: > > From: Sean Paul > > > > This patch adds a new subnode to simple-panel allowing us to override > > the typical t

Re: [PATCH 1/4] gpu: Use dev_get_drvdata()

2019-07-01 Thread Emil Velikov
On Mon, 1 Jul 2019 at 13:37, Emil Velikov wrote: > > Hi Fuqian, > > On Mon, 1 Jul 2019 at 08:13, Fuqian Huang wrote: > > > > Using dev_get_drvdata directly. > > > > Signed-off-by: Fuqian Huang > > --- > > drivers/gpu/drm/msm/adreno/adreno_device.c | 6 ++ > > drivers/gpu/drm/msm/disp/

Re: [PATCH v2 2/4] backlight: Expose brightness curve type through sysfs

2019-07-01 Thread Matthias Kaehlcke
Hi, On Fri, Jun 28, 2019 at 09:34:52AM +0100, Daniel Thompson wrote: > On Wed, Jun 26, 2019 at 04:56:11PM +0200, Pavel Machek wrote: > > Hi! > > > > > Export the type of the brightness curve via the new sysfs attribute > > > 'scale'. The value of the attribute may be a simple string like > > > 'l

Re: [PATCH v5 2/7] drm/panel: simple: Add ability to override typical timing

2019-07-01 Thread Doug Anderson
Hi, On Sun, Jun 30, 2019 at 1:22 PM Sam Ravnborg wrote: > > > @@ -91,6 +92,8 @@ struct panel_simple { > > struct i2c_adapter *ddc; > > > > struct gpio_desc *enable_gpio; > > + > > + struct drm_display_mode override_mode; > I fail to see where this poiter is assigned. In panel_sim

Re: [PATCH v5 2/7] drm/panel: simple: Add ability to override typical timing

2019-07-01 Thread Doug Anderson
Hi, On Sun, Jun 30, 2019 at 1:55 PM Sam Ravnborg wrote: > > Hi Douglas. > > > > + > > > + /* Only add timings if override was not there or failed to validate */ > > > + if (num == 0 && panel->desc->num_timings) > > > + num = panel_simple_get_timings_modes(panel); > > > + > > > + /

[Bug 107990] Got Dying Light working in Arch by changing Mesa's compile steps, how to get it working Out Of the Box?

2019-07-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107990 John changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH 1/4] gpu: Use dev_get_drvdata()

2019-07-01 Thread Jordan Crouse
On Mon, Jul 01, 2019 at 11:22:35AM +0800, Fuqian Huang wrote: > Using dev_get_drvdata directly. msm parts LGTM. If you split the patches feel free to add my Acked-by: Jordan Crouse > Signed-off-by: Fuqian Huang > --- > drivers/gpu/drm/msm/adreno/adreno_device.c | 6 ++ > drivers/gp

Re: [PATCH 2/4] devicetree: Update led binding

2019-07-01 Thread Dan Murphy
JJ On 7/1/19 10:14 AM, Jean-Jacques Hiblot wrote: Update the led binding to describe the possibility to add a "compatible" option to create a child-device, user of the LED. Signed-off-by: Jean-Jacques Hiblot Cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/leds/common.txt

[PATCH 0/4] Add a generic driver for LED-based backlight

2019-07-01 Thread Jean-Jacques Hiblot
This series aims to add a led-backlight driver, similar to pwm-backlight, but using a LED class device underneath. A few years ago (2015), Tomi Valkeinen posted a series implementing a backlight driver on top of a LED device: https://patchwork.kernel.org/patch/7293991/ https://patchwork.kernel.org

[PATCH 4/4] devicetree: Add led-backlight binding

2019-07-01 Thread Jean-Jacques Hiblot
From: Tomi Valkeinen Add DT binding for led-backlight. Signed-off-by: Tomi Valkeinen Signed-off-by: Jean-Jacques Hiblot Cc: devicet...@vger.kernel.org --- .../video/backlight/led-backlight.txt | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 Documentatio

[PATCH 3/4] backlight: add led-backlight driver

2019-07-01 Thread Jean-Jacques Hiblot
From: Tomi Valkeinen This patch adds a led-backlight driver (led_bl), which is mostly similar to pwm_bl except the driver uses a LED class driver to adjust the brightness in the HW. Signed-off-by: Tomi Valkeinen Signed-off-by: Jean-Jacques Hiblot --- drivers/video/backlight/Kconfig | 7 +

[PATCH 1/4] leds: of: create a child device if the LED node contains a "compatible" string

2019-07-01 Thread Jean-Jacques Hiblot
This allows the LED core to probe a consumer device when the LED is registered. In that way the LED can be seen like a minimalist bus that can handle at most one device. This is useful to manage simple devices, the purpose of which is mostly to drive a LED. One example would be a LED-controlled ba

[PATCH 2/4] devicetree: Update led binding

2019-07-01 Thread Jean-Jacques Hiblot
Update the led binding to describe the possibility to add a "compatible" option to create a child-device, user of the LED. Signed-off-by: Jean-Jacques Hiblot Cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/leds/common.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 3/3] video: fbdev: don't print error message on framebuffer_alloc() failure

2019-07-01 Thread Bartlomiej Zolnierkiewicz
On 7/1/19 10:37 AM, Benjamin Tissoires wrote: > Hi Bartlomiej, Hi Benjamin, > On Fri, Jun 14, 2019 at 4:52 PM Bartlomiej Zolnierkiewicz > wrote: >> >> framebuffer_alloc() can fail only on kzalloc() memory allocation >> failure and since kzalloc() will print error message in such case >> we can

Re: [PATCH 0/1] drm: panel-orientation-quirks: Add extra quirk table entry GPD MicroPC

2019-07-01 Thread Hans de Goede
Hi, On 28-06-19 13:51, Maxime Ripard wrote: On Fri, Jun 28, 2019 at 12:04:30PM +0200, Hans de Goede wrote: Hi all, On 24-06-19 17:40, Hans de Goede wrote: Hi All, Good news I have a contact inside GPD now and from now on their BIOS-es will have proper sys_vendor and product_name DMI strings.

Re: Why is Thunderbolt 3 limited to 2.5 GT/s on Linux?

2019-07-01 Thread Michel Dänzer
On 2019-06-28 2:21 p.m., Timur Kristóf wrote: > > I haven't found a good way to measure the maximum PCIe throughput > between the CPU and GPU, amdgpu.benchmark=3 on the kernel command line will measure throughput for various transfer sizes during driver initialization. > but I did take a look

Re: Why is Thunderbolt 3 limited to 2.5 GT/s on Linux?

2019-07-01 Thread Alex Deucher
On Mon, Jul 1, 2019 at 10:38 AM Timur Kristóf wrote: > > > > > > Like I said the device really is limited to 2.5 GT/s even > > > > > though it > > > > > should be able to do 8 GT/s. > > > > > > > > There is Thunderbolt link between the host router (your host > > > > system) > > > > and > > > > the

Re: [PATCH 1/4] drm/vram: Set GEM object functions for PRIME

2019-07-01 Thread Thomas Zimmermann
Hi Am 01.07.19 um 10:48 schrieb Gerd Hoffmann: > On Mon, Jul 01, 2019 at 09:28:59AM +0200, Thomas Zimmermann wrote: >> Hi >> >> Am 01.07.19 um 08:32 schrieb Gerd Hoffmann: >>> On Fri, Jun 28, 2019 at 02:26:56PM +0200, Thomas Zimmermann wrote: PRIME functionality is now provided via the callba

Re: [PATCH 1/4] dt-bindings: chosen: document panel-id binding

2019-07-01 Thread Rob Clark
On Mon, Jul 1, 2019 at 7:03 AM Rob Herring wrote: > > On Sun, Jun 30, 2019 at 2:36 PM Rob Clark wrote: > > > > From: Rob Clark > > > > The panel-id property in chosen can be used to communicate which panel, > > of multiple possibilities, is installed. > > > > Signed-off-by: Rob Clark > > --- >

Re: [PATCH 00/12] ARM: davinci: da850-evm: remove more legacy GPIO calls

2019-07-01 Thread Sekhar Nori
Hi Lee, Daniel, Jingoo, On 25/06/19 10:04 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This is another small step on the path to liberating davinci from legacy > GPIO API calls and shrinking the davinci GPIO driver by not having to > support the base GPIO number anymore. > > T

Re: [PATCH v3 01/22] drm: Include ddc adapter pointer in struct drm_connector

2019-07-01 Thread Thomas Zimmermann
Hi Am 01.07.19 um 15:27 schrieb Andrzej Pietrasiewicz: > Hi Thomas, > > Thank you for your comments. Please see inline. > > W dniu 30.06.2019 o 10:12, Thomas Zimmermann pisze: >> Hi >> >> I like the idea, but would prefer a more structured approach. >> >> Setting connector->ddc before calling dr

Re: [PATCH 1/4] dt-bindings: chosen: document panel-id binding

2019-07-01 Thread Jeffrey Hugo
On 7/1/2019 8:03 AM, Rob Herring wrote: On Sun, Jun 30, 2019 at 2:36 PM Rob Clark wrote: From: Rob Clark The panel-id property in chosen can be used to communicate which panel, of multiple possibilities, is installed. Signed-off-by: Rob Clark --- Documentation/devicetree/bindings/chosen.

Re: Why is Thunderbolt 3 limited to 2.5 GT/s on Linux?

2019-07-01 Thread Alex Deucher
On Sun, Jun 30, 2019 at 2:27 PM Timur Kristóf wrote: > > > > > Sure, though in this case 3 of those downstream ports are not > > > exposed > > > by the hardware, so it's a bit surprising to see them there. > > > > They lead to other peripherals on the TBT host router such as the TBT > > controller

Re: [PATCH 1/4] dt-bindings: chosen: document panel-id binding

2019-07-01 Thread Rob Herring
On Sun, Jun 30, 2019 at 2:36 PM Rob Clark wrote: > > From: Rob Clark > > The panel-id property in chosen can be used to communicate which panel, > of multiple possibilities, is installed. > > Signed-off-by: Rob Clark > --- > Documentation/devicetree/bindings/chosen.txt | 69

What is Direct Rendering Infrastructure (DRI)?

2019-07-01 Thread Turritopsis Dohrnii Teo En Ming
Good evening from Singapore, May I know what is Direct Rendering Infrastructure (DRI)? Thank you. -BEGIN EMAIL SIGNATURE- The Gospel for all Targeted Individuals (TIs): [The New York Times] Microwave Weapons Are Prime Suspect in Ills of U.S. Embassy Workers Link: https://www.nytimes.

Re: [PATCH] [v8, 2/2] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-07-01 Thread Emil Velikov
Hi Jerry, On Thu, 25 Apr 2019 at 08:40, Jerry Han wrote: > > Support Boe Himax8279d 8.0" 1200x1920 TFT LCD panel, it is a MIPI DSI > panel. > > V8: > - Modify communication address > > V7: > - Add the information of the reviewer > - Remove unnecessary delays, The udelay_range code gracefully retu

Re: [PATCH 1/4] gpu: Use dev_get_drvdata()

2019-07-01 Thread Laurent Pinchart
Hi Fuqian, Thank you for the pach. On Mon, Jul 01, 2019 at 11:22:35AM +0800, Fuqian Huang wrote: > Using dev_get_drvdata directly. This could be expanded a bit. Maybe "Several drivers cast a struct device pointer to a struct platform_device pointer only to then call platform_get_drvdata(). Thes

Re: [PATCH v2 07/27] gpu: drm: remove memset after zalloc

2019-07-01 Thread Emil Velikov
Hi Fuqian, On Fri, 28 Jun 2019 at 09:30, Fuqian Huang wrote: > > zalloc has already zeroed the memory. > so memset is unneeded. > > Signed-off-by: Fuqian Huang > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 2 -- > drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0

Re: [PATCH 1/4] gpu: Use dev_get_drvdata()

2019-07-01 Thread Emil Velikov
Hi Fuqian, On Mon, 1 Jul 2019 at 08:13, Fuqian Huang wrote: > > Using dev_get_drvdata directly. > > Signed-off-by: Fuqian Huang > --- > drivers/gpu/drm/msm/adreno/adreno_device.c | 6 ++ > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 13 + > drivers/gpu/drm/msm/disp/m

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-01 Thread Andrzej Hajda
On 01.07.2019 11:58, Maxime Ripard wrote: > Hi! > > On Fri, Jun 28, 2019 at 12:39:32PM +0200, Andrzej Hajda wrote: >> On 12.06.2019 17:20, Maxime Ripard wrote: I am not sure if I understand whole discussion here, but I also do not understand whole edp-connector thing. >>> The context is t

[Bug 107877] deepin-desktop: xdg-email: no method available for opening 'mailto:'

2019-07-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107877 Andre Klapper changed: What|Removed |Added URL|https://routerloginnet.tips | |/

linux-next: build failure after merge of the hmm tree

2019-07-01 Thread Stephen Rothwell
Hi all, After merging the hmm tree, today's linux-next build (x86_64 allmodconfig) failed like this: mm/hmm.c: In function 'hmm_get_or_create': mm/hmm.c:50:2: error: implicit declaration of function 'lockdep_assert_held_exclusive'; did you mean 'lockdep_assert_held_once'? [-Werror=implicit-func

[Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0

2019-07-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111010 e88z4 changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PATCH v2 1/4] drm/mga: drop dependency on drm_os_linux.h

2019-07-01 Thread Emil Velikov
On Sun, 23 Jun 2019 at 11:36, Sam Ravnborg wrote: > -int mga_driver_fence_wait(struct drm_device *dev, unsigned int *sequence) > +void mga_driver_fence_wait(struct drm_device *dev, unsigned int *sequence) > { > drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; >

Re: [PATCH v1 33/33] drm/hisilicon: drop use of drmP.h

2019-07-01 Thread Emil Velikov
On Sun, 30 Jun 2019 at 07:20, Sam Ravnborg wrote: > > Drop the deprecated drmP.h header file. > > Made the header file selfcontained, and dropped unused header files. > Fixed fallout in remaining files. > > Signed-off-by: Sam Ravnborg > Cc: Xinliang Liu > Cc: Rongrong Zou > Cc: Xinwei Kong > C

Re: [PATCH v2] drm/bridge: adv7511: Attach to DSI host at probe time

2019-07-01 Thread Andrzej Hajda
On 27.06.2019 17:18, Matt Redfearn wrote: > In contrast to all of the DSI panel drivers in drivers/gpu/drm/panel > which attach to the DSI host via mipi_dsi_attach() at probe time, the > ADV7533 bridge device does not. Instead it defers this to the point that > the upstream device connects to its b

Re: [PATCH] drm/bridge: tc358767: do a software reset if reset pin isn't connected

2019-07-01 Thread Andrzej Hajda
On 27.06.2019 10:59, Lucas Stach wrote: > To get the chip into the expected state, even when the hardware reset pin > isn't connected, do a software reset in this case. It isn't as thorough as > the hardware reset, as the I2C communication block can not be reset for > obvious reasons, but it's gett

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

2019-07-01 Thread Andrzej Hajda
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 will cause some frequent audio drop-out and glitches as > reported on Amlogic, Allwinner and Roc

Re: drm/msm/dpu: Correct dpu encoder spinlock initialization

2019-07-01 Thread dhar
On 2019-06-26 03:10, Jeykumar Sankaran wrote: On 2019-06-24 22:44, d...@codeaurora.org wrote: On 2019-06-25 03:56, Jeykumar Sankaran wrote: On 2019-06-23 23:27, Shubhashree Dhar wrote: dpu encoder spinlock should be initialized during dpu encoder init instead of dpu encoder setup which is part

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-01 Thread Maxime Ripard
Hi! On Fri, Jun 28, 2019 at 12:39:32PM +0200, Andrzej Hajda wrote: > On 12.06.2019 17:20, Maxime Ripard wrote: > >> I am not sure if I understand whole discussion here, but I also do not > >> understand whole edp-connector thing. > > The context is this one: > > https://patchwork.freedesktop.org/p

[GIT PULL] etnaviv-fixes for 5.2-rc8/final

2019-07-01 Thread Lucas Stach
Hi Daniel, hi Dave, please pull in this fix, which fixes a kernel nullptr deref on module unload when any etnaviv GPU failed to initialize properly. Regards, Lucas The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are avail

[Bug 107877] deepin-desktop: xdg-email: no method available for opening 'mailto:'

2019-07-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107877 --- Comment #28 from rozersamith --- mywifiexxt.net a one stop solution shop for all your queries related to Netgear WiFi Extender Setup and Netgear Login issues. Get in touch will the leading technical experts, who are eager to provide you with

Re: [PATCH] drm: bridge: DRM_SIL_SII8620 should depend on, not select INPUT

2019-07-01 Thread Andrzej Hajda
On 01.07.2019 11:23, Andrzej Hajda wrote: > On 01.07.2019 05:39, Randy Dunlap wrote: >> From: Randy Dunlap >> >> A single driver should not enable (select) an entire subsystem, >> such as INPUT, so change the 'select' to "depends on". >> >> Fixes: d6abe6df706c ("drm/bridge: sil_sii8620: do not hav

Re: [PATCH] drm: bridge: DRM_SIL_SII8620 should depend on, not select INPUT

2019-07-01 Thread Andrzej Hajda
On 01.07.2019 05:39, Randy Dunlap wrote: > From: Randy Dunlap > > A single driver should not enable (select) an entire subsystem, > such as INPUT, so change the 'select' to "depends on". > > Fixes: d6abe6df706c ("drm/bridge: sil_sii8620: do not have a dependency of > RC_CORE") > > Signed-off-by:

Re: [PATCH v1] drm/arm: drop use of drmP.h

2019-07-01 Thread Liviu Dudau
On Sun, Jun 30, 2019 at 07:21:31AM +0200, Sam Ravnborg wrote: > Drop use of the deprecated drmP.h header file. > > While touching the list of include files divide them > into blocks and sort within each block. > Fix fallout. > > Signed-off-by: Sam Ravnborg > Cc: Liviu Dudau Acked-by: Liviu Dud

Re: [PATCH v1 03/33] drm/stm: drop use of drmP.h

2019-07-01 Thread Benjamin Gaignard
Le dim. 30 juin 2019 à 08:19, Sam Ravnborg a écrit : > > Drop use of the deprecated header file drmP.h > from the sole user in the stm driver. > Replace with necessary include files. Applied on drm-misc-next. Thanks, Benjamin > > Signed-off-by: Sam Ravnborg > Cc: Yannick Fertre > Cc: Philippe

Re: [PATCH 1/4] drm/vram: Set GEM object functions for PRIME

2019-07-01 Thread Gerd Hoffmann
On Mon, Jul 01, 2019 at 09:28:59AM +0200, Thomas Zimmermann wrote: > Hi > > Am 01.07.19 um 08:32 schrieb Gerd Hoffmann: > > On Fri, Jun 28, 2019 at 02:26:56PM +0200, Thomas Zimmermann wrote: > >> PRIME functionality is now provided via the callback functions in > >> struct drm_gem_object_funcs. Th

Re: use exact allocation for dma coherent memory

2019-07-01 Thread Christoph Hellwig
On Fri, Jun 14, 2019 at 03:47:10PM +0200, Christoph Hellwig wrote: > Switching to a slightly cleaned up alloc_pages_exact is pretty easy, > but it turns out that because we didn't filter valid gfp_t flags > on the DMA allocator, a bunch of drivers were passing __GFP_COMP > to it, which is rather bo

Re: [PATCH 3/3] video: fbdev: don't print error message on framebuffer_alloc() failure

2019-07-01 Thread Benjamin Tissoires
Hi Bartlomiej, On Fri, Jun 14, 2019 at 4:52 PM Bartlomiej Zolnierkiewicz wrote: > > framebuffer_alloc() can fail only on kzalloc() memory allocation > failure and since kzalloc() will print error message in such case > we can omit printing extra error message in drivers (which BTW is > what the m

[PATCH 2/2] drm/i915: utilize subconnector property for DP

2019-07-01 Thread Oleg Vasilev
Since DP-specific information is stored in driver's structures, every driver needs to implement subconnector property by itself. Signed-off-by: Oleg Vasilev --- drivers/gpu/drm/i915/display/intel_dp.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/gpu/drm/i915/displ

[PATCH 1/2] drm: report dp downstream port type as a subconnector property

2019-07-01 Thread Oleg Vasilev
Currently, downstream port type is only reported in debugfs. This information should be considered important since it reflects the actual physical connector type. Some userspace (e.g. window compositors) may want to show this info to a user. The 'subconnector' property is already utilized for DVI-

Re: [PATCH] drm/selftests: reduce stack usage

2019-07-01 Thread Maxime Ripard
On Fri, Jun 28, 2019 at 02:16:45PM +0200, Arnd Bergmann wrote: > Putting a large drm_connector object on the stack can lead to warnings > in some configuration, such as: > > drivers/gpu/drm/selftests/test-drm_cmdline_parser.c:18:12: error: stack frame > size of 1040 bytes in function 'drm_cmdline_

Re: [PATCH 1/4] drm/vram: Set GEM object functions for PRIME

2019-07-01 Thread Thomas Zimmermann
Hi Am 01.07.19 um 08:32 schrieb Gerd Hoffmann: > On Fri, Jun 28, 2019 at 02:26:56PM +0200, Thomas Zimmermann wrote: >> PRIME functionality is now provided via the callback functions in >> struct drm_gem_object_funcs. The driver-structure functions are obsolete. >> As a side effect of this patch, V

Re: nouveau: DRM: GPU lockup - switching to software fbcon

2019-07-01 Thread Sergey Senozhatsky
On (06/19/19 02:07), Ilia Mirkin wrote: > If all else fails, just remove nouveau_dri.so and/or boot with > nouveau.noaccel=1 -- should be perfect. nouveau.noaccel=1 did the trick. Is there any other, let's say less CPU-intensive, way to fix nouveau? -ss ___

[PATCH v2 0/2] fix vendor prefix for arcxcnn driver and bindings

2019-07-01 Thread Brian Dodge
These v2 patches incorporate the following changes 1/2 dt-bindings: backlight: The documentation for "arc" has been re-added but marked (deprecated) to match the actual driver support for that 2/2 backlight: arcxcnn: Added new-lines and fixed spelling as per feedback Original patch description

[PATCH 1/4] gpu: Use dev_get_drvdata()

2019-07-01 Thread Fuqian Huang
Using dev_get_drvdata directly. Signed-off-by: Fuqian Huang --- drivers/gpu/drm/msm/adreno/adreno_device.c | 6 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 13 + drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c| 6 ++ drivers/gpu/drm/msm/dsi/dsi_host.c

[PATCH] drm/nouveau: fix memory leak in nouveau_conn_reset()

2019-07-01 Thread Yongxin Liu
In nouveau_conn_reset(), if connector->state is true, __drm_atomic_helper_connector_destroy_state() will be called, but the memory pointed by asyc isn't freed. Memory leak happens in the following function __drm_atomic_helper_connector_reset(), where newly allocated asyc->state will be assigned to

[PATCH 1/2] dt-bindings: backlight: fix vendor prefix for ArcticSand arcxcnn driver bindings

2019-07-01 Thread Brian Dodge
The vendor-prefixes.txt file properly refers to ArcticSand as arctic but the driver bindings improperly abbreviated the prefix to arc. This was a mistake in the original patch. This patch adds "arctic" and retains "arc" (deprecated) bindings Signed-off-by: Brian Dodge --- .../bindings/leds/backl

[PATCH 2/2] backlight: arcxcnn: add "arctic" vendor prefix

2019-07-01 Thread Brian Dodge
The original patch adding this driver and DT bindings improperly used "arc" as the vendor-prefix. This adds "arctic" which is the proper prefix and retains "arc" to allow existing users of the "arc" prefix to update to new kernels. There is at least one (Samsung Chromebook Plus) Signed-off-by: Bri

[PATCH] drm: bridge: DRM_SIL_SII8620 should depend on, not select INPUT

2019-07-01 Thread Randy Dunlap
From: Randy Dunlap A single driver should not enable (select) an entire subsystem, such as INPUT, so change the 'select' to "depends on". Fixes: d6abe6df706c ("drm/bridge: sil_sii8620: do not have a dependency of RC_CORE") Signed-off-by: Randy Dunlap Cc: Inki Dae Cc: Andrzej Hajda Cc: Laure

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

2019-07-01 Thread Lowry Li (Arm Technology China)
Hi, This is a duplicated patchset and please ignore this. The latest changes for power management have been committed at: https://patchwork.freedesktop.org/series/62181/ Sorry for the inconvenience. Best regards, Lowry On Fri, Jun 21, 2019 at 03:57:29PM +0800, Lowry Li (Arm Technology China) wr

  1   2   >