Re: [PATCH] ARM: dts: am4372: Set memory bandwidth limit for DISPC

2019-10-01 Thread Tony Lindgren
* Tomi Valkeinen [190930 01:55]: > From: Peter Ujfalusi > > Set memory bandwidth limit to filter out resolutions above 720p@60Hz to > avoid underflow errors due to the bandwidth needs of higher resolutions. > > am43xx can not provide enough bandwidth to DISPC to correctly handle > 'high'

Re: drm_sched with panfrost crash on T820

2019-10-01 Thread Hillf Danton
On Mon, 30 Sep 2019 11:17:45 +0200 Neil Armstrong wrote: > > Did a new run from 5.3: > > [ 35.971972] Call trace: > [ 35.974391] drm_sched_increase_karma+0x5c/0xf0 > 10667f3810667F94 >

[PATCH v3] drm/amdgpu: fix multiple memory leaks in acp_hw_init

2019-10-01 Thread Navid Emamdoost
In acp_hw_init there are some allocations that needs to be released in case of failure: 1- adev->acp.acp_genpd should be released if any allocation attemp for adev->acp.acp_cell, adev->acp.acp_res or i2s_pdata fails. 2- all of those allocations should be released if mfd_add_hotplug_devices or

Re: [PATCH v2] drm/amdgpu: fix multiple memory leaks

2019-10-01 Thread Navid Emamdoost
On Thu, Sep 19, 2019 at 3:03 AM Koenig, Christian wrote: > > Am 18.09.19 um 21:05 schrieb Navid Emamdoost: > > In acp_hw_init there are some allocations that needs to be released in > > case of failure: > > > > 1- adev->acp.acp_genpd should be released if any allocation attemp for > >

Re: [PATCH] drm/ttm: move cpu_writers handling into vmwgfx v2

2019-10-01 Thread Thomas Hellstrom
Hi, Christian, On 9/30/19 6:34 PM, Christian König wrote: > From: Christian König > > This feature is only used by vmwgfx and superflous for everybody else. > > v2: use vmw_buffer_object instead of vmw_user_bo. > > Signed-off-by: Christian König > --- I just sent out a patch based on this that

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-10-01 Thread Tero Kristo
On 01/10/2019 08:07, Tomi Valkeinen wrote: On 30/09/2019 20:48, Tero Kristo wrote: Hmmh, after some testing, it seems there is bad stuff happening with the divider clock implementation, I am re-working it as of now. Basically what is wrong is that with a divider max value of say 16, the

[PATCH 2/3] drm/sun4i: dsi: fix DRQ calculation

2019-10-01 Thread Icenowy Zheng
According to the BSP source code, when calculating the magic DRQ value outside burst mode, a formula of "lcd_ht - lcd_x - lcd_hbp", which is interpreted as right margin (HFP value). However, currently the sun6i_mipi_dsi driver code calculates it wrongly as HFP + sync length, which lead to timing

[PATCH 1/3] Revert "drm/sun4i: dsi: Change the start delay calculation"

2019-10-01 Thread Icenowy Zheng
This reverts commit da676c6aa6413d59ab0a80c97bbc273025e640b2. The original commit adds a start parameter to the calculation of the start delay according to some old BSP versions from Allwinner. However, there're two ways to add this delay -- add it in DSI controller or add it in the TCON. Add it

[PATCH 3/3] Revert "drm/sun4i: dsi: Rework a bit the hblk calculation"

2019-10-01 Thread Icenowy Zheng
This reverts commit 62e7511a4f4dcf07f753893d3424decd9466c98b. This commit, although claimed as a refactor, in fact changed the formula. By expanding the original formula, we can find that the const 10 is not substracted, instead it's added to the value (because 10 is negative when calculating

[PATCH 0/3] drm/sun4i: dsi: misc timing fixes

2019-10-01 Thread Icenowy Zheng
This patchset fixes some portion of timing calculation in sun6i_mipi_dsi driver according to the BSP driver. Two of the patches are reverting, one is fixing some misread of the BSP source code, another is fixing a wrong refactor that actually breaks the formula. The other non-reverting patch is

Re: [PATCH] drm/meson: enable runtime PM

2019-10-01 Thread Neil Armstrong
On 30/09/2019 17:34, Kevin Hilman wrote: > Neil Armstrong writes: > >> Hi Kevin, >> >> On 25/09/2019 21:31, Kevin Hilman wrote: >>> From: Kevin Hilman >>> >>> On some SoCs, the VPU is in a power-domain and needs runtime PM >>> enabled and used in order to keep the power domain on. >>> >>>

[PATCH v3] drm/mcde: Some fixes to handling video mode

2019-10-01 Thread Linus Walleij
The video DSI mode had not really been tested. These fixes makes it more likely to work on real hardware: - Put the active width (x width) in the right bits and the VSA (vertical sync active) in the right bits (those were swapped). - Calculate the packet sizes in bytes as in the vendor driver,

Re: [PATCH v2 05/50] drm/bridge: Extend bridge API to disable connector creation

2019-10-01 Thread Tomi Valkeinen
On 20/08/2019 04:16, Laurent Pinchart wrote: @@ -,7 +1113,7 @@ int dw_mipi_dsi_bind(struct dw_mipi_dsi *dsi, struct drm_encoder *encoder) { int ret; - ret = drm_bridge_attach(encoder, >bridge, NULL); + ret = drm_bridge_attach(encoder, >bridge, NULL, true); This

[PATCH] drm/ttm, drm/vmwgfx: move cpu_writers handling into vmwgfx

2019-10-01 Thread VMware
From: Christian König This feature is only used by vmwgfx and superfluous for everybody else. Signed-off-by: Christian König Co-developed-by: Thomas Hellstrom Signed-off-by: Thomas Hellstrom Tested-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c | 27 --

Re: [RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-10-01 Thread Karol Herbst
On Tue, Oct 1, 2019 at 10:47 AM Mika Westerberg wrote: > > On Mon, Sep 30, 2019 at 06:36:12PM +0200, Karol Herbst wrote: > > On Mon, Sep 30, 2019 at 6:30 PM Mika Westerberg > > wrote: > > > > > > On Mon, Sep 30, 2019 at 06:05:14PM +0200, Karol Herbst wrote: > > > > still happens with your patch

Re: [PATCH v2] drm/fourcc: Add Arm 16x16 block modifier

2019-10-01 Thread Ayan Halder
On Mon, Sep 30, 2019 at 05:02:37PM +, Brian Starkey wrote: > Hi Ayan, > > Could we preserve Ray's authorship on this patch? Apologies for this, I will definitely preserve Ray's authorship in the v3 patch. > > On Mon, Sep 30, 2019 at 04:44:38PM +, Ayan Halder wrote: > > Add the

Re: [Intel-gfx] [PATCH 1/4] drm/rect: Add drm_rect_translate_to()

2019-10-01 Thread Jani Nikula
On Mon, 30 Sep 2019, Ville Syrjala wrote: > From: Ville Syrjälä > > Add a helper to translate a rectangle to an absolute position. > > Signed-off-by: Ville Syrjälä The series is Reviewed-by: Jani Nikula > --- > include/drm/drm_rect.h | 14 ++ > 1 file changed, 14

[Bug 111747] [CI][DRMTIP] igt@ - incomplete - Jenkins gives up

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111747 Petri Latvala changed: What|Removed |Added Component|IGT |DRM/Intel

Re: [RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-10-01 Thread Mika Westerberg
On Mon, Sep 30, 2019 at 06:36:12PM +0200, Karol Herbst wrote: > On Mon, Sep 30, 2019 at 6:30 PM Mika Westerberg > wrote: > > > > On Mon, Sep 30, 2019 at 06:05:14PM +0200, Karol Herbst wrote: > > > still happens with your patch applied. The machine simply gets shut down. > > > > > > dmesg can be

Re: [RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 10:56:39AM +0200, Karol Herbst wrote: > On Tue, Oct 1, 2019 at 10:47 AM Mika Westerberg > wrote: > > > > On Mon, Sep 30, 2019 at 06:36:12PM +0200, Karol Herbst wrote: > > > On Mon, Sep 30, 2019 at 6:30 PM Mika Westerberg > > > wrote: > > > > > > > > On Mon, Sep 30, 2019

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-10-01 Thread Tomi Valkeinen
On 01/10/2019 11:12, Tero Kristo wrote: On 01/10/2019 08:07, Tomi Valkeinen wrote: On 30/09/2019 20:48, Tero Kristo wrote: Hmmh, after some testing, it seems there is bad stuff happening with the divider clock implementation, I am re-working it as of now. Basically what is wrong is that with

Re: [RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-10-01 Thread Karol Herbst
On Tue, Oct 1, 2019 at 11:11 AM Mika Westerberg wrote: > > On Tue, Oct 01, 2019 at 10:56:39AM +0200, Karol Herbst wrote: > > On Tue, Oct 1, 2019 at 10:47 AM Mika Westerberg > > wrote: > > > > > > On Mon, Sep 30, 2019 at 06:36:12PM +0200, Karol Herbst wrote: > > > > On Mon, Sep 30, 2019 at 6:30

[Bug 111599] [CI][RESUME] igt@gem_ctx_isolation@* - skip - Test requirement: !(gen > LAST_KNOWN_GEN), SKIP

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111599 --- Comment #2 from CI Bug Log --- A CI Bug Log filter associated to this bug has been updated: {- TGL: igt@gem_ctx_isolation@* - skip - Test requirement: !(gen LAST_KNOWN_GEN), SKIP -} {+ TGL: igt@gem_ctx_isolation@* - skip - Test

[Bug 111747] [CI][DRMTIP] igt@ - incomplete - Jenkins gives up

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111747 --- Comment #14 from CI Bug Log --- A CI Bug Log filter associated to this bug has been updated: {- TGL: igt@* -incomplete - Abort requested by .* terminating children -} {+ TGL: igt@* -incomplete - Abort requested by .* terminating children

Re: [Intel-gfx] [PATCH v3 35/37] drm/i915: Introduce GEM_OBJECT_SETPARAM with I915_PARAM_MEMORY_REGION

2019-10-01 Thread Niranjan Vishwanathapura
On Fri, Aug 09, 2019 at 11:26:41PM +0100, Matthew Auld wrote: From: Abdiel Janulgue This call will specify which memory region an object should be placed. Note that changing the object's backing storage should be immediately done after an object is created or if it's not yet in use, otherwise

Re: [PATCH] drm/komeda: Use IRQ_RETVAL shorthand in d71_irq_handler

2019-10-01 Thread Ayan Halder
On Mon, Sep 23, 2019 at 02:41:44AM +, james qian wang (Arm Technology China) wrote: > On Fri, Sep 20, 2019 at 03:13:08PM +, Mihail Atanassov wrote: > > No change in behaviour; IRQ_RETVAL is about twice as popular as > > manually writing out the ternary. > > > > Signed-off-by: Mihail

Re: [igt-dev] [PATCH i-g-t] tests/kms_crtc_background_color: overhaul to match upstream ABI (v5.1)

2019-10-01 Thread Ville Syrjälä
On Mon, Sep 30, 2019 at 10:18:17PM -0400, Martin Peres wrote: > On 30/09/2019 19:13, Matt Roper wrote: > > CRTC background color kernel patches were written about 2.5 years ago > > and floated on the upstream mailing list, but since no opensource > > userspace materialized, we never actually

RE: [PATCH] drm/i915/dp: Fix DP MST error after unplugging TypeC cable

2019-10-01 Thread S, Srinivasan
Thanks a lot Manasi, Ville, Mika, Jani, Lakshmi, for all your time in reviewing this patch. Best Regards, > -Original Message- > From: dri-devel On Behalf Of Ville > Syrjälä > Sent: Tuesday, October 1, 2019 5:31 PM > To: S, Srinivasan > Cc: Navare, Manasi D ; intel- >

Re: [PATCH 1/2] arm64: dts: juno: add GPU subsystem

2019-10-01 Thread Robin Murphy
On 01/10/2019 09:59, Sudeep Holla wrote: On Mon, Sep 30, 2019 at 12:46:33PM -0500, Rob Herring wrote: On Mon, Sep 30, 2019 at 10:25 AM Robin Murphy wrote: Since we now have bindings for Mali Midgard GPUs, let's use them to describe Juno's GPU subsystem, if only because we can. Juno sports a

Re: [PATCH v2 0/9] drm/print: add and use drm_debug_enabled()

2019-10-01 Thread Jani Nikula
On Thu, 26 Sep 2019, Eric Engestrom wrote: > On Tuesday, 2019-09-24 15:58:56 +0300, Jani Nikula wrote: >> Hi all, v2 of [1], a little refactoring around drm_debug access to >> abstract it better. There shouldn't be any functional changes. >> >> I'd appreciate acks for merging the lot via

Re: [1/3] drm/tinydrm/Kconfig: Remove menuconfig DRM_TINYDRM

2019-10-01 Thread Jason Gunthorpe
On Thu, Jul 25, 2019 at 12:51:30PM +0200, Noralf Trønnes wrote: > This makes the tiny drivers visible by default without having to enable a > knob. > > Signed-off-by: Noralf Trønnes > Reviewed-by: Hans de Goede to it once > --- > drivers/gpu/drm/Makefile| 2 +- >

Re: [PATCH] drm/tiny: Kconfig: Remove always-y THERMAL dep. from TINYDRM_REPAPER

2019-10-01 Thread Noralf Trønnes
Den 27.09.2019 19.42, skrev Ulf Magnusson: > Commit 554b3529fe01 ("thermal/drivers/core: Remove the module Kconfig's > option") changed the type of THERMAL from tristate to bool, so > THERMAL || !THERMAL is now always y. Remove the redundant dependency. > > Discovered through Kconfiglib

Re: [PATCH] drm/i915/dp: Fix DP MST error after unplugging TypeC cable

2019-10-01 Thread Ville Syrjälä
On Wed, Sep 25, 2019 at 06:05:42AM +0530, srinivasa...@intel.com wrote: > From: Srinivasan S > > This patch avoids DP MST payload error message in dmesg, as it is trying > to update the payload to the disconnected DP MST device. After DP MST > device is disconnected we should not be updating the

Re: [PATCH v3] drm/amdgpu: fix multiple memory leaks in acp_hw_init

2019-10-01 Thread Koenig, Christian
Am 30.09.19 um 23:26 schrieb Navid Emamdoost: > In acp_hw_init there are some allocations that needs to be released in > case of failure: > > 1- adev->acp.acp_genpd should be released if any allocation attemp for > adev->acp.acp_cell, adev->acp.acp_res or i2s_pdata fails. > 2- all of those

Re: [PATCH v2 0/9] drm/print: add and use drm_debug_enabled()

2019-10-01 Thread Eric Engestrom
On Tuesday, 2019-10-01 14:03:55 +0300, Jani Nikula wrote: > On Thu, 26 Sep 2019, Eric Engestrom wrote: > > On Tuesday, 2019-09-24 15:58:56 +0300, Jani Nikula wrote: > >> Hi all, v2 of [1], a little refactoring around drm_debug access to > >> abstract it better. There shouldn't be any functional

Re: [PATCH -next] treewide: remove unused argument in lock_release()

2019-10-01 Thread Qian Cai
On Mon, 2019-09-30 at 09:29 +0200, Peter Zijlstra wrote: > On Thu, Sep 19, 2019 at 12:09:40PM -0400, Qian Cai wrote: > > Since the commit b4adfe8e05f1 ("locking/lockdep: Remove unused argument > > in __lock_release"), @nested is no longer used in lock_release(), so > > remove it from all

[PATCH v4 4/7] sh: ecovec24: don't set unused fields in platform data

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Platform data fields other than fbdev are no longer used by the backlight driver. Remove them. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij --- arch/sh/boards/mach-ecovec24/setup.c | 3 --- 1 file changed, 3

[PATCH v4 2/7] sh: ecovec24: add additional properties to the backlight device

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a GPIO lookup entry and a device property for GPIO backlight to the board file. Tie them to the platform device which is now registered using platform_device_register_full() because of the properties. These changes are inactive now but will be used once the gpio

[PATCH v4 3/7] backlight: gpio: simplify the platform data handling

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that the last user of platform data (sh ecovec24) defines a proper GPIO lookup and sets the 'default-on' device property, we can drop the platform_data-specific GPIO handling and unify a big chunk of code. The only field used from the platform data is now the fbdev

[PATCH v4 6/7] backlight: gpio: use a helper variable for >dev

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Instead of dereferencing pdev each time, use a helper variable for the associated device pointer. Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij Reviewed-by: Daniel Thompson Reviewed-by: Andy Shevchenko --- drivers/video/backlight/gpio_backlight.c |

[PATCH v4 0/7] backlight: gpio: simplify the driver

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski While working on my other series related to gpio-backlight[1] I noticed that we could simplify the driver if we made the only user of platform data use GPIO lookups and device properties. This series tries to do that. The first patch adds all necessary data structures

Re: [PATCH v4 1/7] backlight: gpio: remove unneeded include

2019-10-01 Thread Andy Shevchenko
On Tue, Oct 01, 2019 at 02:58:31PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > Reviewed-by: Andy Shevchenko > We no longer use any symbols from of_gpio.h. Remove this include. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/video/backlight/gpio_backlight.c | 1 -

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-10-01 Thread Adam Ford
On Tue, Oct 1, 2019 at 4:31 AM Tomi Valkeinen wrote: > > On 01/10/2019 11:12, Tero Kristo wrote: > > On 01/10/2019 08:07, Tomi Valkeinen wrote: > >> On 30/09/2019 20:48, Tero Kristo wrote: > >> > >>> Hmmh, after some testing, it seems there is bad stuff happening with > >>> the divider clock

Re: [1/3] drm/tinydrm/Kconfig: Remove menuconfig DRM_TINYDRM

2019-10-01 Thread Noralf Trønnes
Den 01.10.2019 14.36, skrev Jason Gunthorpe: > On Thu, Jul 25, 2019 at 12:51:30PM +0200, Noralf Trønnes wrote: >> This makes the tiny drivers visible by default without having to enable a >> knob. >> >> Signed-off-by: Noralf Trønnes >> Reviewed-by: Hans de Goede to it once >> --- >>

Re: [PATCH v3] dt-bindings: gpu: Convert Samsung 2D Graphics Accelerator to dt-schema

2019-10-01 Thread Rob Herring
On Fri, 27 Sep 2019 16:33:19 +0200, Marek Szyprowski wrote: > From: Maciej Falkowski > > Convert Samsung 2D Graphics Accelerator to newer dt-schema format > > Signed-off-by: Maciej Falkowski > --- > v3: > - Merged two if-statements with single if-else statement > - Added 'additionalProperties:

Re: [1/3] drm/tinydrm/Kconfig: Remove menuconfig DRM_TINYDRM

2019-10-01 Thread Jason Gunthorpe
On Tue, Oct 01, 2019 at 03:28:46PM +0200, Noralf Trønnes wrote: > > > Den 01.10.2019 14.36, skrev Jason Gunthorpe: > > On Thu, Jul 25, 2019 at 12:51:30PM +0200, Noralf Trønnes wrote: > >> This makes the tiny drivers visible by default without having to enable a > >> knob. > >> > >>

[Bug 111876] AMD 5700 XT / Navi - BenQ XL2420G - No EDID read with DP connector, HDMI works fine

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111876 --- Comment #2 from Christopher Jordan --- Created attachment 145600 --> https://bugs.freedesktop.org/attachment.cgi?id=145600=edit lspci output -- You are receiving this mail because: You are the assignee for the

[Bug 111876] AMD 5700 XT / Navi - BenQ XL2420G - No EDID read with DP connector, HDMI works fine

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111876 --- Comment #1 from Christopher Jordan --- Created attachment 145599 --> https://bugs.freedesktop.org/attachment.cgi?id=145599=edit dmesg output with HDMI connected -- You are receiving this mail because: You are the assignee for the

[Bug 111876] AMD 5700 XT / Navi - BenQ XL2420G - No EDID read with DP connector, HDMI works fine

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111876 --- Comment #3 from Christopher Jordan --- Created attachment 145601 --> https://bugs.freedesktop.org/attachment.cgi?id=145601=edit pacman -Q output -- You are receiving this mail because: You are the assignee for the

Re: [RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-10-01 Thread Bjorn Helgaas
On Mon, Sep 30, 2019 at 06:36:12PM +0200, Karol Herbst wrote: > On Mon, Sep 30, 2019 at 6:30 PM Mika Westerberg > wrote: > > > > On Mon, Sep 30, 2019 at 06:05:14PM +0200, Karol Herbst wrote: > > > still happens with your patch applied. The machine simply gets shut down. > > > > > > dmesg can be

Re: [PATCH v3] dt-bindings: gpu: Convert Samsung Image Scaler to dt-schema

2019-10-01 Thread Rob Herring
On Fri, 27 Sep 2019 16:33:06 +0200, Marek Szyprowski wrote: > From: Maciej Falkowski > > Convert Samsung Image Scaler to newer dt-schema format. > > Signed-off-by: Maciej Falkowski > Signed-off-by: Marek Szyprowski > --- > v3: > - Fixed description of 'clocks' property: > rather than 'mscl

[Bug 205049] garbled graphics

2019-10-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205049 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

[PATCH v3] drm/print: add drm_debug_enabled()

2019-10-01 Thread Jani Nikula
Add helper to check if a drm debug category is enabled. Convert drm core to use it. No functional changes. v2: Move unlikely() to drm_debug_enabled() (Eric) v3: Keep unlikely() when combined with other conditions (Eric) Cc: Eric Engestrom Acked-by: Alex Deucher Signed-off-by: Jani Nikula ---

[PATCH v4 7/7] backlight: gpio: pull gpio_backlight_initial_power_state() into probe

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The probe function in the gpio-backlight driver is quite short. If we pull gpio_backlight_initial_power_state() into probe we can drop two more fields from struct gpio_backlight and shrink the driver code. Signed-off-by: Bartosz Golaszewski ---

[PATCH v4 1/7] backlight: gpio: remove unneeded include

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We no longer use any symbols from of_gpio.h. Remove this include. Signed-off-by: Bartosz Golaszewski --- drivers/video/backlight/gpio_backlight.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/backlight/gpio_backlight.c

[PATCH v4 5/7] backlight: gpio: remove unused fields from platform data

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Remove the platform data fields that nobody uses. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij Reviewed-by: Daniel Thompson --- include/linux/platform_data/gpio_backlight.h | 3 --- 1 file changed, 3 deletions(-) diff

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-10-01 Thread Tomi Valkeinen
On 01/10/2019 16:06, Adam Ford wrote: Do you want me to push a patch to remove the CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK hack once these patches have been posted? It seems like the divider fix eliminates the need for this hack. No, the point of OMAP2_DSS_MIN_FCK_PER_PCK was never to work around

Re: [PATCH] Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc

2019-10-01 Thread Dan Carpenter
On Sun, Sep 29, 2019 at 10:09:45PM -0500, Navid Emamdoost wrote: > In fbtft_framebuffer_alloc the error handling path should take care of > releasing frame buffer after it is allocated via framebuffer_alloc, too. > Therefore, in two failure cases the goto destination is changed to > address this

Re: [PATCH v2 2/8] dt-bindings: sram: Convert SRAM bindings to json-schema

2019-10-01 Thread Rob Herring
On Wed, Sep 18, 2019 at 07:31:35PM +0200, Krzysztof Kozlowski wrote: > Convert generic mmio-sram bindings to DT schema format using > json-schema. I've been slow getting to this because I started on the same thing... > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1.

Re: [PATCH 15/15] drm/amd/display: Trigger modesets on MST DSC connectors

2019-10-01 Thread Mikita Lipski
On 19.09.2019 20:08, Lyude Paul wrote: > This still needs to be moved into an atomic helper so it can be reused by > other drivers It would be a future to move the implementation to a contained atomic helper. > ... > ... > > however, I've had this patch series on my mind for a while and

Re: [1/3] drm/tinydrm/Kconfig: Remove menuconfig DRM_TINYDRM

2019-10-01 Thread Noralf Trønnes
Hi drm-misc maintainers, I have just applied a patch to drm-misc-next that as it turns out should have been applied to -fixes for this -rc cycle. Should I cherry pick it to drm-misc-next-fixes? (I know there's a flowchart in the docs but I've never really understood it.) Noralf. Den 01.10.2019

Re: [PATCH v2 0/9] drm/print: add and use drm_debug_enabled()

2019-10-01 Thread Jani Nikula
On Tue, 01 Oct 2019, Eric Engestrom wrote: > On Tuesday, 2019-10-01 14:03:55 +0300, Jani Nikula wrote: >> On Thu, 26 Sep 2019, Eric Engestrom wrote: >> > On Tuesday, 2019-09-24 15:58:56 +0300, Jani Nikula wrote: >> >> Hi all, v2 of [1], a little refactoring around drm_debug access to >> >>

[Bug 111876] AMD 5700 XT / Navi - BenQ XL2420G - No EDID read with DP connector, HDMI works fine

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111876 Bug ID: 111876 Summary: AMD 5700 XT / Navi - BenQ XL2420G - No EDID read with DP connector, HDMI works fine Product: DRI Version: DRI git Hardware: x86-64 (AMD64)

[PATCH v2 RESEND] drm/komeda: Workaround for broken FLIP_COMPLETE timestamps

2019-10-01 Thread Mihail Atanassov
When initially turning a crtc on, drm_reset_vblank_timestamp will set the vblank timestamp to 0 for any driver that doesn't provide a ->get_vblank_timestamp() hook. Unfortunately, the FLIP_COMPLETE event depends on that timestamp, and the only way to regenerate a valid one is to have vblank

[Bug 111876] AMD 5700 XT / Navi - BenQ XL2420G - No EDID read with DP connector, HDMI works fine

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111876 --- Comment #4 from Christopher Jordan --- I forgot to mention - when using DP, after that EDID error, my screen displays a 640x480 tty. I can start X with it, but xrandr shows no other resolutions to use (probably because the KMS has no EDID

Re: [PATCH v2 RESEND] drm/komeda: Workaround for broken FLIP_COMPLETE timestamps

2019-10-01 Thread Ayan Halder
On Tue, Oct 01, 2019 at 02:21:40PM +, Mihail Atanassov wrote: > When initially turning a crtc on, drm_reset_vblank_timestamp will > set the vblank timestamp to 0 for any driver that doesn't provide > a ->get_vblank_timestamp() hook. > > Unfortunately, the FLIP_COMPLETE event depends on that

Re: [PATCH v3 5/5] RFC: drm/atomic-helper: Reapply color transformation after resume

2019-10-01 Thread Jacopo Mondi
Hi Ezequiel, On Mon, Sep 30, 2019 at 07:28:02PM -0300, Ezequiel Garcia wrote: > Some platforms are not able to maintain the color transformation > state after a system suspend/resume cycle. > > Set the colog_mgmt_changed flag so that CMM on the CRTCs in CMM is the name of the Renesas unit for

[Bug 111860] Crash in AMDGPU after resume on VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111860 --- Comment #4 from Alex Deucher --- Is this a regression? Did it work on a previous kernel? Please attach your full dmesg output from boot. -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v3] drm/print: add drm_debug_enabled()

2019-10-01 Thread Eric Engestrom
On Tuesday, 2019-10-01 17:06:14 +0300, Jani Nikula wrote: > Add helper to check if a drm debug category is enabled. Convert drm core > to use it. No functional changes. > > v2: Move unlikely() to drm_debug_enabled() (Eric) > > v3: Keep unlikely() when combined with other conditions (Eric) > >

[Bug 111877] AMDKFD crash with VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111877 Bug ID: 111877 Summary: AMDKFD crash with VegaM Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: not set Priority:

Re: [PATCH V6 3/8] backlight: qcom-wled: Add new properties for PMI8998

2019-10-01 Thread Dan Murphy
Kiran On 9/30/19 1:39 AM, Kiran Gunda wrote: Update the bindings with the new properties used for PMI8998. Signed-off-by: Kiran Gunda Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring Acked-by: Daniel Thompson --- .../bindings/leds/backlight/qcom-wled.txt | 76

[Bug 111860] Crash in AMDGPU after resume on VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111860 --- Comment #6 from Dimitar Atanasov --- It was working with 5.1.x but since 5.2.x it is not -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

[Bug 111860] Crash in AMDGPU after resume on VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111860 --- Comment #7 from Dimitar Atanasov --- Created attachment 145605 --> https://bugs.freedesktop.org/attachment.cgi?id=145605=edit dmesg_resume -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v4 1/7] backlight: gpio: remove unneeded include

2019-10-01 Thread Daniel Thompson
On Tue, Oct 01, 2019 at 02:58:31PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We no longer use any symbols from of_gpio.h. Remove this include. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Daniel Thompson > --- > drivers/video/backlight/gpio_backlight.c | 1 -

[Bug 111860] Crash in AMDGPU after resume on VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111860 --- Comment #2 from Alex Deucher --- That's just a warning. Does the driver still work properly? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

[Bug 111846] Suspend to RAM cause screen to glitch on navi10

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111846 --- Comment #1 from Alex Deucher --- Please attach your xorg log (if using X) and your dmesg output. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

Re: [Intel-gfx] [PATCH 1/4] drm/rect: Add drm_rect_translate_to()

2019-10-01 Thread Ville Syrjälä
On Tue, Oct 01, 2019 at 12:26:52PM +0300, Jani Nikula wrote: > On Mon, 30 Sep 2019, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Add a helper to translate a rectangle to an absolute position. > > > > Signed-off-by: Ville Syrjälä > > The series is > > Reviewed-by: Jani Nikula >

Re: [PATCH v3 5/5] RFC: drm/atomic-helper: Reapply color transformation after resume

2019-10-01 Thread Ville Syrjälä
On Mon, Sep 30, 2019 at 07:28:02PM -0300, Ezequiel Garcia wrote: > Some platforms are not able to maintain the color transformation > state after a system suspend/resume cycle. > > Set the colog_mgmt_changed flag so that CMM on the CRTCs in > the suspend state are reapplied after system resume. >

[Bug 111860] Crash in AMDGPU after resume on VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111860 --- Comment #3 from Dimitar Atanasov --- No it will not work at all. DRI_PRIME is not functioning also -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

Re: [PATCH V6 1/8] backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c

2019-10-01 Thread Dan Murphy
Kiran On 9/30/19 1:39 AM, Kiran Gunda wrote: pm8941-wled.c driver is supporting the WLED peripheral on pm8941. Rename it to qcom-wled.c so that it can support WLED on multiple PMICs. Signed-off-by: Kiran Gunda Reviewed-by: Bjorn Andersson Acked-by: Rob Herring Acked-by: Daniel Thompson

Re: [PATCH V6 2/8] backlight: qcom-wled: restructure the qcom-wled bindings

2019-10-01 Thread Dan Murphy
Kiran On 9/30/19 1:39 AM, Kiran Gunda wrote: Restructure the qcom-wled bindings for the better readability. Signed-off-by: Kiran Gunda Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring Acked-by: Daniel Thompson Acked-by: Pavel Machek --- .../bindings/leds/backlight/qcom-wled.txt

[Bug 111877] AMDKFD crash with VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111877 --- Comment #1 from Dimitar Atanasov --- CPU 8706G Precision 5530 2-in-1 Ubuntu 18.04.3 kernel 5.3.1 -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

[Bug 111877] AMDKFD crash with VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111877 --- Comment #2 from Alex Deucher --- Does appending amdgpu.runpm=0 to the kernel command line in grub help? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel

[Bug 111860] Crash in AMDGPU after resume on VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111860 --- Comment #5 from Dimitar Atanasov --- Created attachment 145604 --> https://bugs.freedesktop.org/attachment.cgi?id=145604=edit dmesg_full -- You are receiving this mail because: You are the assignee for the

Re: [PATCH V6 5/8] backlight: qcom-wled: Restructure the driver for WLED3

2019-10-01 Thread Dan Murphy
Kiran On 9/30/19 1:39 AM, Kiran Gunda wrote: Restructure the driver to add the support for new WLED peripherals. Signed-off-by: Kiran Gunda Acked-by: Daniel Thompson --- drivers/video/backlight/qcom-wled.c | 395 ++-- 1 file changed, 245 insertions(+), 150

Re: [PATCH v2 2/8] dt-bindings: sram: Convert SRAM bindings to json-schema

2019-10-01 Thread Krzysztof Kozlowski
On Tue, Oct 01, 2019 at 09:00:03AM -0500, Rob Herring wrote: > On Wed, Sep 18, 2019 at 07:31:35PM +0200, Krzysztof Kozlowski wrote: > > Convert generic mmio-sram bindings to DT schema format using > > json-schema. > > I've been slow getting to this because I started on the same thing... > > > >

Re: [RFC PATCH] drm:- Add a modifier to denote 'protected' framebuffer

2019-10-01 Thread Alex Deucher
On Mon, Sep 30, 2019 at 8:57 AM Ayan Halder wrote: > > On Mon, Sep 30, 2019 at 09:51:35AM +, Brian Starkey wrote: > > Hi, > > > > On Tue, Sep 17, 2019 at 07:36:45PM +0200, Daniel Vetter wrote: > > > On Tue, Sep 17, 2019 at 6:15 PM Neil Armstrong > > > wrote: > > > > > > > > Hi, > > > > > >

[Bug 111877] AMDKFD crash with VegaM

2019-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111877 --- Comment #3 from Dimitar Atanasov --- yes this helps. clinfo is working now without crash and also darktable will find all gpu-s -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v3] drm/bridge: analogix-anx78xx: add support for 7808 addresses

2019-10-01 Thread Enric Balletbo i Serra
Hi, On 22/9/19 19:59, Brian Masney wrote: > According to the downstream Android sources, the anx7808 variants use > address 0x78 for TX_P0 and the anx781x variants use address 0x70. Since > the datasheets aren't available for these devices, and we only have the > downstream kernel sources to look

New sysfs interface for privacy screens

2019-10-01 Thread Mat King
Resending in plain text mode I have been looking into adding Linux support for electronic privacy screens which is a feature on some new laptops which is built into the display and allows users to turn it on instead of needing to use a physical privacy filter. In discussions with my colleagues

[PATCH v2 00/14] DSC MST support for AMDGPU

2019-10-01 Thread mikita.lipski
From: Mikita Lipski This set of patches is a continuation of DSC enablement patches for AMDGPU. This set enables DSC on MST. It also contains implementation of both encoder and connector atomic check routines. First 12 patches have been introduced in multiple iterations to the mailing list

[PATCH 08/14] drm/amd/display: Use correct helpers to compute timeslots

2019-10-01 Thread mikita.lipski
From: David Francis We were using drm helpers to convert a timing into its bandwidth, its bandwidth into pbn, and its pbn into timeslots These helpers -Did not take DSC timings into account -Used the link rate and lane count of the link's aux device, which are not the same as the link's current

[PATCH 09/14] drm/amd/display: Initialize DSC PPS variables to 0

2019-10-01 Thread mikita.lipski
From: David Francis For DSC MST, sometimes monitors would break out in full-screen static. The issue traced back to the PPS generation code, where these variables were being used uninitialized and were picking up garbage. memset to 0 to avoid this Reviewed-by: Nicholas Kazlauskas

[PATCH 14/14] drm/amd/display: Trigger modesets on MST DSC connectors

2019-10-01 Thread mikita.lipski
From: David Francis Whenever a connector on an MST network is attached, detached, or undergoes a modeset, the DSC configs for each stream on that topology will be recalculated. This can change their required bandwidth, requiring a full reprogramming, as though a modeset was performed, even if

[PATCH 02/14] drm/dp_mst: Add PBN calculation for DSC modes

2019-10-01 Thread mikita.lipski
From: David Francis With DSC, bpp can be fractional in multiples of 1/16. Change drm_dp_calc_pbn_mode to reflect this, adding a new parameter bool dsc. When this parameter is true, treat the bpp parameter as having units not of bits per pixel, but 1/16 of a bit per pixel v2: Don't add separate

[PATCH 06/14] drm/dp_mst: Add helpers for MST DSC and virtual DPCD aux

2019-10-01 Thread mikita.lipski
From: David Francis Add drm_dp_mst_dsc_aux_for_port. To enable DSC, the DSC_ENABLED register might have to be written on the leaf port's DPCD, its parent's DPCD, or the MST manager's DPCD. This function finds the correct aux for the job. As part of this, add drm_dp_mst_is_virtual_dpcd. Virtual

[PATCH 12/14] drm/amd/display: MST DSC compute fair share

2019-10-01 Thread mikita.lipski
From: David Francis If there is limited link bandwidth on a MST network, it must be divided fairly between the streams on that network Implement an algorithm to determine the correct DSC config for each stream The algorithm: This [ ] ( ) represents the range of

[PATCH 13/14] drm/amd/display: Recalculate VCPI slots for new DSC connectors

2019-10-01 Thread mikita.lipski
From: Mikita Lipski Since for DSC MST connector's PBN is claculated differently due to compression, we have to recalculate both PBN and VCPI slots for that connector. This patch proposes to use similair logic as in dm_encoder_helper_atomic_chek, but since we do not know which connectors will

[PATCH 11/14] drm/amd/display: Write DSC enable to MST DPCD

2019-10-01 Thread mikita.lipski
From: David Francis Rework the dm_helpers_write_dsc_enable callback to handle the MST case. Use the cached dsc_aux field. Reviewed-by: Wenjing Liu Signed-off-by: David Francis --- .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 19 ++- 1 file changed, 18 insertions(+), 1

[PATCH 01/14] drm/amd/display: Add MST atomic routines

2019-10-01 Thread mikita.lipski
From: Mikita Lipski - Adding encoder atomic check to find vcpi slots for a connector - Using DRM helper functions to calculate PBN - Adding connector atomic check to release vcpi slots if connector loses CRTC - Calculate PBN and VCPI slots only once during atomic check and store them on amdgpu

  1   2   >