Re: [PATCH v4.19.x] make 'user_access_begin()' do 'access_ok()'

2020-05-13 Thread Greg KH
On Wed, May 13, 2020 at 06:13:17AM +, Ashwin H wrote: > This patch fixes CVE-2018-20669 in 4.19 tree. Ok, but what does that mean for us? You need to say why you are sending a patch, otherwise we will guess wrong. greg k-h ___ dri-devel mailing

Re: [RFC 09/17] drm/amdgpu: use dma-fence annotations in cs_submit()

2020-05-13 Thread Christian König
Am 12.05.20 um 10:59 schrieb Daniel Vetter: This is a bit tricky, since ->notifier_lock is held while calling dma_fence_wait we must ensure that also the read side (i.e. dma_fence_begin_signalling) is on the same side. If we mix this up lockdep complaints, and that's again why we want to have

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Daniel Vetter
On Tue, May 12, 2020 at 8:22 PM Alex Deucher wrote: > > On Tue, May 12, 2020 at 12:38 PM Daniel Vetter wrote: > > > > On Tue, May 12, 2020 at 3:22 PM Alex Deucher wrote: > > > > > > On Tue, May 12, 2020 at 5:40 AM Karoly Balogh (Charlie/SGR) > > > wrote: > > > > > > > > Hi, > > > > > > > > On

Re: [Nouveau] [PATCH 1/3] drm/radeon: remove AGP support

2020-05-13 Thread Christian König
Am 12.05.20 um 23:12 schrieb Alex Deucher: On Tue, May 12, 2020 at 4:52 PM Roy Spliet wrote: Op 12-05-2020 om 14:36 schreef Alex Deucher: On Tue, May 12, 2020 at 4:16 AM Michel Dänzer wrote: On 2020-05-11 10:12 p.m., Alex Deucher wrote: On Mon, May 11, 2020 at 1:17 PM Christian König

Re: [RFC 16/17] drm/amdgpu: gpu recovery does full modesets

2020-05-13 Thread Daniel Vetter
On Tue, May 12, 2020 at 10:10 PM Kazlauskas, Nicholas wrote: > > On 2020-05-12 12:12 p.m., Daniel Vetter wrote: > > On Tue, May 12, 2020 at 4:24 PM Alex Deucher wrote: > >> > >> On Tue, May 12, 2020 at 9:45 AM Daniel Vetter > >> wrote: > >>> > >>> On Tue, May 12, 2020 at 3:29 PM Alex Deucher

Re: [RFC v2 0/1] drm/connector: Add support for privacy-screen properties

2020-05-13 Thread Pekka Paalanen
On Tue, 12 May 2020 18:09:15 +0200 Hans de Goede wrote: > Hi, > > On 5/12/20 4:20 PM, Pekka Paalanen wrote: > > On Tue, 12 May 2020 10:18:31 +0200 > > Hans de Goede wrote: > > > >> Hi, > >> > >> On 5/11/20 9:55 PM, Rajat Jain wrote: > >>> Hi Hans, > >>> > >>> On Mon, May 11, 2020 at 10:47

[Bug 195159] nouveau incorrect ACPI usgage results in ACPI Error : AE_AML_PACKAGE_LIMIT

2020-05-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195159 linux4all (joerg.ka...@gmx.de) changed: What|Removed |Added CC||joerg.ka...@gmx.de ---

[Bug 195159] nouveau incorrect ACPI usgage results in ACPI Error : AE_AML_PACKAGE_LIMIT

2020-05-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195159 --- Comment #12 from linux4all (joerg.ka...@gmx.de) --- on a HP ZBook 17 G4 17: PCI 100.0: 0300 VGA compatible controller (VGA) [Created at pci.386] Unique ID: VCu0.mCEkXGSxUXA Parent ID: vSkL.fBtNDRZZiP3 SysFS ID:

Re: [PATCH v4.19.x] make 'user_access_begin()' do 'access_ok()'

2020-05-13 Thread Greg KH
On Wed, May 13, 2020 at 07:19:21AM +0530, ashwin-h wrote: > From: Linus Torvalds > > commit 594cc251fdd0d231d342d88b2fdff4bc42fb0690 upstream. > > Originally, the rule used to be that you'd have to do access_ok() > separately, and then user_access_begin() before actually doing the > direct

Re: [PATCH v4.19.x] make 'user_access_begin()' do 'access_ok()'

2020-05-13 Thread Ashwin H
This patch fixes CVE-2018-20669 in 4.19 tree. On 13/05/20, 11:36 AM, "Greg KH" wrote: On Wed, May 13, 2020 at 07:19:21AM +0530, ashwin-h wrote: > From: Linus Torvalds > > commit 594cc251fdd0d231d342d88b2fdff4bc42fb0690 upstream. > > Originally, the rule used to be

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Christian König
Am 12.05.20 um 22:12 schrieb Dave Airlie: On Wed, 13 May 2020 at 04:21, Alex Deucher wrote: On Tue, May 12, 2020 at 1:02 PM Rui Salvaterra wrote: On Tue, 12 May 2020 at 17:38, Daniel Vetter wrote: Otherwise all agree, agp is a mighty mess and essentially just crapshot outside of x86. It

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Christian König
Am 13.05.20 um 09:19 schrieb Daniel Vetter: On Tue, May 12, 2020 at 8:22 PM Alex Deucher wrote: On Tue, May 12, 2020 at 12:38 PM Daniel Vetter wrote: On Tue, May 12, 2020 at 3:22 PM Alex Deucher wrote: On Tue, May 12, 2020 at 5:40 AM Karoly Balogh (Charlie/SGR) wrote: Hi, On Tue, 12 May

Re: [RFC 09/17] drm/amdgpu: use dma-fence annotations in cs_submit()

2020-05-13 Thread Daniel Vetter
On Wed, May 13, 2020 at 9:02 AM Christian König wrote: > > Am 12.05.20 um 10:59 schrieb Daniel Vetter: > > This is a bit tricky, since ->notifier_lock is held while calling > > dma_fence_wait we must ensure that also the read side (i.e. > > dma_fence_begin_signalling) is on the same side. If we

drm/bridge: Synopsys DW-HDMI bridge driver for the Ingenic JZ4780 (was Re: Specialising the Synopsys DW-HDMI bridge driver for the Ingenic JZ4780)

2020-05-13 Thread Neil Armstrong
Hi Paul, I'm one of the drm/bridge maintainer and, with Jernel & Jonas, we did most of the changes on the dw-hdmi driver recently for the Amlogic, Rockchip & Allwinner platforms. On 12/05/2020 21:37, Paul Boddie wrote: > Hello, > > On and off over the past few months, I have been looking at

Re: [Nouveau] [PATCH 1/3] drm/radeon: remove AGP support

2020-05-13 Thread Michel Dänzer
On 2020-05-13 9:46 a.m., Christian König wrote: > Am 12.05.20 um 23:12 schrieb Alex Deucher: >> On Tue, May 12, 2020 at 4:52 PM Roy Spliet wrote: >>> >>> I'll volunteer to be the one asking: how big is this performance >>> difference? Have any benchmarks been run before and after removal of AGP

Re: [PATCH 1/1] video: backlight: tosa_lcd: convert to use i2c_new_client_device()

2020-05-13 Thread Lee Jones
On Tue, 12 May 2020, Wolfram Sang wrote: > On Fri, Apr 17, 2020 at 11:14:46AM +0100, Lee Jones wrote: > > On Thu, 26 Mar 2020, Wolfram Sang wrote: > > > > > Move away from the deprecated API and return the shiny new ERRPTR where > > > useful. > > > > > > Signed-off-by: Wolfram Sang > > > --- >

Re: [RFC 02/17] dma-fence: basic lockdep annotations

2020-05-13 Thread Daniel Vetter
On Tue, May 12, 2020 at 11:19 AM Chris Wilson wrote: > Quoting Daniel Vetter (2020-05-12 10:08:47) > > On Tue, May 12, 2020 at 10:04:22AM +0100, Chris Wilson wrote: > > > Quoting Daniel Vetter (2020-05-12 09:59:29) > > > > Design is similar to the lockdep annotations for workers, but with > > > >

Re: [Intel-gfx] [PATCH 4/4] drm/i915/display: Set TRANS_DDI_MODE_SELECT to default value when disabling TRANS_DDI

2020-05-13 Thread Sharma, Swati2
On 31-Jan-20 4:50 PM, Ville Syrjälä wrote: On Thu, Jan 30, 2020 at 08:07:07PM +, Souza, Jose wrote: On Thu, 2020-01-30 at 19:25 +0200, Ville Syrjälä wrote: On Thu, Jan 16, 2020 at 05:58:37PM -0800, José Roberto de Souza wrote: TGL timeouts when disabling MST transcoder and fifo

Re: [PATCH v2 07/15] drm/mgag200: Set pitch in a separate helper function

2020-05-13 Thread Emil Velikov
On Tue, 12 May 2020 at 19:34, Thomas Zimmermann wrote: > > Hi Emil > > Am 12.05.20 um 12:27 schrieb Emil Velikov: > > Hi Thomas, > > > > On Tue, 12 May 2020 at 09:43, Thomas Zimmermann wrote: > > > >> @@ -1143,20 +1178,15 @@ static int mga_crtc_mode_set(struct drm_crtc *crtc, > >>

[drm] Reducing the compressed framebuffer size

2020-05-13 Thread Massimo B.
Hello everybody, since Kernel 5.6.5 I encounter many syslog lines like [kernel] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS. - Last output repeated 4 times -

Re: [PATCH 0/2] drm: encoder_slave: some updates

2020-05-13 Thread Wolfram Sang
On Mon, Mar 16, 2020 at 05:39:05PM +0100, Wolfram Sang wrote: > While converting I2C users to new APIs, I found a refcounting problem in > the encoder_slave implementation. This series fixes it and converts to > the new API. > > Based on linux-next and only build tested. > > Wolfram Sang (2): >

Re: [PATCH v7 04/15] PM / EM: add support for other devices than CPUs in Energy Model

2020-05-13 Thread Lukasz Luba
On 5/11/20 2:43 PM, Quentin Perret wrote: Hey Lukasz, On Monday 11 May 2020 at 12:19:01 (+0100), Lukasz Luba wrote: @@ -27,12 +29,15 @@ struct em_perf_state { * em_perf_domain - Performance domain * @table:List of performance states, in ascending order *

[PATCH v4 0/2] mtd: rawnand: brcmnand: improve hamming oob layout

2020-05-13 Thread Álvaro Fernández Rojas
These patches improve the OOB hamming layout by reducing the number of oob sections and correctly reserving first two bytes for large page NANDs. v4: clarify small/large pages comment. v3: invert patch order. v2: extend original comment and correctly skip byte 6 for small-page. Álvaro Fernández

Re: [PATCH v2 03/91] dt-bindings: clock: Add a binding for the RPi Firmware clocks

2020-05-13 Thread Maxime Ripard
Hi Rob, On Mon, May 11, 2020 at 04:47:27PM -0500, Rob Herring wrote: > On Fri, Apr 24, 2020 at 05:33:44PM +0200, Maxime Ripard wrote: > > The firmware running on the RPi VideoCore can be used to discover and > > change the various clocks running in the BCM2711. Since devices will > > need to use

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Karoly Balogh (Charlie/SGR)
Hi, On Tue, 12 May 2020, Rui Salvaterra wrote: > > FWIW, on my last-generation PowerBook with RV350 (IIRC), there was a > > big performance difference between AGP and PCI GART. The latter was > > sort of usable for normal desktop operation, but not so much for > > OpenGL apps (which were usable

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Rui Salvaterra
On Tue, 12 May 2020 at 08:58, Michel Dänzer wrote: > > FWIW, on my last-generation PowerBook with RV350 (IIRC), there was a big > performance difference between AGP and PCI GART. The latter was sort of > usable for normal desktop operation, but not so much for OpenGL apps > (which were usable

Re: [PATCH v3 2/2] mtd: rawnand: brcmnand: improve hamming oob layout

2020-05-13 Thread Álvaro Fernández Rojas
Hi Miquèl, > El 12 may 2020, a las 9:19, Miquel Raynal > escribió: > > Hi Álvaro, > > Álvaro Fernández Rojas wrote on Tue, 12 May 2020 > 09:12:10 +0200: > >> Hi Miquel, >> >> I also had a hard time understanding your email. >> It was quite misleading. >> >>> El 12 may 2020, a las 9:08,

Re: [PATCH v7 03/15] PM / EM: update callback structure and add device pointer

2020-05-13 Thread Lukasz Luba
Hi Quentin, On 5/11/20 12:57 PM, Quentin Perret wrote: On Monday 11 May 2020 at 12:19:00 (+0100), Lukasz Luba wrote: diff --git a/drivers/cpufreq/scmi-cpufreq.c b/drivers/cpufreq/scmi-cpufreq.c index 61623e2ff149..11ee24e06d12 100644 --- a/drivers/cpufreq/scmi-cpufreq.c +++

RE: [RFC v2] drm/connector: Add support for privacy-screen properties (v2)

2020-05-13 Thread Mario.Limonciello
> -Original Message- > From: Hans de Goede > Sent: Monday, May 11, 2020 12:47 PM > To: Maarten Lankhorst; Maxime Ripard; Thomas Zimmermann; Daniel Vetter; David > Airlie; Rajat Jain; Jani Nikula > Cc: Hans de Goede; Pekka Paalanen; Limonciello, Mario; Quintanilla, Sonny; > Jared

Re: [PATCH v3] mtd: rawnand: brcmnand: correctly verify erased pages

2020-05-13 Thread Álvaro Fernández Rojas
Hi Miquèl, El mar., 12 may. 2020 a las 9:34, Miquel Raynal () escribió: > > Hi Álvaro, > > Álvaro Fernández Rojas wrote on Tue, 12 May 2020 > 09:24:32 +0200: > > > Hi Miquèl > > > > > El 12 may 2020, a las 9:16, Miquel Raynal > > > escribió: > > > > > > Hi Álvaro, > > > > > > Álvaro Fernández

[PATCH] drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()

2020-05-13 Thread Liu Ying
Both of the two LVDS channels should be disabled for split mode in the encoder's ->disable() callback, because they are enabled in the encoder's ->enable() callback. Fixes: 6556f7f82b9c ("drm: imx: Move imx-drm driver out of staging") Cc: Philipp Zabel Cc: Sascha Hauer Cc: Pengutronix Kernel

Re: [PATCH 1/1] video: backlight: tosa_lcd: convert to use i2c_new_client_device()

2020-05-13 Thread Wolfram Sang
On Fri, Apr 17, 2020 at 11:14:46AM +0100, Lee Jones wrote: > On Thu, 26 Mar 2020, Wolfram Sang wrote: > > > Move away from the deprecated API and return the shiny new ERRPTR where > > useful. > > > > Signed-off-by: Wolfram Sang > > --- > > drivers/video/backlight/tosa_lcd.c | 4 ++-- > > 1

[PATCH v4 1/2] mtd: rawnand: brcmnand: fix hamming oob layout

2020-05-13 Thread Álvaro Fernández Rojas
First 2 bytes are used in large-page nand. Fixes: ef5eeea6e911 ("mtd: nand: brcm: switch to mtd_ooblayout_ops") Cc: sta...@vger.kernel.org Signed-off-by: Álvaro Fernández Rojas --- v4: no changes v3: invert patch order v2: extend original comment drivers/mtd/nand/raw/brcmnand/brcmnand.c |

[PATCH v2 4/5] dt: bindings: brcmnand: add v2.1 and v2.2 support

2020-05-13 Thread Álvaro Fernández Rojas
Added brcm,brcmnand-v2.1 and brcm,brcmnand-v2.2 as possible compatible strings to support brcmnand controllers v2.1 and v2.2. Signed-off-by: Álvaro Fernández Rojas --- v2: add new patch Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 0/5] mtd: rawnand: brcmnand: support v2.1-v2.2 controllers

2020-05-13 Thread Álvaro Fernández Rojas
Add support for v2.1 and v2.2 NAND controllers. v2: introduce changes suggested by Miquèl. Álvaro Fernández Rojas (5): mtd: rawnand: brcmnand: rename v4 registers mtd: rawnand: brcmnand: fix CS0 layout mtd: rawnand: brcmnand: rename page sizes dt: bindings: brcmnand: add v2.1 and v2.2

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Daniel Vetter
On Wed, May 13, 2020 at 12:26 PM Michel Dänzer wrote: > > On 2020-05-13 11:28 a.m., Rui Salvaterra wrote: > > On Wed, 13 May 2020 at 08:19, Daniel Vetter wrote: > >> > >> i915 is even worse, we manually mess around with clflush. In > >> userspace. So really there's 2 axis for dma memory:

[PATCH v3 19/20] dt-bindings: mali-midgard: Allow dma-coherent

2020-05-13 Thread Andre Przywara
Add the boolean dma-coherent property to the list of allowed properties, since some boards (Arm Juno) integrate the GPU this way. Signed-off-by: Andre Przywara --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Michel Dänzer
On 2020-05-13 12:29 p.m., Daniel Vetter wrote: > On Wed, May 13, 2020 at 12:26 PM Michel Dänzer wrote: >> >> On 2020-05-13 11:28 a.m., Rui Salvaterra wrote: >>> On Wed, 13 May 2020 at 08:19, Daniel Vetter wrote: i915 is even worse, we manually mess around with clflush. In

[PATCH] drm/dp_mst: Fix timeout handling of MST down messages

2020-05-13 Thread Imre Deak
This fixes the following use-after-free problem in case an MST down message times out, while waiting for the response for it: [ 449.022841] [drm:drm_dp_mst_wait_tx_reply.isra.26] timedout msg send 80ba7fa2 2 0 [ 449.022898] [ cut here ] [ 449.022903] list_add

Re: [Nouveau] [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Thomas Zimmermann
Hi Am 13.05.20 um 11:27 schrieb Emil Velikov: > On Tue, 12 May 2020 at 20:48, Alex Deucher wrote: > > > There's some AGP support code in the DRM core. Can some of that declared > as legacy? > > Specifically, what about these AGP-related ioctl calls? Can they be >

[RFC] Deprecate AGP GART support for Radeon/Nouveau/TTM

2020-05-13 Thread Christian König
Unfortunately AGP is still to widely used as we could just drop support for using its GART. Not using the AGP GART also doesn't mean a loss in functionality since drivers will just fallback to the driver specific PCI GART. For now just deprecate the code and don't enable the AGP GART in TTM

Re: [PATCH 0/2] drm: encoder_slave: some updates

2020-05-13 Thread Emil Velikov
Hi Wolfram, On Wed, 13 May 2020 at 10:10, Wolfram Sang wrote: > > On Mon, Mar 16, 2020 at 05:39:05PM +0100, Wolfram Sang wrote: > > While converting I2C users to new APIs, I found a refcounting problem in > > the encoder_slave implementation. This series fixes it and converts to > > the new API.

[PATCH 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-05-13 Thread Vinod Koul
Lontium Lt9611 is a DSI to HDMI bridge which supports two DSI ports and I2S port as an input and HDMI port as output Co-developed-by: Bjorn Andersson Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- drivers/gpu/drm/bridge/Kconfig | 13 + drivers/gpu/drm/bridge/Makefile |1 +

[PATCH 2/3] dt-bindings: display: bridge: Add documentation for LT9611

2020-05-13 Thread Vinod Koul
Lontium LT9611 is a DSI to HDMI bridge which supports 2 DSI ports and I2S port as input and one HDMI port as output Signed-off-by: Vinod Koul --- .../display/bridge/lontium,lt9611.yaml| 178 ++ 1 file changed, 178 insertions(+) create mode 100644

[PATCH 1/3] dt-bindings: vendor-prefixes: Add Lontium vendor prefix

2020-05-13 Thread Vinod Koul
Add prefix for Lontium Semiconductor Corporation Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH 0/3] Add LT9611 DSI to HDMI bridge

2020-05-13 Thread Vinod Koul
Hi, This series adds driver and bindings for Lontium LT9611 bridge chip which takes MIPI DSI as input and HDMI as output. This chip can be found in 96boards RB3 platform [1] commonly called DB845c. [1]: https://www.96boards.org/product/rb3-platform/ Vinod Koul (3): dt-bindings:

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-13 Thread Michel Dänzer
On 2020-05-13 11:28 a.m., Rui Salvaterra wrote: > On Wed, 13 May 2020 at 08:19, Daniel Vetter wrote: >> >> i915 is even worse, we manually mess around with clflush. In >> userspace. So really there's 2 axis for dma memory: coherent vs. >> non-coherent (which is something the dma-api somewhat

Re: [RFC][PATCH 3/4] dma-buf: cma_heap: Extend logic to export CMA regions tagged with "linux,cma-heap"

2020-05-13 Thread Brian Starkey
Hi Rob, On Tue, May 12, 2020 at 11:37:14AM -0500, Rob Herring wrote: > On Mon, May 04, 2020 at 10:06:28AM +0100, Brian Starkey wrote: > > On Fri, May 01, 2020 at 12:01:40PM -0700, John Stultz wrote: > > > On Fri, May 1, 2020 at 4:08 AM Robin Murphy wrote: > > > > > > > > On 2020-05-01 11:21 am,

RE: [PATCH v5 3/3] drm/i915/dp: Expose connector VRR info via debugfs

2020-05-13 Thread Modem, Bhanuprakash
-Original Message- From: Navare, Manasi D Sent: Wednesday, May 13, 2020 11:05 AM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org Cc: Modem, Bhanuprakash ; Navare, Manasi D ; Jani Nikula ; Ville Syrjälä Subject: [PATCH v5 3/3] drm/i915/dp: Expose connector VRR info

Re: [Intel-gfx] [PATCH 4/4] drm/i915/display: Set TRANS_DDI_MODE_SELECT to default value when disabling TRANS_DDI

2020-05-13 Thread Ville Syrjälä
On Wed, May 13, 2020 at 03:09:52PM +0300, Ville Syrjälä wrote: > On Wed, May 13, 2020 at 01:58:47PM +0530, Sharma, Swati2 wrote: > > > > > > On 31-Jan-20 4:50 PM, Ville Syrjälä wrote: > > > On Thu, Jan 30, 2020 at 08:07:07PM +, Souza, Jose wrote: > > >> On Thu, 2020-01-30 at 19:25 +0200,

[Bug 207673] radeon: crash due to over temperature

2020-05-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207673 --- Comment #2 from phileimer (p...@jpmr.org) --- I can give more information about the over temperature problem : * if I keep the 120C limit, the card runs at power level 3 until the driver crashes * limiting at 100C allows the driver to

Re: [drm] Reducing the compressed framebuffer size

2020-05-13 Thread Ville Syrjälä
On Tue, May 12, 2020 at 03:36:01PM +0200, Massimo B. wrote: > Hello everybody, > > since Kernel 5.6.5 I encounter many syslog lines like > > [kernel] [drm] Reducing the compressed framebuffer size. This may lead to > less power savings than a non-reduced-size. Try to increase stolen memory >

RE: [PATCH v4 38/38] videobuf2: use sgtable-based scatterlist wrappers

2020-05-13 Thread Ruhl, Michael J
>-Original Message- >From: Marek Szyprowski >Sent: Tuesday, May 12, 2020 4:34 PM >To: Ruhl, Michael J ; dri- >de...@lists.freedesktop.org; io...@lists.linux-foundation.org; linaro-mm- >s...@lists.linaro.org; linux-ker...@vger.kernel.org >Cc: Pawel Osciak ; Bartlomiej Zolnierkiewicz >;

Re: [Intel-gfx] [PATCH 4/4] drm/i915/display: Set TRANS_DDI_MODE_SELECT to default value when disabling TRANS_DDI

2020-05-13 Thread Ville Syrjälä
On Wed, May 13, 2020 at 01:58:47PM +0530, Sharma, Swati2 wrote: > > > On 31-Jan-20 4:50 PM, Ville Syrjälä wrote: > > On Thu, Jan 30, 2020 at 08:07:07PM +, Souza, Jose wrote: > >> On Thu, 2020-01-30 at 19:25 +0200, Ville Syrjälä wrote: > >>> On Thu, Jan 16, 2020 at 05:58:37PM -0800, José

Re: [PATCH v2 12/15] drm/mgag200: Remove out-commented suspend/resume helpers

2020-05-13 Thread Daniel Vetter
On Wed, May 13, 2020 at 10:15:25AM +0100, Emil Velikov wrote: > On Tue, 12 May 2020 at 19:47, Thomas Zimmermann wrote: > > > > Hi > > > > Am 12.05.20 um 12:14 schrieb Emil Velikov: > > > Hi Thomas, > > > > > > On Tue, 12 May 2020 at 09:43, Thomas Zimmermann > > > wrote: > > >> > > >> The

Re: [PATCH 2/2] drm/ttm: deprecate AGP support

2020-05-13 Thread Daniel Vetter
On Wed, May 13, 2020 at 01:03:13PM +0200, Christian König wrote: > Even when core AGP support is compiled in Radeon and > Nouveau can also work with the PCI GART. > > The AGP support was notorious unstable and hard to > maintain, so deprecate it for now and only enable it if > there is a good

Re: [PATCH 2/2] drm/ttm: deprecate AGP support

2020-05-13 Thread Christian König
Am 13.05.20 um 14:34 schrieb Daniel Vetter: On Wed, May 13, 2020 at 01:03:13PM +0200, Christian König wrote: Even when core AGP support is compiled in Radeon and Nouveau can also work with the PCI GART. The AGP support was notorious unstable and hard to maintain, so deprecate it for now and

Re: [Intel-gfx] [PATCH] drm/dp_mst: Fix timeout handling of MST down messages

2020-05-13 Thread Ville Syrjälä
On Wed, May 13, 2020 at 01:31:55PM +0300, Imre Deak wrote: > This fixes the following use-after-free problem in case an MST down > message times out, while waiting for the response for it: > > [ 449.022841] [drm:drm_dp_mst_wait_tx_reply.isra.26] timedout msg send > 80ba7fa2 2 0 > [

Re: [PATCH v2] dma-buf: fix use-after-free in dmabuffs_dname

2020-05-13 Thread Greg KH
On Wed, May 13, 2020 at 05:40:26PM +0530, Charan Teja Kalla wrote: > > Thank you Greg for the comments. > On 5/12/2020 2:22 PM, Greg KH wrote: > > On Fri, May 08, 2020 at 12:11:03PM +0530, Charan Teja Reddy wrote: > >> The following race occurs while accessing the dmabuf object exported as > >>

Re: [PATCH] drm/i915: Remove duplicate inline specifier on write_pte

2020-05-13 Thread Chris Wilson
Quoting Nathan Chancellor (2020-05-13 19:23:40) > When building with clang: > > drivers/gpu/drm/i915/gt/gen8_ppgtt.c:392:24: warning: duplicate > 'inline' declaration specifier [-Wduplicate-decl-specifier] > declaration specifier [-Wduplicate-decl-specifier] > static __always_inline inline

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-13 Thread Daniel Vetter
On Wed, May 13, 2020 at 10:32:56AM -0400, Andrey Grodzovsky wrote: > > On 5/11/20 5:54 AM, Daniel Vetter wrote: > > On Sat, May 09, 2020 at 02:51:44PM -0400, Andrey Grodzovsky wrote: > > > This RFC is a more of a proof of concept then a fully working solution as > > > there are a few unresolved

Re: [PATCH v5 3/3] drm/i915/dp: Expose connector VRR info via debugfs

2020-05-13 Thread Manasi Navare
On Wed, May 13, 2020 at 04:08:38AM -0700, Modem, Bhanuprakash wrote: > -Original Message- > From: Navare, Manasi D > Sent: Wednesday, May 13, 2020 11:05 AM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: Modem, Bhanuprakash ; Navare, Manasi D > ; Jani Nikula

Re: [PATCH 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-05-13 Thread Emil Velikov
Hi Vinod, Few high-level comments: - handful of functions always return 0 and the return value is never checked - switch to return void - annotate all (nearly) arrays as static const - consistently use multi_reg_write - in some cases non-const array will be fine, overwriting a few entries as

Re: [GIT PULL] mediatek drm next for 5.8

2020-05-13 Thread Daniel Vetter
On Thu, May 14, 2020 at 12:16:59AM +0800, Chun-Kuang Hu wrote: > Hi, Dave & Daniel: > > This include dpi pin mode swap, config mipi_tx current and impedance, > convert mtk-dpi to drm_bridge API, and some fixup. > > The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: >

Re: [PULL] drm-intel-next

2020-05-13 Thread Joonas Lahtinen
Ping for merging this? If there are no issues, I'd prefer to pull in next gvt-next and tag the final pull sooner than later. Regards, Joonas Quoting Joonas Lahtinen (2020-04-30 15:49:04) > Hi Dave & Daniel, > > Fix for performance regression GitLab #1698: Iris Plus 655 and > 4K screen. Missing

Re: [PATCH v2] dma-buf: fix use-after-free in dmabuffs_dname

2020-05-13 Thread Sumit Semwal
On Wed, 13 May 2020 at 21:16, Daniel Vetter wrote: > > On Wed, May 13, 2020 at 02:51:12PM +0200, Greg KH wrote: > > On Wed, May 13, 2020 at 05:40:26PM +0530, Charan Teja Kalla wrote: > > > > > > Thank you Greg for the comments. > > > On 5/12/2020 2:22 PM, Greg KH wrote: > > > > On Fri, May 08,

[Bug 204241] amdgpu fails to resume from suspend

2020-05-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204241 --- Comment #60 from Jordan Maris (jman6...@gmail.com) --- Created attachment 289129 --> https://bugzilla.kernel.org/attachment.cgi?id=289129=edit dmesg log on suspend -- You are receiving this mail because: You are watching the assignee of

Re: [PATCH 2/3] drm/etnaviv: Don't ignore errors on getting clocks

2020-05-13 Thread Fabio Estevam
Hi Lubomir, On Wed, May 13, 2020 at 12:08 PM Lubomir Rintel wrote: > /* Get Clocks: */ > - gpu->clk_reg = devm_clk_get(>dev, "reg"); > + gpu->clk_reg = devm_clk_get_optional(>dev, "reg"); > DBG("clk_reg: %p", gpu->clk_reg); > if (IS_ERR(gpu->clk_reg)) > -

Re: [PATCH 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-05-13 Thread kbuild test robot
the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Vinod-Koul/Add-LT9611-DSI-to-HDMI-bridge/20200513-181150 base: https://git.kernel.org/pub/scm/linux

Re: [PATCH 2/3] drm/etnaviv: Don't ignore errors on getting clocks

2020-05-13 Thread Fabio Estevam
On Wed, May 13, 2020 at 12:08 PM Lubomir Rintel wrote: > > There might be good reasons why the getting a clock failed. To treat the > clocks as optional we're specifically only interested in ignoring -ENOENT, > and devm_clk_get_optional() does just that. > > Signed-off-by: Lubomir Rintel > --- >

RE: [PATCH v4.19.x] make 'user_access_begin()' do 'access_ok()'

2020-05-13 Thread Ashwin H
> Ok, but what does that mean for us? > > You need to say why you are sending a patch, otherwise we will guess wrong. In drivers/gpu/drm/i915/i915_gem_execbuffer.c, ioctl functions does user_access_begin() without doing access_ok(Checks if a user space pointer is valid) first. A local

Re: [PATCH 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-05-13 Thread kbuild test robot
the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Vinod-Koul/Add-LT9611-DSI-to-HDMI-bridge/20200513-181150 base: https://git.kernel.org/pub/scm

Re: [PATCH v3 4/4] drm/virtio: Support virtgpu exported resources

2020-05-13 Thread Michael S. Tsirkin
On Wed, Mar 11, 2020 at 08:20:04PM +0900, David Stevens wrote: > Add support for UUID-based resource sharing mechanism to virtgpu. This > implements the new virtgpu commands and hooks them up to dma-buf's > get_uuid callback. > > Signed-off-by: David Stevens > --- >

[GIT PULL] mediatek drm next for 5.8

2020-05-13 Thread Chun-Kuang Hu
Hi, Dave & Daniel: This include dpi pin mode swap, config mipi_tx current and impedance, convert mtk-dpi to drm_bridge API, and some fixup. The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository

Re: [PATCH v4 7/7] drm/mediatek: mtk_dsi: Create connector for bridges

2020-05-13 Thread Enric Balletbo Serra
Hi Chun-Kuang, Missatge de Enric Balletbo i Serra del dia dv., 1 de maig 2020 a les 17:25: > > Use the drm_bridge_connector helper to create a connector for pipelines > that use drm_bridge. This allows splitting connector operations across > multiple bridges when necessary, instead of having the

Re: [PATCH 2/2] drm/udl: Use GEM vmap/mmap function from SHMEM helpers

2020-05-13 Thread Thomas Zimmermann
Hi Daniel Am 13.05.20 um 17:49 schrieb Daniel Vetter: > On Wed, May 13, 2020 at 05:03:12PM +0200, Thomas Zimmermann wrote: >> The udl driver contains an implementation of GEM vmap and mmap >> operations that is identical to the common SHMEM helper; except >> that udl's code does not support

Re: [RFC PATCH 1/3] drm/debugfs: create debugfs files during drm_dev_register().

2020-05-13 Thread Daniel Vetter
On Wed, May 13, 2020 at 8:12 PM Wambui Karuga wrote: > > > > On Wed, 13 May 2020, Thomas Zimmermann wrote: > > > Hi > > > > Am 13.05.20 um 13:41 schrieb Wambui Karuga: > >> Introduce the ability to track requests for the addition of drm debugfs > >> files at any time and have them added all at

[PATCH 03/11] tty/sysrq: constify the the sysrq_key_op(s)

2020-05-13 Thread Emil Velikov
All the users threat them as immutable - annotate them as such. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ker...@vger.kernel.org Signed-off-by: Emil Velikov --- Please keep me in the CC list, as I'm not subscribed to the list. IMHO it would be better if this gets merged this via the tty

[PATCH 04/11] alpha: constify sysrq_key_op

2020-05-13 Thread Emil Velikov
With earlier commits, the API no longer discards the const-ness of the sysrq_key_op. As such we can add the notation. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ker...@vger.kernel.org Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Cc: linux-al...@vger.kernel.org

[PATCH 02/11] tty/sysrq: constify the sysrq API

2020-05-13 Thread Emil Velikov
The user is not supposed to thinker with the underlying sysrq_key_op. Make that explicit by adding a handful of const notations. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ker...@vger.kernel.org Signed-off-by: Emil Velikov --- Please keep me in the CC list, as I'm not subscribed to the

[PATCH 10/11] kernel/power: constify sysrq_key_op

2020-05-13 Thread Emil Velikov
With earlier commits, the API no longer discards the const-ness of the sysrq_key_op. As such we can add the notation. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ker...@vger.kernel.org Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: linux...@vger.kernel.org Signed-off-by: Emil Velikov ---

[PATCH 06/11] powerpc/xmon: constify sysrq_key_op

2020-05-13 Thread Emil Velikov
With earlier commits, the API no longer discards the const-ness of the sysrq_key_op. As such we can add the notation. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ker...@vger.kernel.org Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org

Re: [PATCH v2 00/10] drivers, provide a way to add sysfs groups easily

2020-05-13 Thread Emil Velikov
Hi Greg, On Fri, 2 Aug 2019 at 11:46, Greg Kroah-Hartman wrote: > > I have now done this with patch 1/10. Here's the pull info if any > subsystem maintainer wants to suck this into their tree to provide the > ability for drivers to add/remove attribute groups easily. > > This is part of my

[PATCH v2] drm: plane: Verify that no or all planes have a zpos property

2020-05-13 Thread Laurent Pinchart
The zpos property is used by userspace to sort the order of planes. While the property is not mandatory for drivers to implement, mixing planes with and without zpos confuses userspace, and shall not be allowed. Clarify this in the documentation and warn at runtime if the drivers mixes planes with

Re: [PATCH 2/3] drm/etnaviv: Don't ignore errors on getting clocks

2020-05-13 Thread Fabio Estevam
On Wed, May 13, 2020 at 2:09 PM Fabio Estevam wrote: > The binding doc Documentation/devicetree/bindings/gpu/vivante,gc.yaml > says that only the 'reg' clock could be optional, the others are > required. arch/arm/boot/dts/dove.dtsi only uses the 'core' clock. arch/arm/boot/dts/stm32mp157.dtsi

Re: drm/bridge: Synopsys DW-HDMI bridge driver for the Ingenic JZ4780 (was Re: Specialising the Synopsys DW-HDMI bridge driver for the Ingenic JZ4780)

2020-05-13 Thread Paul Boddie
On Wednesday 13. May 2020 09.37.49 Neil Armstrong wrote: > Hi Paul, > > I'm one of the drm/bridge maintainer and, with Jernel & Jonas, we did most > of the changes on the dw-hdmi driver recently for the Amlogic, Rockchip & > Allwinner platforms. Thanks for following up to my message! > On

[PATCH] fbdev: annotate rivafb/nvidiafb as obsolete

2020-05-13 Thread Emil Velikov
Drivers have not seen any love for years. Be that fixes or improvements, or cosmetics like introducing symbolic names, style and code-flow polish. Seemingly the maintainer has also disappeared years ago :-\ Considering nouveau supports all that hardware (modulo nv03) just mark these as

Re: [PATCH 11/11] rcu: constify sysrq_key_op

2020-05-13 Thread Paul E. McKenney
On Wed, May 13, 2020 at 10:43:51PM +0100, Emil Velikov wrote: > With earlier commits, the API no longer discards the const-ness of the > sysrq_key_op. As such we can add the notation. > > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-ker...@vger.kernel.org > Cc: "Paul E. McKenney" > Cc:

[PATCH 5/4] dt-bindings: display: bridge: thc63lvd1024: Document dual-output mode

2020-05-13 Thread Laurent Pinchart
The DT binding support both dual-input and dual-output mode, but only dual-input is documented. Document dual-output mode. Suggested-by: Jacopo Mondi Signed-off-by: Laurent Pinchart --- .../display/bridge/thine,thc63lvd1024.yaml | 16 +++- 1 file changed, 11 insertions(+), 5

Re: [GIT PULL] mediatek drm next for 5.8

2020-05-13 Thread Chun-Kuang Hu
Hi, Daniel: Daniel Vetter 於 2020年5月14日 週四 上午3:45寫道: > > On Thu, May 14, 2020 at 12:16:59AM +0800, Chun-Kuang Hu wrote: > > Hi, Dave & Daniel: > > > > This include dpi pin mode swap, config mipi_tx current and impedance, > > convert mtk-dpi to drm_bridge API, and some fixup. > > > > The following

Re: [PATCH 07/11] sparc64: constify sysrq_key_op

2020-05-13 Thread David Miller
From: Emil Velikov Date: Wed, 13 May 2020 22:43:47 +0100 > With earlier commits, the API no longer discards the const-ness of the > sysrq_key_op. As such we can add the notation. > > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-ker...@vger.kernel.org > Cc: "David S. Miller" > Cc:

Re: [PATCH v5 24/38] drm: v3d: fix common struct sg_table related issues

2020-05-13 Thread Eric Anholt
On Wed, May 13, 2020 at 6:33 AM Marek Szyprowski wrote: > > The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() function > returns the number of the created entries in the DMA address space. > However the subsequent calls to the dma_sync_sg_for_{device,cpu}() and > dma_unmap_sg must

[PATCH v6 0/3] drm: Prepare to use a GPIO on ti-sn65dsi86 for Hot Plug Detect

2020-05-13 Thread Douglas Anderson
As talked about in commit c2bfc223882d ("drm/bridge: ti-sn65dsi86: Remove the mystery delay"), the normal HPD pin on ti-sn65dsi86 is kinda useless, at least for embedded DisplayPort (eDP). However, despite the fact that the actual HPD pin on the bridge is mostly useless for eDP, the concept of

[PATCH v6 3/3] dt-bindings: drm/bridge: ti-sn65dsi86: Document no-hpd

2020-05-13 Thread Douglas Anderson
The ti-sn65dsi86 MIPI DSI to eDP bridge chip has a dedicated hardware HPD (Hot Plug Detect) pin on it, but it's mostly useless for eDP because of excessive debouncing in hardware. Specifically there is no way to disable the debouncing and for eDP debouncing hurts you because HPD is just used for

[PATCH v6 2/3] dt-bindings: drm/bridge: ti-sn65dsi86: Convert to yaml

2020-05-13 Thread Douglas Anderson
This moves the bindings over, based a lot on toshiba,tc358768.yaml. Unless there's someone known to be better, I've set the maintainer in the yaml as the first person to submit bindings. Signed-off-by: Douglas Anderson Reviewed-by: Stephen Boyd --- I removed Stephen's review tag on v5 since I

[PATCH v6 1/3] drm/bridge: ti-sn65dsi86: Export bridge GPIOs to Linux

2020-05-13 Thread Douglas Anderson
The ti-sn65dsi86 MIPI DSI to eDP bridge chip has 4 pins on it that can be used as GPIOs in a system. Each pin can be configured as input, output, or a special function for the bridge chip. These are: - GPIO1: SUSPEND Input - GPIO2: DSIA VSYNC - GPIO3: DSIA HSYNC or VSYNC - GPIO4: PWM Let's

Re: [PULL] drm-intel-next

2020-05-13 Thread Dave Airlie
On Thu, 14 May 2020 at 03:10, Joonas Lahtinen wrote: > > Ping for merging this? If there are no issues, I'd prefer to pull in > next gvt-next and tag the final pull sooner than later. Can you check that I'm correct and this isn;'t in patchwork. I've checked both the dri-devel and intel-gfx

[GIT PULL FOR v5.8] Misc Renesas-related changes

2020-05-13 Thread Laurent Pinchart
Hello, Just a few misc changes related to Renesas R-Car DU and associated bridges. The following changes since commit 3fd911b69b3117e03181262fc19ae6c3ef6962ce: Merge tag 'drm-misc-next-2020-05-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-05-08 15:17:08 +1000) are

[PATCH v1.1 4/4] dt-bindings: display: bridge: renesas, lvds: Convert binding to YAML

2020-05-13 Thread Laurent Pinchart
Convert the Renesas R-Car LVDS encoder text binding to YAML. Signed-off-by: Laurent Pinchart Acked-by: Maxime Ripard --- Changes since v1: - Mention RZ/G1 and R2/G2 explicitly - Drop the part numbers in comments, only keep the SoC names --- .../bindings/display/bridge/renesas,lvds.txt | 85

[PATCH 6/4] dt-bindings: display: renesas: lvds: RZ/G2E needs renesas, companion too

2020-05-13 Thread Laurent Pinchart
From: Fabrizio Castro Document RZ/G2E support for property renesas,companion. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- Changes compared to RFC: - Rebased on top of YAML conversion ---

  1   2   3   >