[PATCH v5 1/2] dt-bindings: display: convert rockchip vop bindings to yaml

2020-04-04 Thread Johan Jonker
Current dts files with 'vop' nodes are manually verified. In order to automate this process rockchip-vop.txt has to be converted to yaml. Signed-off-by: Johan Jonker Reviewed-by: Rob Herring --- Changes v5: Add reviewed by Fix irq.h already included in arm-gic.h Changes v4: Change

Re: lima, panfrost: multiple definition of `of_devfreq_cooling_register_power'

2020-04-04 Thread Martin Blumenstingl
On Thu, Apr 2, 2020 at 9:46 AM Thomas Zimmermann wrote: > > Hi Martin > > Am 02.04.20 um 09:39 schrieb Martin Blumenstingl: > > Hi Thomas, > > > > On Thu, Apr 2, 2020 at 9:26 AM Thomas Zimmermann > > wrote: > >> > >> Hi, > >> > >> building lima and panfrost drivers from drm-tip, I currently get

Re: [PATCH V4 3/4] backlight: qcom-wled: Add WLED5 bindings

2020-04-04 Thread kgunda
On 2020-03-31 23:26, Rob Herring wrote: On Mon, Mar 23, 2020 at 11:16:57PM +0530, Kiran Gunda wrote: Add WLED5 specific bindings. More of the same comments here... Signed-off-by: Kiran Gunda Signed-off-by: Subbaraman Narayanamurthy --- .../bindings/leds/backlight/qcom-wled.yaml

[PATCH] drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event

2020-04-04 Thread Aaron Ma
On ARCTURUS and RENOIR, powerplay is not supported yet. When plug in or unplug power jack, ACPI event will issue. Then kernel NULL pointer BUG will be triggered. Check for NULL pointers before calling. Signed-off-by: Aaron Ma --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 3 ++- 1 file changed, 2

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

2020-04-04 Thread kgunda
On 2020-03-31 23:24, Rob Herring wrote: On Mon, Mar 23, 2020 at 11:16:55PM +0530, Kiran Gunda wrote: Convert the qcom-wled bindings from .txt to .yaml format. Signed-off-by: Kiran Gunda Signed-off-by: Subbaraman Narayanamurthy Acked-by: Daniel Thompson ---

Re: [PATCH v2 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-04 Thread Rasmus Villemoes
On 03/04/2020 11.11, Sakari Ailus wrote: > Add a printk modifier %ppf (for pixel format) for printing V4L2 and DRM > pixel formats denoted by 4ccs. The 4cc encoding is the same for both so > the same implementation can be used. This seems quite niche to me, I'm not sure that belongs in

[PATCH v5 2/2] dt-bindings: display: rockchip-vop: add additional properties

2020-04-04 Thread Johan Jonker
In the old txt situation we add/describe only properties that are used by the driver/hardware itself. With yaml it also filters things in a node that are used by other drivers like 'assigned-clocks' and 'assigned-clock-rates' for rk3399 and 'power-domains' for most Rockchip Socs in 'vop' nodes, so

[PATCH] drm/bridge: dw-mipi-dsi.c: remove unused header file

2020-04-04 Thread Angelo Ribeiro
dw-mipi-dsi does not use any definition from drm_probe_helper. Coverity output: Event unnecessary_header: Including .../include/drm/drm_probe_helper.h does not provide any needed symbols. Cc: Gustavo Pimentel Cc: Joao Pinto Cc: Jose Abreu Signed-off-by: Angelo Ribeiro ---

[PATCH v2] dt-bindings: display: convert rockchip rk3066 hdmi bindings to yaml

2020-04-04 Thread Johan Jonker
Current dts files with 'hdmi' nodes for rk3066 are manually verified. In order to automate this process rockchip,rk3066-hdmi.txt has to be converted to yaml. Signed-off-by: Johan Jonker --- Changes v2: Fix irq.h already included in arm-gic.h --- .../display/rockchip/rockchip,rk3066-hdmi.txt

Re: [PATCH v3] drm/i915: Synchronize active and retire callbacks

2020-04-04 Thread Sultan Alsawaf
On Fri, Apr 03, 2020 at 03:35:15PM -0700, Sultan Alsawaf wrote: > + ref->retire(ref); > + mutex_unlock(>callback_lock); Ugh, this patch is still wrong because the mutex unlock after ref->retire() is a use-after-free. Fun times... Sultan

Re: [PATCH v2 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-04 Thread Andy Shevchenko
On Fri, Apr 03, 2020 at 01:19:26PM +0200, Mauro Carvalho Chehab wrote: > Em Fri, 3 Apr 2020 13:47:02 +0300 > Sakari Ailus escreveu: > > > > > +static noinline_for_stack > > > > +char *fourcc_string(char *buf, char *end, const u32 *fourcc, > > > > + struct printf_spec spec,

Re: [PATCH v2 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-04 Thread Andy Shevchenko
On Fri, Apr 03, 2020 at 12:11:56PM +0300, Sakari Ailus wrote: > Add a printk modifier %ppf (for pixel format) for printing V4L2 and DRM > pixel formats denoted by 4ccs. The 4cc encoding is the same for both so > the same implementation can be used. ... > +static noinline_for_stack > +char

Re: Aliases for DRI connectors?

2020-04-04 Thread Guillermo Rodriguez
Hi Pekka, El vie., 3 abr. 2020 a las 10:14, Pekka Paalanen () escribió: > > On Wed, 1 Apr 2020 14:38:37 -0500 > Matt Hoosier wrote: > > > I'm searching for some sort of scheme that will let my DRI master query the > > set of available connectors and select the one carrying a prearranged > >

[PATCH] drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs

2020-04-04 Thread Angelo Ribeiro
Add support for the video pattern generator (VPG) BER pattern mode and configuration in runtime. This enables using the debugfs interface to manipulate the VPG after the pipeline is set. Also, enables the usage of the VPG BER pattern. Cc: Gustavo Pimentel Cc: Joao Pinto Cc: Jose Abreu

Re: [PATCH v2 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-04 Thread Andy Shevchenko
On Fri, Apr 03, 2020 at 12:39:16PM +0300, Sakari Ailus wrote: > On Fri, Apr 03, 2020 at 12:31:03PM +0300, Andy Shevchenko wrote: > > On Fri, Apr 03, 2020 at 12:11:56PM +0300, Sakari Ailus wrote: > > > Add a printk modifier %ppf (for pixel format) for printing V4L2 and DRM > > > pixel formats

Re: How to handle disconnection of eDP panels due to dynamic display mux switches

2020-04-04 Thread Daniel Dadap
On 4/3/20 2:16 AM, Daniel Vetter wrote: On Fri, Apr 3, 2020 at 8:54 AM Daniel Dadap wrote: On 4/2/20 6:39 AM, Lukas Wunner wrote: On Fri, Mar 27, 2020 at 04:25:19PM -0500, Daniel Dadap wrote: A number of hybrid GPU notebook computer designs with dual (integrated plus discrete) GPUs are

Re: [PATCH] drm/amd/display: Fix a compilation warning

2020-04-04 Thread Markus Elfring
> When I compile the code in X86,there is a warning about > "'PixelPTEReqHeightPTES' may be used uninitialized in this function". Would you like to add the tag “Fixes” to the commit message? Regards, Markus ___ dri-devel mailing list

[PATCH 2/5] video: Add missing annotation for cyber2000fb_enable_ddc() and cyber2000fb_disable_ddc()

2020-04-04 Thread Jules Irenge
Sparse reports warnings at cyber2000fb_enable_ddc() and cyber2000fb_disable_ddc() warning: context imbalance in cyber2000fb_enable_ddc() - wrong count at exit warning: context imbalance in cyber2000fb_disable_ddc() - unexpected unlock The root cause is the missing

Re: [PATCH] drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs

2020-04-04 Thread Adrian Pop
Hello Angelo, I get a compile error: error: ‘VID_MODE_VPG_MODE’ undeclared. I am quite new to the mailing list, maybe I misapplied the patch. Regards, Adrian On Fri, Apr 3, 2020 at 6:37 PM Angelo Ribeiro wrote: > > Add support for the video pattern generator (VPG) BER pattern mode and >

[PULL] drm-misc-next-fixes

2020-04-04 Thread Maxime Ripard
Hi Daniel, Dave, Here's this week round of drm-misc-next fixes. Thanks! Maxime drm-misc-next-fixes-2020-04-04: A bunch of fixes to avoid null pointer dereference in fbcon, fix a return in xen, some DT bindings fixes, a vc4 issue with 1920x1200 mode validation, and a conflicting framebuffer in

Re: mainline/master bisection: baseline.login on peach-pi

2020-04-04 Thread Maxime Ripard
Hi, On Fri, Apr 03, 2020 at 03:47:46PM +, Deucher, Alexander wrote: > [AMD Official Use Only - Internal Distribution Only] > > > -Original Message- > > From: Guillaume Tucker > > Sent: Friday, April 3, 2020 10:14 AM > > To: Michael J. Ruhl ; Shane Francis > > ; Deucher, Alexander > >

Re: [PATCH v14 1/3] dt-bindings: display: mediatek: control dpi pins mode to avoid leakage

2020-04-04 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2020年4月3日 週五 下午4:04寫道: > > Add property "pinctrl-names" to swap pin mode between gpio and dpi mode. Set > the dpi pins to gpio mode and output-low to avoid leakage current when dpi > disabled. > Reviewed-by: Chun-Kuang Hu > Signed-off-by: Jitao Shi > --- >

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-04-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 --- Comment #5 from Cyrax (ev...@hotmail.com) --- Oh and kernel is in 5.5.13 version. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-04-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 Cyrax (ev...@hotmail.com) changed: What|Removed |Added Kernel Version|5.5.11 |5.5.13 Regression|No

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-04-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 --- Comment #4 from Cyrax (ev...@hotmail.com) --- Created attachment 288203 --> https://bugzilla.kernel.org/attachment.cgi?id=288203=edit dmesg output 2 This crash happened again. In that time I have used VLC, played a game (GZDoom) and tried

[drm-tip:drm-tip 9/10] drivers/staging/rtl8712/rtl8712_xmit.c:360:18: error: incompatible pointer types initializing 'struct tx_desc *' with an expression of type 'u8 *' (aka 'unsigned char *')

2020-04-04 Thread kbuild test robot
Hi Ville, First bad commit (maybe != root cause): tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: 06ddf8dd059d59bc27c24b09a6e500809e619982 commit: 02f01c7089f8aadbf676f8d8aad6e0bccac8c46a [9/10] Merge remote-tracking branch 'drm_intel_push/topic/core-for-CI' into drm-tip

Re: [PATCH v4 4/4] drm/mediatek: config mipitx impedance with calibration data

2020-04-04 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2020年3月31日 週二 下午4:28寫道: > > Read calibration data from nvmem, and config mipitx impedance with > calibration data to make sure their impedance are 100ohm. > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_mt8183_mipi_tx.c | 57 +++ > 1

Re: [PATCH v14 3/3] drm/mediatek: set dpi pin mode to gpio low to avoid leakage current

2020-04-04 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2020年4月3日 週五 下午4:04寫道: > > Config dpi pins mode to output and pull low when dpi is disabled. > Aovid leakage current from some dpi pins (Hsync Vsync DE ... ). Reviewed-by: Chun-Kuang Hu > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 31

Re: [Mesa-dev] [Intel-gfx] gitlab.fd.o financial situation and impact on services

2020-04-04 Thread Rob Clark
On Fri, Apr 3, 2020 at 7:12 AM Michel Dänzer wrote: > > On 2020-03-01 6:46 a.m., Marek Olšák wrote: > > For Mesa, we could run CI only when Marge pushes, so that it's a strictly > > pre-merge CI. > > Thanks for the suggestion! I implemented something like this for Mesa: > >

Re: [PATCH] drm: rcar-du: Create immutable zpos property for primary planes

2020-04-04 Thread Laurent Pinchart
Hi Geert, On Thu, Apr 02, 2020 at 01:12:51PM +0200, Geert Uytterhoeven wrote: > On Thu, Apr 2, 2020 at 12:42 PM Laurent Pinchart wrote: > > The R-Car DU driver creates a zpos property, ranging from 1 to 7, for > > all the overlay planes, but leaves the primary plane without a zpos > > property.

Re: [Mesa-dev] [Intel-gfx] gitlab.fd.o financial situation and impact on services

2020-04-04 Thread Rob Clark
On Sat, Apr 4, 2020 at 11:41 AM Rob Clark wrote: > > On Sat, Apr 4, 2020 at 11:16 AM Rob Clark wrote: > > > > On Sat, Apr 4, 2020 at 10:47 AM Nicolas Dufresne > > wrote: > > > > > > Le samedi 04 avril 2020 à 08:11 -0700, Rob Clark a écrit : > > > > On Fri, Apr 3, 2020 at 7:12 AM Michel Dänzer

Re: [Mesa-dev] [Intel-gfx] gitlab.fd.o financial situation and impact on services

2020-04-04 Thread Rob Clark
On Sat, Apr 4, 2020 at 10:47 AM Nicolas Dufresne wrote: > > Le samedi 04 avril 2020 à 08:11 -0700, Rob Clark a écrit : > > On Fri, Apr 3, 2020 at 7:12 AM Michel Dänzer wrote: > > > On 2020-03-01 6:46 a.m., Marek Olšák wrote: > > > > For Mesa, we could run CI only when Marge pushes, so that it's

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

2020-04-04 Thread Sam Ravnborg
Hi Laurent. On Sat, Apr 04, 2020 at 09:12:53PM +0300, Laurent Pinchart wrote: > 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.

Re: [Mesa-dev] [Intel-gfx] gitlab.fd.o financial situation and impact on services

2020-04-04 Thread Rob Clark
On Sat, Apr 4, 2020 at 11:16 AM Rob Clark wrote: > > On Sat, Apr 4, 2020 at 10:47 AM Nicolas Dufresne wrote: > > > > Le samedi 04 avril 2020 à 08:11 -0700, Rob Clark a écrit : > > > On Fri, Apr 3, 2020 at 7:12 AM Michel Dänzer wrote: > > > > On 2020-03-01 6:46 a.m., Marek Olšák wrote: > > > > >

[PATCH v2] drm: rcar-du: Set primary plane zpos immutably at initializing

2020-04-04 Thread Laurent Pinchart
From: Tomohito Esaki According to drm_plane_create_zpos_property() function documentation, all planes zpos range should be set if zpos property is supported. However, the rcar-du driver didn't set primary plane zpos range. Since the primary plane's zpos is fixed, set it immutably. Reported-by:

Re: [git pull] drm ttm hugepages feature pull for 5.7-rc1

2020-04-04 Thread pr-tracker-bot
The pull request you sent on Fri, 3 Apr 2020 09:35:43 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2020-04-03-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ea9448b254e253e4d95afaab071b341d86c11795 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v4 2/4] dt-bindings: display: mediatek: get mipitx calibration data from nvmem

2020-04-04 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2020年3月31日 週二 下午4:28寫道: > > Add properties to get get mipitx calibration data. Reviewed-by: Chun-Kuang Hu > > Reviewed-by: Rob Herring > Signed-off-by: Jitao Shi > --- > .../devicetree/bindings/display/mediatek/mediatek,dsi.txt| 5 + > 1 file changed, 5

Re: [PATCH v4 1/4] dt-bindings: display: mediatek: add property to control mipi tx drive current

2020-04-04 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2020年3月31日 週二 下午4:28寫道: > > Add a property to control mipi tx drive current: > "drive-strength-microamp" Reviewed-by: Chun-Kuang Hu > > Signed-off-by: Jitao Shi > --- > .../devicetree/bindings/display/mediatek/mediatek,dsi.txt| 5 + > 1 file changed, 5

Re: [PATCH v4 3/4] drm/mediatek: add the mipitx driving control

2020-04-04 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2020年3月31日 週二 下午4:28寫道: > > Add a property in device tree to control the driving by different > board. Reviewed-by: Chun-Kuang Hu > > Reviewed-by: Matthias Brugger > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_mipi_tx.c| 14 ++ >

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

2020-04-04 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

[Bug 201957] amdgpu: ring gfx timeout

2020-04-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 Steven Ellis (sel...@redhat.com) changed: What|Removed |Added CC||sel...@redhat.com ---

Re: [PATCH] drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs

2020-04-04 Thread kbuild test robot
Hi Angelo, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.6 next-20200404] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option