Re: [PATCH 15/33] drm/panel-simple: Fix dotclock for EDT ET035012DM6

2020-03-10 Thread Marco Felsch
On 20-03-09 15:18, Ville Syrjälä wrote: > On Fri, Mar 06, 2020 at 09:02:57AM +0100, Marco Felsch wrote: > > On 20-03-03 16:52, Ville Syrjälä wrote: > > > On Tue, Mar 03, 2020 at 08:33:20AM +0100, Marco Felsch wrote: > > > > Hi Ville, > > > > > > > > On 20-03-02 22:34, Ville Syrjala wrote: > > > >

Re: [RFC PATCH 0/8] *** Per context fencing ***

2020-03-10 Thread Gerd Hoffmann
On Mon, Mar 09, 2020 at 06:08:10PM -0700, Gurchetan Singh wrote: > We don't want fences from different 3D contexts/processes (GL, VK) to > be on the same timeline. Sending this out as a RFC to solicit feedback > on the general approach. NACK. virtio fences are global, period. You can't simply ch

Re: [PATCH] drm/ttm: fix false positive assert

2020-03-10 Thread Pierre-Eric Pelloux-Prayer
Hi Christian, Sorry I missed your original email. I just tested the patch and it works fine, so feel free to add my Tested-by tag. Pierre-Eric On 09/03/2020 12:49, Christian König wrote: > Pierre-eric, just a gentle ping on this? Could I get a tested-by? > > Ray can you ack or even review this?

Re: [PATCH] drm/imx: parallel-display: Adjust bus_flags and bus_format handling

2020-03-10 Thread Boris Brezillon
On Mon, 9 Mar 2020 22:48:05 +0200 Laurent Pinchart wrote: > Hi Boris, > > On Mon, Mar 09, 2020 at 09:42:44PM +0100, Boris Brezillon wrote: > > On Mon, 9 Mar 2020 22:32:11 +0200 Laurent Pinchart wrote: > > > On Mon, Mar 09, 2020 at 09:22:18PM +0100, Boris Brezillon wrote: > > >> On Mon, 9 Mar

[PATCH] dt-bindings: display: msm: gmu: move sram property to gpu bindings

2020-03-10 Thread Brian Masney
The sram property was incorrectly added to the GMU binding when it really belongs with the GPU binding instead. Let's go ahead and move it. While changes are being made here, let's update the sram property description to mention that this property is only valid for a3xx and a4xx GPUs. The a3xx/a4x

[PATCH v4 4/4] drm/panfrost: Register devfreq cooling and attempt to add Energy Model

2020-03-10 Thread Lukasz Luba
Register devfreq cooling device and attempt to register Energy Model. This will add the devfreq device to the Energy Model framework. It will create a dedicated and unified data structures used i.e. in thermal framework. The last NULL parameter indicates that the power model is simplified and creat

[PATCH] spi: spi-fsl-dspi: fix DMA mapping

2020-03-10 Thread Michael Walle
Use the correct device to request the DMA mapping. Otherwise the IOMMU doesn't get the mapping and it will generate a page fault. The error messages look like: [3.008452] arm-smmu 500.iommu: Unhandled context fault: fsr=0x402, iova=0xf980, fsynr=0x3f0022, cbfrsynra=0x828, cb=8 [3.

[PATCH 1/3] dt-bindings: add ITE vendor

2020-03-10 Thread Phong LE
Add ITE Tech Inc. prefix "ite" in vendor-prefixes Signed-off-by: Phong LE --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.y

[PATCH v4 1/4] PM / EM: add devices to Energy Model

2020-03-10 Thread Lukasz Luba
Add support of other devices into the Energy Model framework not only the CPUs. Change the interface to be more unified which can handle other devices as well. Signed-off-by: Lukasz Luba --- Documentation/power/energy-model.rst | 133 --- Documentation/scheduler/sched-energy.rst | 2 +-

Re: [PATCH] drm/exynos: Fix memory leak and release IOMMU mapping structures

2020-03-10 Thread Lukasz Luba
Hi Inki, On 3/9/20 12:45 AM, Inki Dae wrote: Hi Lukasz, 20. 3. 5. 오전 7:00에 Lukasz Luba 이(가) 쓴 글: There is a memory leak which left some objects not freed. The reference counter of mapping: 'mapping->kref' was 2 when calling arm_iommu_detach_device(), so the release_iommu_mapping() won't be cal

[PATCH 3/3] drm: bridge: add it66121 driver

2020-03-10 Thread Phong LE
This commit is a simple driver for bridge HMDI it66121. The input format is RBG and there is no color conversion. Audio, HDCP and CEC are not supported yet. Signed-off-by: Phong LE --- drivers/gpu/drm/bridge/Kconfig | 8 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bri

[PATCH V3 2/4] backlight: qcom-wled: Add callback functions

2020-03-10 Thread Kiran Gunda
Add cabc_config, sync_toggle, wled_ovp_fault_status and wled_ovp_delay callback functions to prepare the driver for adding WLED5 support. Signed-off-by: Kiran Gunda --- drivers/video/backlight/qcom-wled.c | 196 +++- 1 file changed, 126 insertions(+), 70 deletions

[PATCH 0/3] Add it66121 driver

2020-03-10 Thread Phong LE
The IT66121 is a high-performance and low-power single channel HDMI transmitter, fully compliant with HDMI 1.3a, HDCP 1.2 and backward compatible to DVI 1.0 specifications. It supports pixel rates from 25MHz to 165MHz. This series contains document bindings, add vendor prefix, Kconfig to enable or

Re: [RESEND PATCH v7] dt-bindings: display: Add idk-2121wr binding

2020-03-10 Thread Lad, Prabhakar
Hi Rob, On Mon, Mar 9, 2020 at 8:32 PM Rob Herring wrote: > > On Fri, 6 Mar 2020 15:20:31 +, Lad Prabhakar wrote: > > From: Fabrizio Castro > > > > Add binding for the idk-2121wr LVDS panel from Advantech. > > > > Some panel-specific documentation can be found here: > > https://buy.advantec

[PATCH v3] video: fbdev: vesafb: add missed release_region

2020-03-10 Thread Chuhong Yuan
The driver forgets to free the I/O region in remove and probe failure. Add the missed calls to fix it. Signed-off-by: Chuhong Yuan --- Changes in v3: - Revise the commit message. - Add an error handler to suit the "goto error" before request_region(). - Revise the order of operations in rem

Re: [PATCH] drm/bridge: analogix_dp: Split bind() into probe() and real bind()【请注意,邮件由linux-rockchip-bounces+andy.yan=rock-chips....@lists.infradead.org代发】

2020-03-10 Thread Andy Yan
Hi Marek: On 3/5/20 5:03 PM, Andy Yan wrote: Hi: I tested it on a rk3399 board, but the eDP was broken after this patch applied: [    0.891873] registered taskstats version 1 [    0.892243] Loading compiled-in X.509 certificates [    0.929147] rockchip-dp ff97.edp: no DP phy configure

Re: [RESEND PATCH v7] dt-bindings: display: Add idk-2121wr binding

2020-03-10 Thread Lad, Prabhakar
Hi Sam, On Mon, Mar 9, 2020 at 9:47 PM Sam Ravnborg wrote: > > Hi Prabhakar > > On Mon, Mar 09, 2020 at 09:23:24PM +, Lad, Prabhakar wrote: > > Hi Rob, > > > > On Mon, Mar 9, 2020 at 8:32 PM Rob Herring wrote: > > > > > > On Fri, 6 Mar 2020 15:20:31 +, Lad Prabhakar wrote: > > > > From:

[PATCH V3 1/4] backlight: qcom-wled: convert the wled bindings to .yaml format

2020-03-10 Thread Kiran Gunda
Convert the qcom-wled bindings from .txt to .yaml format. Signed-off-by: Kiran Gunda --- .../bindings/leds/backlight/qcom-wled.txt | 154 - .../bindings/leds/backlight/qcom-wled.yaml | 184 + 2 files changed, 184 insertions(+), 154 deletions(-

[PATCH 2/3] dt-bindings: display: bridge: add it66121 bindings

2020-03-10 Thread Phong LE
Add the ITE bridge HDMI it66121 bindings. Signed-off-by: Phong LE --- .../bindings/display/bridge/ite,it66121.yaml | 95 +++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it66121.yaml diff --git a/Documentation/device

[PATCH v2] video: fbdev: arcfb: add missed free_irq and fix the order of request_irq

2020-03-10 Thread Chuhong Yuan
The driver forgets to free irq in remove which is requested in probe. Add the missed call to fix it. Also, the position of request_irq() in probe should be put before register_framebuffer(). Signed-off-by: Chuhong Yuan --- Changes in v2: - Modify the commit message. - Adjust the order of oper

[PATCH V3 3/4] backlight: qcom-wled: Add support for WLED5 peripheral in PM8150L

2020-03-10 Thread Kiran Gunda
Add support for WLED5 peripheral that is present on PM8150L PMICs. PM8150L WLED supports the following: - Two modulators and each sink can use any of the modulator - Multiple CABC selection options - Multiple brightness width selection (12 bits to 15 bits) Signed-off-by: Kiran Gunda

[PATCH v4 3/4] thermal: devfreq_cooling: Refactor code and switch to use Energy Model

2020-03-10 Thread Lukasz Luba
The overhauled Energy Model (EM) framework support also devfreq devices. The unified API interface of the EM can be used in the thermal subsystem to not duplicate code. The power table now is taken from EM structure and there is no need to maintain calculation for it locally. In case when the EM is

Re: [PATCH] drm/stm: repair runtime power management

2020-03-10 Thread Marek Vasut
On 3/9/20 11:35 AM, Yannick FERTRE wrote: > Hello Marek, Hi, (please stop top-posting) > Thank for your patch. Pm_runtime_put_sync is also done into function > ltdc_crtc_mode_fixup. > To avoid several call of Pm_runtime_put_sync, it could be better to check > pm_runtime activity: > > + in

Re: [PATCH] drm/imx: parallel-display: Adjust bus_flags and bus_format handling

2020-03-10 Thread Marek Vasut
On 3/9/20 11:50 AM, Philipp Zabel wrote: > Hi Marek, Hi, > On Thu, 2019-11-14 at 14:17 +0100, Marek Vasut wrote: >> The bus_flags and bus_format handling logic does not seem to cover >> all potential usecases. Specifically, this seems to fail with an >> "edt,etm0700g0edh6" display attached to an

[PATCH v7 12/13] backlight: pwm_bl: Use 64-bit division macros for period and duty cycle

2020-03-10 Thread Guru Das Srinagesh
Because period and duty cycle are defined in the PWM framework structs as ints with units of nanoseconds, the maximum time duration that can be set is limited to ~2.147 seconds. Redefining them as u64 values will enable larger time durations to be set. As a first step, prepare drivers to handle th

[v2] dt-bindings: msm: disp: add yaml schemas for DPU and DSI bindings

2020-03-10 Thread Krishna Manikandan
MSM Mobile Display Subsytem(MDSS) encapsulates sub-blocks like DPU display controller, DSI etc. Add YAML schema for the device tree bindings for the same. Signed-off-by: Krishna Manikandan Changes in v2: - Changed dpu to DPU (Sam Ravnborg) - Fixed indentation issues (Sam Ravnborg

Re: [PATCH] drm/imx: parallel-display: Adjust bus_flags and bus_format handling

2020-03-10 Thread Marek Vasut
On 3/9/20 9:03 PM, Marek Vasut wrote: > On 3/9/20 11:50 AM, Philipp Zabel wrote: >> Hi Marek, > > Hi, > >> On Thu, 2019-11-14 at 14:17 +0100, Marek Vasut wrote: >>> The bus_flags and bus_format handling logic does not seem to cover >>> all potential usecases. Specifically, this seems to fail with

[PATCH V3 0/4] Add support for WLED5

2020-03-10 Thread Kiran Gunda
Currently, WLED driver supports only WLED4 peripherals that is present on pmi8998 and pm660L. This patch series converts the existing WLED4 bindings from .txt to .yaml format and adds the support for WLED5 peripheral that is present on PM8150L. PM8150L WLED supports the following. - Two mod

Re: [PATCH] spi: spi-fsl-dspi: fix DMA mapping

2020-03-10 Thread Michael Walle
Am 2020-03-10 08:40, schrieb Michael Walle: Am 2020-03-10 08:33, schrieb Michael Walle: Use the correct device to request the DMA mapping. Otherwise the IOMMU doesn't get the mapping and it will generate a page fault. The error messages look like: [3.008452] arm-smmu 500.iommu: Unhandle

[PATCH] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-10 Thread H. Nikolaus Schaller
The currently listed dotclock disagrees with the currently listed vrefresh rate. Change the dotclock to match the vrefresh. There are two variants of the COM37H3M panel. The older one's COM37H3M05DTC data sheet specifies: MIN TYP MAX CLK frequencyfCLK --

[PATCH v7 02/13] drm/i915: Use 64-bit division macros for period and duty cycle

2020-03-10 Thread Guru Das Srinagesh
Because period and duty cycle are defined in the PWM framework structs as ints with units of nanoseconds, the maximum time duration that can be set is limited to ~2.147 seconds. Redefining them as u64 values will enable larger time durations to be set. As a first step, prepare drivers to handle th

[PATCH V3 4/4] backlight: qcom-wled: Update auto calibration support for WLED5

2020-03-10 Thread Kiran Gunda
Currently, auto calibration logic checks only for OVP_FAULT bit to be set in FAULT_STATUS register to detect OVP fault. This works well for WLED4 type. However, WLED5 type has OVP_PRE_ALARM bit which can indicate a potential OVP fault. Use that as well for detecting OVP fault and run auto calibrati

[PATCH v4 2/4] OPP: change parameter to device pointer in dev_pm_opp_of_register_em()

2020-03-10 Thread Lukasz Luba
Drop the CPU specific interface with cpumask and switch to struct device. The Energy Model framework supports both: CPUs and devfreq devices. The new interface provides easy way to create a Energy Model (EM), which then might be used in i.e. thermal subsystem. Signed-off-by: Lukasz Luba --- driv

[PATCH v4 0/4] Add support for devices in the Energy Model

2020-03-10 Thread Lukasz Luba
Hi all, This patch set introduces support for devices in the Energy Model (EM) framework. It will unify the power model for thermal subsystem and make it simpler. The 1st patch refactors EM framework and adds support for devices. The 2nd patch changes dev_pm_opp_of_register_em() in OPP/OF which no

[PATCH V2] drm/imx: parallel-display: Adjust bus_flags handling

2020-03-10 Thread Marek Vasut
The bus_flags handling logic does not seem to cover all potential usecases. Specifically, this seems to fail with an "edt,etm0700g0edh6" display attached to an 24bit display interface, with interface-pix-fmt = "rgb24" set in DT. This patch fixes the problem by overriding the imx_crtc_state->bus_fl

Re: [PATCH] spi: spi-fsl-dspi: fix DMA mapping

2020-03-10 Thread Michael Walle
Am 2020-03-10 08:33, schrieb Michael Walle: Use the correct device to request the DMA mapping. Otherwise the IOMMU doesn't get the mapping and it will generate a page fault. The error messages look like: [3.008452] arm-smmu 500.iommu: Unhandled context fault: fsr=0x402, iova=0xf980,

[PULL] drm-misc-next

2020-03-10 Thread Maxime Ripard
Hi Daniel, Dave, Here's a new drm-misc-next PR. Thanks! Maxime drm-misc-next-2020-03-09: drm-misc-next for 5.7: UAPI Changes: Cross-subsystem Changes: Core Changes: Driver Changes: - fb-helper: Remove drm_fb_helper_{add,add_all,remove}_one_connector - fbdev: some cleanups and dead-code rem

Re: [PATCH 24/33] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-10 Thread H. Nikolaus Schaller
> Am 09.03.2020 um 14:00 schrieb Ville Syrjälä : > > On Thu, Mar 05, 2020 at 08:41:43PM +0100, H. Nikolaus Schaller wrote: >> >>> Am 03.03.2020 um 16:49 schrieb H. Nikolaus Schaller : >>> >>> Hi, >>> Am 03.03.2020 um 16:03 schrieb Ville Syrjälä : > I haven't looked into t

[PATCH] Fix off by one in nvidia driver strncpy size arg

2020-03-10 Thread Dominik 'disconnect3d' Czarnota
From: disconnect3d This patch fixes an off-by-one error in strncpy size argument in drivers/video/fbdev/nvidia/nvidia.c. The issue is that in: strncmp(this_opt, "noaccel", 6) the passed string literal: "noaccel" has 7 bytes (without the NULL byte) and the passed size argument is 6. As a

[PATCH v7 4/4] drm/i915: Add support for integrated privacy screen

2020-03-10 Thread Rajat Jain
Add support for an ACPI based integrated privacy screen that is available on some systems. Signed-off-by: Rajat Jain --- v7: * Move the privacy-screen property back into drm core. * Do the actual HW EPS toggling at commit time. * Provide a sample ACPI node for reference in comments. v6:

Re: [PATCH v7 4/4] drm/i915: Add support for integrated privacy screen

2020-03-10 Thread Rajat Jain
Hi Jani, I have 1 question / need 1 help about this patch: On Mon, Mar 9, 2020 at 5:06 PM Rajat Jain wrote: > > Add support for an ACPI based integrated privacy screen that is > available on some systems. > > Signed-off-by: Rajat Jain > --- > v7: * Move the privacy-screen property back into drm

Re: [PATCH 01/89] dt-bindings: i2c: brcmstb: Convert the BRCMSTB binding to a schema

2020-03-10 Thread Wolfram Sang
On Mon, Feb 24, 2020 at 10:06:03AM +0100, Maxime Ripard wrote: > Switch the DT binding to a YAML schema to enable the DT validation. > > Cc: Kamal Dasu > Cc: Florian Fainelli > Cc: Rob Herring > Cc: Wolfram Sang > Cc: bcm-kernel-feedback-l...@broadcom.com > Cc: linux-...@vger.kernel.org > Cc:

Re: [PATCH 02/89] dt-bindings: i2c: brcmstb: Add BCM2711 BSC/AUTO-I2C binding

2020-03-10 Thread Wolfram Sang
On Mon, Feb 24, 2020 at 10:06:04AM +0100, Maxime Ripard wrote: > The HDMI blocks in the BCM2771 have an i2c controller to retrieve the > EDID. This block is split into two parts, the BSC and the AUTO_I2C, > lying in two separate register areas. > > The AUTO_I2C block has a mailbox-like interface a

Re: [PATCH 01/89] dt-bindings: i2c: brcmstb: Convert the BRCMSTB binding to a schema

2020-03-10 Thread Wolfram Sang
On Mon, Feb 24, 2020 at 10:06:03AM +0100, Maxime Ripard wrote: > Switch the DT binding to a YAML schema to enable the DT validation. > > Cc: Kamal Dasu > Cc: Florian Fainelli > Cc: Rob Herring > Cc: Wolfram Sang > Cc: bcm-kernel-feedback-l...@broadcom.com > Cc: linux-...@vger.kernel.org > Cc:

Re: [PATCH v5 00/11] drm/bridge: dw-hdmi: implement bus-format negotiation and YUV420 support

2020-03-10 Thread Neil Armstrong
On 04/03/2020 11:40, Neil Armstrong wrote: > Hi Philippe, Heiko, Maxime, Laurent, > > A bad negociation was detected on platforms not implementing a bridge on the > encoder side, which has been fixed in this version. > > Could you check it doesn't break your platforms using dw-hdmi ? Especially >

Re: [PATCH 03/89] i2c: brcmstb: Support BCM2711 HDMI BSC controllers

2020-03-10 Thread Wolfram Sang
On Mon, Feb 24, 2020 at 10:06:05AM +0100, Maxime Ripard wrote: > The HDMI blocks in the BCM2771 have an i2c controller to retrieve the > EDID. This block is split into two parts, the BSC and the AUTO_I2C, > lying in two separate register areas. > > The AUTO_I2C block has a mailbox-like interface a

Re: [PATCH 04/89] i2c: brcmstb: Allow to compile it on BCM2835

2020-03-10 Thread Wolfram Sang
> config I2C_BRCMSTB > tristate "BRCM Settop/DSL I2C controller" > depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_63XX || \ > -COMPILE_TEST > +COMPILE_TEST || ARCH_BCM2835 Can you please sort if for easier maintenance? signature.asc Descriptio

Re: [PATCH v2] drm: bridge: tfp410: Check device ID for I2C-connected TFP410

2020-03-10 Thread Neil Armstrong
On 09/03/2020 21:37, Laurent Pinchart wrote: > The TFP410 supports configuration through I2C (in which case the > corresponding DT node is a child of an I2C controller) or through pins > (in which case the DT node creates a platform device). When I2C access > to the device is available, read and va

Re: [PATCH] drm/bridge: analogix_dp: Split bind() into probe() and real bind()

2020-03-10 Thread Marek Szyprowski
Hi Andy, On 10.03.2020 02:10, Andy Yan wrote: > [...] > ret = analogix_dp_dt_parse_pdata(dp); >     if (ret) >     return ERR_PTR(ret); > > >     I think this is the problem I tested. Now the pdata were parse in > probe, but the plata_data->dev_type was populated in > rockchip_d

[PATCH v2] drm/bridge: analogix_dp: Split bind() into probe() and real bind()

2020-03-10 Thread Marek Szyprowski
Analogix_dp driver acquires all its resources in the ->bind() callback, what is a bit against the component driver based approach, where the driver initialization is split into a probe(), where all resources are gathered, and a bind(), where all objects are created and a compound driver is initiali

Patch "drm: kirin: Revert "Fix for hikey620 display offset problem"" has been added to the 5.5-stable tree

2020-03-10 Thread gregkh
This is a note to let you know that I've just added the patch titled drm: kirin: Revert "Fix for hikey620 display offset problem" to the 5.5-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "drm: kirin: Revert "Fix for hikey620 display offset problem"" has been added to the 5.4-stable tree

2020-03-10 Thread gregkh
This is a note to let you know that I've just added the patch titled drm: kirin: Revert "Fix for hikey620 display offset problem" to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

[drm-intel:topic/core-for-CI 18/20] init/Kconfig:77: symbol BROKEN is selected by DRM_I915_DEBUG

2020-03-10 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel topic/core-for-CI head: 72212a758bdd916331477e782bdad1fa3f625322 commit: 19f102d485b9f5e03677f73133d9922e2650686f [18/20] Revert "drm/i915: Don't select BROKEN" config: powerpc-randconfig-a001-20200310 compiler: powerpc-linux-

[drm-intel:topic/core-for-CI 18/20] arch/powerpc/platforms/embedded6xx/Kconfig:2: symbol EMBEDDED6xx depends on BROKEN_ON_SMP

2020-03-10 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel topic/core-for-CI head: 72212a758bdd916331477e782bdad1fa3f625322 commit: 19f102d485b9f5e03677f73133d9922e2650686f [18/20] Revert "drm/i915: Don't select BROKEN" config: powerpc-defconfig compiler: powerpc64-linux-gcc (GCC) 9.2.0 reproduce:

Re: [PATCH] drm: panel: Set connector type for OrtusTech COM43H4M85ULC panel

2020-03-10 Thread Ville Syrjälä
On Mon, Mar 09, 2020 at 11:43:33PM +0200, Laurent Pinchart wrote: > Hi Ville, > > On Mon, Mar 09, 2020 at 11:22:51PM +0200, Ville Syrjälä wrote: > > On Mon, Mar 09, 2020 at 10:29:42PM +0200, Laurent Pinchart wrote: > > > On Mon, Mar 09, 2020 at 08:45:41PM +0100, Sam Ravnborg wrote: > > > > On Mon,

Re: [PATCH 15/33] drm/panel-simple: Fix dotclock for EDT ET035012DM6

2020-03-10 Thread Ville Syrjälä
On Tue, Mar 10, 2020 at 08:05:32AM +0100, Marco Felsch wrote: > On 20-03-09 15:18, Ville Syrjälä wrote: > > On Fri, Mar 06, 2020 at 09:02:57AM +0100, Marco Felsch wrote: > > > On 20-03-03 16:52, Ville Syrjälä wrote: > > > > On Tue, Mar 03, 2020 at 08:33:20AM +0100, Marco Felsch wrote: > > > > > Hi

Re: [PATCH] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-10 Thread Ville Syrjälä
On Tue, Mar 10, 2020 at 08:43:19AM +0100, H. Nikolaus Schaller wrote: > The currently listed dotclock disagrees with the currently > listed vrefresh rate. Change the dotclock to match the vrefresh. > > There are two variants of the COM37H3M panel. > The older one's COM37H3M05DTC data sheet specifi

[PATCH 5.4 131/168] drm: kirin: Revert "Fix for hikey620 display offset problem"

2020-03-10 Thread Greg Kroah-Hartman
From: John Stultz commit 1b79cfd99ff5127e6a143767b51694a527b3ea38 upstream. This reverts commit ff57c6513820efe945b61863cf4a51b79f18b592. With the commit ff57c6513820 ("drm: kirin: Fix for hikey620 display offset problem") we added support for handling LDI overflows by resetting the hardware.

Re: [PATCH v2 0/4] drm/dp_mst: Fix bandwidth checking regressions from DSC patches

2020-03-10 Thread Mikita Lipski
On 3/6/20 6:46 PM, Lyude Paul wrote: AMD's patch series for adding DSC support to the MST helpers unfortunately introduced a few regressions into the kernel that I didn't get around to fixing until just now. I would have reverted the changes earlier, but seeing as that would have reverted all o

[PATCH 5.5 144/189] drm: kirin: Revert "Fix for hikey620 display offset problem"

2020-03-10 Thread Greg Kroah-Hartman
From: John Stultz commit 1b79cfd99ff5127e6a143767b51694a527b3ea38 upstream. This reverts commit ff57c6513820efe945b61863cf4a51b79f18b592. With the commit ff57c6513820 ("drm: kirin: Fix for hikey620 display offset problem") we added support for handling LDI overflows by resetting the hardware.

[PATCH v2 00/22] Move media documentation files

2020-03-10 Thread Mauro Carvalho Chehab
That's a second version of a patch series with moves the media documents to better places. The first version was actually a RFC. This one is more complete. Yet, my plan is to merge it only at the media trees only after the end of the next merge window. I'm preparing several patches on the top of

Re: [PATCH v2 00/17] drm: subsytem-wide debugfs functions refactor

2020-03-10 Thread Greg KH
On Tue, Mar 10, 2020 at 04:31:04PM +0300, Wambui Karuga wrote: > This series includes work on various debugfs functions both in drm/core > and across various drivers in the subsystem. > Since commit 987d65d01356 (drm: debugfs: make drm_debugfs_create_files() > never fail), drm_debugfs_create_files(

Re: [PATCH v7 12/13] backlight: pwm_bl: Use 64-bit division macros for period and duty cycle

2020-03-10 Thread Daniel Thompson
On Mon, Mar 09, 2020 at 12:35:15PM -0700, Guru Das Srinagesh wrote: > Because period and duty cycle are defined in the PWM framework structs > as ints with units of nanoseconds, the maximum time duration that can be > set is limited to ~2.147 seconds. Redefining them as u64 values will > enable lar

Re: [PATCH V3 1/4] backlight: qcom-wled: convert the wled bindings to .yaml format

2020-03-10 Thread Daniel Thompson
On Mon, Mar 09, 2020 at 06:55:59PM +0530, Kiran Gunda wrote: > Convert the qcom-wled bindings from .txt to .yaml format. > > Signed-off-by: Kiran Gunda Acked-by: Daniel Thompson > --- > .../bindings/leds/backlight/qcom-wled.txt | 154 - > .../bindings/leds/backlight/

Re: [PATCH V3 2/4] backlight: qcom-wled: Add callback functions

2020-03-10 Thread Daniel Thompson
On Mon, Mar 09, 2020 at 06:56:00PM +0530, Kiran Gunda wrote: > Add cabc_config, sync_toggle, wled_ovp_fault_status and wled_ovp_delay > callback functions to prepare the driver for adding WLED5 support. > > Signed-off-by: Kiran Gunda Overall this code would a lot easier to review if > --- > dri

Re: [PATCH v2 2/4] drm/dp_mst: Use full_pbn instead of available_pbn for bandwidth checks

2020-03-10 Thread Mikita Lipski
On 3/6/20 6:46 PM, Lyude Paul wrote: DisplayPort specifications are fun. For a while, it's been really unclear to us what available_pbn actually does. There's a somewhat vague explanation in the DisplayPort spec (starting from 1.2) that partially explains it: The minimum payload bandwidth

Re: [PATCH v2 06/17] drm/arm: make hdlcd_debugfs_init() return 0

2020-03-10 Thread Liviu Dudau
On Tue, Mar 10, 2020 at 04:31:10PM +0300, Wambui Karuga wrote: > Since commit 987d65d01356 (drm: debugfs: make > drm_debugfs_create_files() never fail), drm_debugfs_create_files() never > fails and should return void. Therefore, remove its use as the > return value of hdlcd_debugfs_init() and have

Re: [PATCH V3 3/4] backlight: qcom-wled: Add support for WLED5 peripheral in PM8150L

2020-03-10 Thread Daniel Thompson
On Mon, Mar 09, 2020 at 06:56:01PM +0530, Kiran Gunda wrote: > Add support for WLED5 peripheral that is present on PM8150L PMICs. > > PM8150L WLED supports the following: > - Two modulators and each sink can use any of the modulator > - Multiple CABC selection options > - Multiple brig

Re: [RFC][PATCH 1/5] drm: Introduce scaling filter property

2020-03-10 Thread Ville Syrjälä
On Tue, Feb 25, 2020 at 12:35:41PM +0530, Pankaj Bharadiya wrote: > Introduce new scaling filter property to allow userspace to select > the driver's default scaling filter or Nearest-neighbor(NN) filter > for upscaling operations on crtc/plane. > > Drivers can set up this property for a plane by

Re: [RFC][PATCH 3/5] drm/i915: Enable scaling filter for plane and pipe

2020-03-10 Thread Ville Syrjälä
On Tue, Feb 25, 2020 at 12:35:43PM +0530, Pankaj Bharadiya wrote: > Attach scaling filter property for crtc and plane and program the > scaler control register for the selected filter type. > > This is preparatory patch to enable Nearest-neighbor integer scaling. > > Signed-off-by: Pankaj Bharadi

Re: [RFC][PATCH 4/5] drm/i915: Introduce scaling filter related registers and bit fields.

2020-03-10 Thread Ville Syrjälä
On Tue, Feb 25, 2020 at 12:35:44PM +0530, Pankaj Bharadiya wrote: > Introduce scaler registers and bit fields needed to configure the > scaling filter in prgrammed mode and configure scaling filter > coefficients. > > Signed-off-by: Pankaj Bharadiya > Signed-off-by: Ankit Nautiyal > --- > drive

Re: [RFC][PATCH 5/5] drm/i915/display: Add Nearest-neighbor based integer scaling support

2020-03-10 Thread Ville Syrjälä
On Tue, Feb 25, 2020 at 12:35:45PM +0530, Pankaj Bharadiya wrote: > Integer scaling (IS) is a nearest-neighbor upscaling technique that > simply scales up the existing pixels by an integer > (i.e., whole number) multiplier.Nearest-neighbor (NN) interpolation > works by filling in the missing color

Re: [PATCH v5 1/2] drm/edid: Name the detailed monitor range flags

2020-03-10 Thread Ville Syrjälä
On Mon, Mar 09, 2020 at 02:39:39PM -0700, Manasi Navare wrote: > This patch adds defines for the detailed monitor > range flags as per the EDID specification. > > v2: > * Rename the flags with DRM_EDID_ (Jani N) > > Suggested-by: Ville Syrjälä > Cc: Ville Syrjälä > Cc: Harry Wentland > Cc: Cli

Re: [PATCH v5 2/2] drm/edid: Add function to parse EDID descriptors for adaptive sync limits

2020-03-10 Thread Ville Syrjälä
On Mon, Mar 09, 2020 at 02:39:40PM -0700, Manasi Navare wrote: > Adaptive Sync is a VESA feature so add a DRM core helper to parse > the EDID's detailed descritors to obtain the adaptive sync monitor range. > Store this info as part fo drm_display_info so it can be used > across all drivers. > This

Re: [PATCH 16/21] drm: mxsfb: Add i.MX7 to the list of supported SoCs in Kconfig

2020-03-10 Thread Fabio Estevam
Hi Laurent, On Mon, Mar 9, 2020 at 4:53 PM Laurent Pinchart wrote: > config DRM_MXSFB > - tristate "i.MX23/i.MX28/i.MX6SX MXSFB LCD controller" > + tristate "i.MX23/i.MX28/i.MX6SX/i.MX7 MXSFB LCD controller" Can't we just make it simpler and write: tristate "i.MX eLCDIF controller"

Re: [PATCH 16/21] drm: mxsfb: Add i.MX7 to the list of supported SoCs in Kconfig

2020-03-10 Thread Laurent Pinchart
Hi Fabio, On Tue, Mar 10, 2020 at 01:28:35PM -0300, Fabio Estevam wrote: > On Mon, Mar 9, 2020 at 4:53 PM Laurent Pinchart wrote: > > > config DRM_MXSFB > > - tristate "i.MX23/i.MX28/i.MX6SX MXSFB LCD controller" > > + tristate "i.MX23/i.MX28/i.MX6SX/i.MX7 MXSFB LCD controller" > >

[PATCH v1.1 16/21] drm: mxsfb: Add i.MX7 to the list of supported SoCs in Kconfig

2020-03-10 Thread Laurent Pinchart
Extend the Kconfig option description by listing the i.MX7 SoCs, as they are supported by the same driver. Replace the list of SoCs in the short description with just "(e)LCDIF LCD controller" to avoid expanding it further in the future as support for more SoCs is added. Signed-off-by: Laurent Pin

Re: [PATCH] spi: spi-fsl-dspi: fix DMA mapping

2020-03-10 Thread Mark Brown
On Tue, Mar 10, 2020 at 03:12:45PM +0100, Michael Walle wrote: > Am 2020-03-10 14:02, schrieb Vladimir Oltean: > > I'm testing LS1028A with IOMMU_DEFAULT_PASSTHROUGH=y and I didn't have > > time to change my setup now. I've also sent a v3 to my patch series > > which is going to conflict with this

Re: [PATCH] drm: panel: Set connector type for OrtusTech COM43H4M85ULC panel

2020-03-10 Thread Sam Ravnborg
Hi Ville. > > > > > > My lame and simple workflow > > > > > > dim update-branches > > > # save patch from mutt > > > cat mbox | dim apply > > Why don't you just pipe the thing into dim straight from mutt? > That's what I do. Followed by some amount of dim extract-tag > also piped in from mutt.

Re: [PATCH] drm: panel: Set connector type for OrtusTech COM43H4M85ULC panel

2020-03-10 Thread Sam Ravnborg
Hi Laurent. On Mon, Mar 09, 2020 at 09:01:27PM +0200, Laurent Pinchart wrote: > Hi Sam, > > On Mon, Mar 09, 2020 at 08:00:47PM +0100, Sam Ravnborg wrote: > > On Mon, Mar 09, 2020 at 08:42:10PM +0200, Laurent Pinchart wrote: > > > The OrtusTech COM43H4M85ULC is a DPI panel, set the connector type

Re: [PATCH] drm/panel-simple: Fix dotclock for Ortustech COM37H3M

2020-03-10 Thread Sam Ravnborg
Hi Nikolaus Thanks for the detailed explanation. Applied and pushed to drm-misc-next. Sam On Tue, Mar 10, 2020 at 08:43:19AM +0100, H. Nikolaus Schaller wrote: > The currently listed dotclock disagrees with the currently > listed vrefresh rate. Change the dotclock to match the vrefresh.

Re: [PATCH v3] drm/dp_mst: Rewrite and fix bandwidth limit checks

2020-03-10 Thread Mikita Lipski
On 3/9/20 5:01 PM, Lyude Paul wrote: Sigh, this is mostly my fault for not giving commit cd82d82cbc04 ("drm/dp_mst: Add branch bandwidth validation to MST atomic check") enough scrutiny during review. The way we're checking bandwidth limitations here is mostly wrong: For starters, drm_dp_mst_a

Re: [PATCH v4 1/2] dt-bindings: display: add visionox rm69299 panel variant

2020-03-10 Thread Sam Ravnborg
Hi Harigovindan Thanks for the follow-up. There are still a few things to improve. See below. Sam On Fri, Mar 06, 2020 at 04:06:27PM +0530, Harigovindan P wrote: > Add bindings for visionox rm69299 panel. > > Signed-off-by: Harigovindan P > --- > > Changes in v2: > - Removed unw

Re: [PATCH v4 2/2] drm/panel: add support for rm69299 visionox panel driver

2020-03-10 Thread Sam Ravnborg
Hi Harigovindan Thanks for the v4. nice work! There is one tiny detail to fix. With this fixed: Reviewed-by: Sam Ravnborg Sam On Fri, Mar 06, 2020 at 04:06:28PM +0530, Harigovindan P wrote: > Add support for Visionox panel driver. > > Signed-off-by: Harigovindan P > --- > > Changes

Re: [v2] dt-bindings: msm: disp: add yaml schemas for DPU and DSI bindings

2020-03-10 Thread Sam Ravnborg
Hi Krishna On Mon, Mar 09, 2020 at 03:52:46PM +0530, Krishna Manikandan wrote: > MSM Mobile Display Subsytem(MDSS) encapsulates sub-blocks > like DPU display controller, DSI etc. Add YAML schema > for the device tree bindings for the same. > > Signed-off-by: Krishna Manikandan Looks good ow - th

[PATCH] drm/i915/mst: Hookup DRM DP MST late_register/early_unregister callbacks

2020-03-10 Thread Lyude Paul
i915 can enable aux device nodes for DP MST by calling drm_dp_mst_connector_late_register()/drm_dp_mst_connector_early_unregister(), so let's hook that up. Cc: Ville Syrjälä Cc: Manasi Navare Cc: "Lee, Shawn C" Signed-off-by: Lyude Paul --- drivers/gpu/drm/i915/display/intel_dp_mst.c | 22 +++

Re: [PATCH V3 1/4] backlight: qcom-wled: convert the wled bindings to .yaml format

2020-03-10 Thread Rob Herring
On Mon, 9 Mar 2020 18:55:59 +0530, Kiran Gunda wrote: > Convert the qcom-wled bindings from .txt to .yaml format. > > Signed-off-by: Kiran Gunda > --- > .../bindings/leds/backlight/qcom-wled.txt | 154 - > .../bindings/leds/backlight/qcom-wled.yaml | 184 >

Applied "spi: spi-fsl-dspi: fix DMA mapping" to the spi tree

2020-03-10 Thread Mark Brown
The patch spi: spi-fsl-dspi: fix DMA mapping has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during

Re: [PATCH] drm/i915/mst: Hookup DRM DP MST late_register/early_unregister callbacks

2020-03-10 Thread Ville Syrjälä
On Tue, Mar 10, 2020 at 02:28:54PM -0400, Lyude Paul wrote: > i915 can enable aux device nodes for DP MST by calling > drm_dp_mst_connector_late_register()/drm_dp_mst_connector_early_unregister(), > so let's hook that up. Oh, we didn't have that yet? I thought it got hooked up for everyone but I g

Re: [PATCH] drm/i915/mst: Hookup DRM DP MST late_register/early_unregister callbacks

2020-03-10 Thread Lyude Paul
On Tue, 2020-03-10 at 20:42 +0200, Ville Syrjälä wrote: > On Tue, Mar 10, 2020 at 02:28:54PM -0400, Lyude Paul wrote: > > i915 can enable aux device nodes for DP MST by calling > > drm_dp_mst_connector_late_register()/drm_dp_mst_connector_early_unregister > > (), > > so let's hook that up. > > Oh,

[PATCH v2] drm/i915/mst: Hookup DRM DP MST late_register/early_unregister callbacks

2020-03-10 Thread Lyude Paul
i915 can enable aux device nodes for DP MST by calling drm_dp_mst_connector_late_register()/drm_dp_mst_connector_early_unregister(), so let's hook that up. Changes since v1: * Call intel_connector_register/unregister() from intel_dp_mst_connector_late_register/unregister() so we don't lose err

Re: [PATCH 1/2] drm/panel: Add Starry KR070PE2T

2020-03-10 Thread Sam Ravnborg
Hi Pascal. Thanks for submitting. On Tue, Mar 10, 2020 at 11:27:23AM +0100, Pascal Roeleven wrote: > The KR070PE2T is a 7" panel with a resolution of 800x480. > > KR070PE2T is the marking present on the ribbon cable. As this panel is > probably available under different brands, this marking will

Re: [PATCH v2] drm/i915/mst: Hookup DRM DP MST late_register/early_unregister callbacks

2020-03-10 Thread Ville Syrjälä
On Tue, Mar 10, 2020 at 02:54:16PM -0400, Lyude Paul wrote: > i915 can enable aux device nodes for DP MST by calling > drm_dp_mst_connector_late_register()/drm_dp_mst_connector_early_unregister(), > so let's hook that up. > > Changes since v1: > * Call intel_connector_register/unregister() from >

Re: [PATCH v5 2/2] drm/edid: Add function to parse EDID descriptors for adaptive sync limits

2020-03-10 Thread Manasi Navare
Hi Ville, Please find answers to your concerns below: On Mon, Mar 09, 2020 at 02:39:40PM -0700, Manasi Navare wrote: > Adaptive Sync is a VESA feature so add a DRM core helper to parse > the EDID's detailed descritors to obtain the adaptive sync monitor range. > Store this info as part fo drm_dis

Re: [PATCH v5 1/2] drm/edid: Name the detailed monitor range flags

2020-03-10 Thread Manasi Navare
On Tue, Mar 10, 2020 at 06:20:27PM +0200, Ville Syrjälä wrote: > On Mon, Mar 09, 2020 at 02:39:39PM -0700, Manasi Navare wrote: > > This patch adds defines for the detailed monitor > > range flags as per the EDID specification. > > > > v2: > > * Rename the flags with DRM_EDID_ (Jani N) > > > > Su

Re: [PATCH 1/2] drm/panel: Add Starry KR070PE2T

2020-03-10 Thread Ville Syrjälä
On Tue, Mar 10, 2020 at 07:54:23PM +0100, Sam Ravnborg wrote: > Hi Pascal. > > Thanks for submitting. > > On Tue, Mar 10, 2020 at 11:27:23AM +0100, Pascal Roeleven wrote: > > The KR070PE2T is a 7" panel with a resolution of 800x480. > > > > KR070PE2T is the marking present on the ribbon cable. A

Re: [PATCH v5 2/2] drm/edid: Add function to parse EDID descriptors for adaptive sync limits

2020-03-10 Thread Ville Syrjälä
On Tue, Mar 10, 2020 at 12:08:33PM -0700, Manasi Navare wrote: > Hi Ville, > > Please find answers to your concerns below: > > On Mon, Mar 09, 2020 at 02:39:40PM -0700, Manasi Navare wrote: > > Adaptive Sync is a VESA feature so add a DRM core helper to parse > > the EDID's detailed descritors to

Re: [PATCH v5 2/2] drm/edid: Add function to parse EDID descriptors for adaptive sync limits

2020-03-10 Thread Manasi Navare
On Tue, Mar 10, 2020 at 09:13:30PM +0200, Ville Syrjälä wrote: > On Tue, Mar 10, 2020 at 12:08:33PM -0700, Manasi Navare wrote: > > Hi Ville, > > > > Please find answers to your concerns below: > > > > On Mon, Mar 09, 2020 at 02:39:40PM -0700, Manasi Navare wrote: > > > Adaptive Sync is a VESA fe

[PATCH v7] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges

2020-03-10 Thread Karol Herbst
Fixes the infamous 'runtime PM' bug many users are facing on Laptops with Nvidia Pascal GPUs by skipping said PCI power state changes on the GPU. Depending on the used kernel there might be messages like those in demsg: "nouveau :01:00.0: Refused to change power state, currently in D3" "nouve

Re: [PATCH v2] drm/i915/mst: Hookup DRM DP MST late_register/early_unregister callbacks

2020-03-10 Thread Lyude Paul
On Tue, 2020-03-10 at 21:06 +0200, Ville Syrjälä wrote: > On Tue, Mar 10, 2020 at 02:54:16PM -0400, Lyude Paul wrote: > > i915 can enable aux device nodes for DP MST by calling > > drm_dp_mst_connector_late_register()/drm_dp_mst_connector_early_unregister > > (), > > so let's hook that up. > > > >

  1   2   >