Re: [PATCH] drm/bridge: dw-mipi-dsi: Move drm_bridge_add into probe

2021-02-15 Thread yannick Fertre
Hello Jagan, I tested your patch on the stm32mp1 board. Unfortunately, the dsi panel does not probe well with this patch. The problem is due to the panel which is placed in the node of the dsi bridge (no problem with i2c devices). Regarding component bindings for stm drivers, I am currently wo

Re: [PATCH v2] soc: mediatek: cmdq: add address shift in jump

2021-02-15 Thread Jassi Brar
On Thu, Jan 7, 2021 at 7:48 PM Yongqiang Niu wrote: > > On Wed, 2020-12-23 at 16:34 +0800, Yongqiang Niu wrote: > > Add address shift when compose jump instruction > > to compatible with 35bit format. > > > > Fixes: 0858fde496f8 ("mailbox: cmdq: variablize address shift in platform") > > > > Signe

[PATCH v2 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-02-15 Thread Adrien Grassein
Lontium Lt8912 is a DSI to HDMI bridge. Signed-off-by: Adrien Grassein --- MAINTAINERS | 1 + drivers/gpu/drm/bridge/Kconfig | 14 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/lontium-lt8912.c | 719 4

[PATCH v2 1/2] dt-bindings: display: bridge: Add documentation for LT8912

2021-02-15 Thread Adrien Grassein
Lontium LT8912 is a DSI to HDMI bridge. Signed-off-by: Adrien Grassein --- .../display/bridge/lontium,lt8912.yaml| 102 ++ MAINTAINERS | 5 + 2 files changed, 107 insertions(+) create mode 100644 Documentation/devicetree/bindings/disp

[PATCH v2 0/2] Add support of Lontium lt8912 MIPI to HDMI bridge

2021-02-15 Thread Adrien Grassein
Hello, this patch set adds the support of the Lontium lt8912 MIPI to HDMI bridge in the kernel. It's only support the video part, not the audio part yet since I don't have the datasheet of this component. I get the current i2c configuration from Digi and Boundary drivers. Developed using the DB_D

Re: [PATCH 5/5] ARM: dts: dra7/omap5: add cec clock

2021-02-15 Thread Tony Lindgren
* Hans Verkuil [210211 12:37]: > Add cec clock to the dra7 and omap5 device trees. > > Signed-off-by: Hans Verkuil This should merge just fine with what I'm planning to merge for v5.13, probably best to apply this together with the driver changes: Acked-by: Tony Lindgren > --- > arch/arm/bo

Re: [PATCH v2 0/3] drm/panfrost: MMU fixes

2021-02-15 Thread Boris Brezillon
On Fri, 5 Feb 2021 12:17:54 +0100 Boris Brezillon wrote: > Hello, > > Here are 2 fixes and one improvement for the page fault handling. Those > bugs were found while working on indirect draw supports which requires > the allocation of a big heap buffer for varyings, and the vertex/tiler > shade

Re: [PATCH v4] MAINTAINERS: move Milo Kim to credits

2021-02-15 Thread Lee Jones
On Fri, 12 Feb 2021, Krzysztof Kozlowski wrote: > Milo Kim's email in TI bounces with permanent error (550: Invalid > recipient). Last email from him on LKML was in 2017. Move Milo Kim to > credits and remove the separate driver entries for: > - TI LP855x backlight driver, > - TI LP8727 charge

Re: [PATCH] drm/tilcdc: fix raster control register setting

2021-02-15 Thread Tomi Valkeinen
Adding Jyri with the non-TI address. Tomi On 14/02/2021 15:16, Dario Binacchi wrote: > The fdd property of the tilcdc_panel_info structure must set the reqdly > bit field (bit 12 to 19) of the raster control register. The previous > statement set the least significant bit instead. > > Signed-o

Re: [PATCH v3] kcmp: Support selection of SYS_kcmp without CHECKPOINT_RESTORE

2021-02-15 Thread Thomas Zimmermann
Hi Am 05.02.21 um 23:00 schrieb Chris Wilson: Userspace has discovered the functionality offered by SYS_kcmp and has started to depend upon it. In particular, Mesa uses SYS_kcmp for os_same_file_description() in order to identify when two fd (e.g. device or dmabuf) point to the same struct file.

DMA-buf and uncached system memory

2021-02-15 Thread Christian König
Hi guys, we are currently working an Freesync and direct scan out from system memory on AMD APUs in A+A laptops. On problem we stumbled over is that our display hardware needs to scan out from uncached system memory and we currently don't have a way to communicate that through DMA-buf. For

Re: [PATCH v3 1/2] dt-bindings: display: bridge: Add bindings for SN65DSI83/84/85

2021-02-15 Thread Neil Armstrong
Hi, On 14/02/2021 18:44, Jagan Teki wrote: > SN65DSI83/84/85 devices are MIPI DSI to LVDS based bridge > controller IC's from Texas Instruments. > > SN65DSI83 - Single Channel DSI to Single-link LVDS bridge > SN65DSI84 - Single Channel DSI to Dual-link LVDS bridge > SN65DSI85 - Dual Channel DSI t

Re: ITE66121 HDMI driver

2021-02-15 Thread Neil Armstrong
Hi, On 14/02/2021 00:54, Paul Cercueil wrote: > Hi Phong and Neil, > > I see you sent a patchset to support the ITE66121 HDMI transmitter, last > version being the V2 back in March 2020. > > Do you still plan to mainline it? Yes, we still plan to mainline it. > > I do have a device with a IT

Re: DMA-buf and uncached system memory

2021-02-15 Thread Simon Ser
On Monday, February 15th, 2021 at 9:58 AM, Christian König wrote: > we are currently working an Freesync and direct scan out from system > memory on AMD APUs in A+A laptops. > > On problem we stumbled over is that our display hardware needs to scan > out from uncached system memory and we curren

Re: [PATCH 1/3] dt-bindings: Add YAML bindings for Host1x and NVDEC

2021-02-15 Thread Neil Armstrong
On 13/02/2021 11:15, Mikko Perttunen wrote: > Convert the original Host1x bindings to YAML and add new bindings for > NVDEC, now in a more appropriate location. The old text bindings > for Host1x and engines are still kept at display/tegra/ since they > encompass a lot more engines that haven't bee

Re: [PATCH 0/3] NVIDIA Tegra NVDEC support

2021-02-15 Thread Neil Armstrong
Hi, On 13/02/2021 11:15, Mikko Perttunen wrote: > Hi all, > > with the release of documentation headers for Tegra multimedia engines > (NVDEC, NVENC, NVJPG) [1], I have started working on the corresponding > implementations. Here's the first one, NVDEC. > > The kernel driver is a simple Falcon b

Re: DMA-buf and uncached system memory

2021-02-15 Thread Christian König
Am 15.02.21 um 10:06 schrieb Simon Ser: On Monday, February 15th, 2021 at 9:58 AM, Christian König wrote: we are currently working an Freesync and direct scan out from system memory on AMD APUs in A+A laptops. On problem we stumbled over is that our display hardware needs to scan out from

Re: DMA-buf and uncached system memory

2021-02-15 Thread Thomas Zimmermann
Hi Am 15.02.21 um 09:58 schrieb Christian König: Hi guys, we are currently working an Freesync and direct scan out from system memory on AMD APUs in A+A laptops. On problem we stumbled over is that our display hardware needs to scan out from uncached system memory and we currently don't hav

Re: [PATCH 0/3] NVIDIA Tegra NVDEC support

2021-02-15 Thread Thierry Reding
On Mon, Feb 15, 2021 at 10:10:26AM +0100, Neil Armstrong wrote: > Hi, > > On 13/02/2021 11:15, Mikko Perttunen wrote: > > Hi all, > > > > with the release of documentation headers for Tegra multimedia engines > > (NVDEC, NVENC, NVJPG) [1], I have started working on the corresponding > > implement

Re: [PATCH 0/3] NVIDIA Tegra NVDEC support

2021-02-15 Thread Neil Armstrong
Hi Thierry, On 15/02/2021 10:50, Thierry Reding wrote: > On Mon, Feb 15, 2021 at 10:10:26AM +0100, Neil Armstrong wrote: >> Hi, >> >> On 13/02/2021 11:15, Mikko Perttunen wrote: >>> Hi all, >>> >>> with the release of documentation headers for Tegra multimedia engines >>> (NVDEC, NVENC, NVJPG) [1

Re: [PATCH] kernel: Expose SYS_kcmp by default

2021-02-15 Thread Lucas Stach
Am Samstag, dem 13.02.2021 um 18:40 +0100 schrieb Pavel Machek: > Hi! > > > Userspace has discovered the functionality offered by SYS_kcmp and has > > started to depend upon it. In particular, Mesa uses SYS_kcmp for > > os_same_file_description() in order to identify when two fd (e.g. device > > o

Re: linux-next: build warning after merge of the pm tree

2021-02-15 Thread Andy Shevchenko
On Mon, Feb 15, 2021 at 2:45 AM Stephen Rothwell wrote: > > Hi all, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > In file included from drivers/gpu/drm/gma500/mdfld_output.c:28: > arch/x86/include/asm/intel_scu_ipc.h:23:12: warning: 'str

Re: linux-next: build warning after merge of the pm tree

2021-02-15 Thread Andy Shevchenko
+Cc: Patrik (JFYI). On Mon, Feb 15, 2021 at 12:23 PM Andy Shevchenko wrote: > > On Mon, Feb 15, 2021 at 2:45 AM Stephen Rothwell > wrote: > > > > Hi all, > > > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > > produced this warning: > > > > In file included from dr

Re: [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t

2021-02-15 Thread Christian König
Am 15.02.21 um 11:21 schrieb Chen Lin: From: Chen Lin Remove the 'radeon_packet3_check_t' typedef as it is not used. Signed-off-by: Chen Lin Reviewed-by: Christian König --- drivers/gpu/drm/radeon/radeon.h |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/rade

Re: [PATCH 0/3] NVIDIA Tegra NVDEC support

2021-02-15 Thread Thierry Reding
On Mon, Feb 15, 2021 at 11:21:27AM +0100, Neil Armstrong wrote: > Hi Thierry, > > > On 15/02/2021 10:50, Thierry Reding wrote: > > On Mon, Feb 15, 2021 at 10:10:26AM +0100, Neil Armstrong wrote: > >> Hi, > >> > >> On 13/02/2021 11:15, Mikko Perttunen wrote: > >>> Hi all, > >>> > >>> with the rele

[PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t

2021-02-15 Thread Chen Lin
From: Chen Lin Remove the 'radeon_packet3_check_t' typedef as it is not used. Signed-off-by: Chen Lin --- drivers/gpu/drm/radeon/radeon.h |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 5f3adba..a1c38b5 100644 ---

Re: [PATCH v3 1/2] dt-bindings: display: bridge: Add bindings for SN65DSI83/84/85

2021-02-15 Thread Jagan Teki
On Mon, Feb 15, 2021 at 2:32 PM Neil Armstrong wrote: > > Hi, > > On 14/02/2021 18:44, Jagan Teki wrote: > > SN65DSI83/84/85 devices are MIPI DSI to LVDS based bridge > > controller IC's from Texas Instruments. > > > > SN65DSI83 - Single Channel DSI to Single-link LVDS bridge > > SN65DSI84 - Singl

[PATCH] drm/i915: Remove unused function pointer typedef long_pulse_detect_func

2021-02-15 Thread Chen Lin
From: Chen Lin Remove the 'long_pulse_detect_func' typedef as it is not used. Signed-off-by: Chen Lin --- drivers/gpu/drm/i915/i915_irq.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 6cdb052..c294ac6 100644 --- a/

Re: [PATCH] drm/bridge: dw-mipi-dsi: Move drm_bridge_add into probe

2021-02-15 Thread Laurent Pinchart
Hi Heiko, On Wed, Feb 03, 2021 at 01:05:43PM +0100, Heiko Stübner wrote: > Am Mittwoch, 3. Februar 2021, 10:13:06 CET schrieb Jagan Teki: > > Usual I2C configured DSI bridge drivers have drm_bridge_add > > in probe and mipi_dsi_attach in bridge attach functions. > > > > With, this approach the dr

[PATCH v7 0/3] Add %p4cc printk modifier for V4L2 and DRM fourcc codes

2021-02-15 Thread Sakari Ailus
Hi all, This set adds support for %p4cc printk modifier for printing V4L2 and DRM fourcc codes. The codes are cumbersome to print manually and by adding the modifier, this task is saved from the V4L2 and DRM frameworks as well as related drivers. DRM actually had it handled in a way (see 3rd patch

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

2021-02-15 Thread Sakari Ailus
Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM pixel formats denoted by fourccs. The fourcc encoding is the same for both so the same implementation can be used. Suggested-by: Mauro Carvalho Chehab Signed-off-by: Sakari Ailus Reviewed-by: Petr Mladek Reviewed-by: Serge

[PATCH v7 3/3] drm: Switch to %p4cc format modifier

2021-02-15 Thread Sakari Ailus
Switch DRM drivers from drm_get_format_name() to %p4cc. This gets rid of a large number of temporary variables at the same time. Signed-off-by: Sakari Ailus --- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c| 5 ++-- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c| 5 ++-- drivers/gpu/drm/amd/a

[PATCH v7 2/3] v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

2021-02-15 Thread Sakari Ailus
Now that we can print FourCC codes directly using printk, make use of the feature in V4L2 core. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-ioctl.c | 85 +++- 1 file changed, 21 insertions(+), 64 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ioc

Re: DMA-buf and uncached system memory

2021-02-15 Thread Lucas Stach
Am Montag, dem 15.02.2021 um 10:34 +0100 schrieb Christian König: > > Am 15.02.21 um 10:06 schrieb Simon Ser: > > On Monday, February 15th, 2021 at 9:58 AM, Christian König > > wrote: > > > > > we are currently working an Freesync and direct scan out from system > > > memory on AMD APUs in A+A

Re: [PATCH v3 1/2] dt-bindings: display: bridge: Add bindings for Chipone ICN6211

2021-02-15 Thread Robert Foss
Hey Jagan, Thanks for submitting this. checkpatch.pl threw some typ-o warnings, and I listed them below. I think either spelling is correct, but 'spelling.txt' does list this as a typ-o explicitly, so I would suggest conforming to that just to silence the checkpatch warning. This patch also pass

Re: DMA-buf and uncached system memory

2021-02-15 Thread Thomas Zimmermann
Hi Am 15.02.21 um 10:49 schrieb Thomas Zimmermann: Hi Am 15.02.21 um 09:58 schrieb Christian König: Hi guys, we are currently working an Freesync and direct scan out from system memory on AMD APUs in A+A laptops. On problem we stumbled over is that our display hardware needs to scan out f

Re: ITE66121 HDMI driver

2021-02-15 Thread Paul Cercueil
Le lun. 15 févr. 2021 à 10:05, Neil Armstrong a écrit : Hi, On 14/02/2021 00:54, Paul Cercueil wrote: Hi Phong and Neil, I see you sent a patchset to support the ITE66121 HDMI transmitter, last version being the V2 back in March 2020. Do you still plan to mainline it? Yes, we stil

Re: DMA-buf and uncached system memory

2021-02-15 Thread Christian König
Am 15.02.21 um 12:53 schrieb Lucas Stach: Am Montag, dem 15.02.2021 um 10:34 +0100 schrieb Christian König: Am 15.02.21 um 10:06 schrieb Simon Ser: On Monday, February 15th, 2021 at 9:58 AM, Christian König wrote: we are currently working an Freesync and direct scan out from system memory o

Re: [PATCH v5 3/3] drm: Add Generic USB Display driver

2021-02-15 Thread Peter Stuge
Hi Noralf, I was happy to see v4 - thanks for accepting so much of my feedback - and I have to say that the new recursive acronym makes me smile! :) Noralf Trønnes wrote: > +++ b/drivers/gpu/drm/gud/Kconfig > @@ -0,0 +1,14 @@ > +# SPDX-License-Identifier: GPL-2.0 > + > +config DRM_GUD > + tr

Re: [PATCH v3 1/2] dt-bindings: display: bridge: Add bindings for Chipone ICN6211

2021-02-15 Thread Jagan Teki
On Mon, Feb 15, 2021 at 5:28 PM Robert Foss wrote: > > Hey Jagan, > > Thanks for submitting this. > > checkpatch.pl threw some typ-o warnings, and I listed them below. I > think either spelling is correct, but 'spelling.txt' does list this as > a typ-o explicitly, so I would suggest conforming to

Re: DMA-buf and uncached system memory

2021-02-15 Thread Christian König
Am 15.02.21 um 13:00 schrieb Thomas Zimmermann: Hi Am 15.02.21 um 10:49 schrieb Thomas Zimmermann: Hi Am 15.02.21 um 09:58 schrieb Christian König: Hi guys, we are currently working an Freesync and direct scan out from system memory on AMD APUs in A+A laptops. On problem we stumbled ove

Re: DMA-buf and uncached system memory

2021-02-15 Thread Lucas Stach
Am Montag, dem 15.02.2021 um 13:04 +0100 schrieb Christian König: > Am 15.02.21 um 12:53 schrieb Lucas Stach: > > Am Montag, dem 15.02.2021 um 10:34 +0100 schrieb Christian König: > > > Am 15.02.21 um 10:06 schrieb Simon Ser: > > > > On Monday, February 15th, 2021 at 9:58 AM, Christian König > > >

Re: [PATCH v3 2/2] drm: bridge: Add Chipone ICN6211 MIPI-DSI to RGB bridge

2021-02-15 Thread Robert Foss
Hey Jagan, Thanks for submitting this driver, it looks really nice, but checkpatch.pl has some minor issues with it. Again I'd suggest deferring to the convertor->converter spelling change even though both seem to be perfectly valid English. With the below fixed, feel free to add my r-b. Reviewed

Re: [PATCH v3 1/2] dt-bindings: display: bridge: Add bindings for Chipone ICN6211

2021-02-15 Thread Laurent Pinchart
Hi Jagan, Thank you for the patch. On Sun, Feb 14, 2021 at 11:22:10PM +0530, Jagan Teki wrote: > ICN6211 is MIPI-DSI to RGB Convertor bridge from Chipone. > > It has a flexible configuration of MIPI DSI signal input and > produce RGB565, RGB666, RGB888 output format. > > Add dt-bingings for it.

Re: DMA-buf and uncached system memory

2021-02-15 Thread Christian König
Am 15.02.21 um 13:16 schrieb Lucas Stach: [SNIP] Userspace components can then of course tell the exporter what the importer needs, but validation if that stuff is correct and doesn't crash the system must happen in the kernel. What exactly do you mean by "scanout requires non-coherent memory"?

RE: [Intel-gfx] [PATCH] drm/i915/gem: Add a check for object size for corner cases

2021-02-15 Thread Ram Moon, AnandX
Hi Chris, -Original Message- From: dri-devel On Behalf Of Chris Wilson Sent: Wednesday, February 10, 2021 4:15 PM To: Ram Moon, AnandX ; Jani Nikula ; Auld, Matthew ; Surendrakumar Upadhyay, TejaskumarX ; Ursulin, Tvrtko ; dri-devel@lists.freedesktop.org; intel-...@lists.freedesktop

Re: [Intel-gfx] [PATCH] drm/i915/gem: Add a check for object size for corner cases

2021-02-15 Thread Chris Wilson
Quoting Ram Moon, AnandX (2021-02-15 12:29:17) > Hi Chris, > > -Original Message- > From: dri-devel On Behalf Of Chris > Wilson > Sent: Wednesday, February 10, 2021 4:15 PM > To: Ram Moon, AnandX ; Jani Nikula > ; Auld, Matthew ; > Surendrakumar Upadhyay, TejaskumarX > ; Ursulin, Tvrt

Re: [PATCH 0/5] drm/omap: hdmi: improve hdmi4 CEC, add CEC for hdmi5

2021-02-15 Thread H . Nikolaus Schaller
Hi, > Am 11.02.2021 um 11:36 schrieb Hans Verkuil : > > This series improves the drm_bridge support for CEC by introducing two > new bridge ops in the first patch, and using those in the second patch. > > This makes it possible to call cec_s_conn_info() and set > CEC_CAP_CONNECTOR_INFO for the C

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

2021-02-15 Thread Andy Shevchenko
On Mon, Feb 15, 2021 at 01:40:28PM +0200, Sakari Ailus wrote: > Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM > pixel formats denoted by fourccs. The fourcc encoding is the same for both > so the same implementation can be used. This version I almost like, feel free to a

Re: [PATCH v7 2/3] v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

2021-02-15 Thread Andy Shevchenko
On Mon, Feb 15, 2021 at 01:40:29PM +0200, Sakari Ailus wrote: > Now that we can print FourCC codes directly using printk, make use of the > feature in V4L2 core. Reviewed-by: Andy Shevchenko See also below. > Signed-off-by: Sakari Ailus > --- > drivers/media/v4l2-core/v4l2-ioctl.c | 85 +++

Re: ITE66121 HDMI driver

2021-02-15 Thread Neil Armstrong
On 15/02/2021 13:01, Paul Cercueil wrote: > > > Le lun. 15 févr. 2021 à 10:05, Neil Armstrong a > écrit : >> Hi, >> >> On 14/02/2021 00:54, Paul Cercueil wrote: >>>  Hi Phong and Neil, >>> >>>  I see you sent a patchset to support the ITE66121 HDMI transmitter, last >>> version being the V2 ba

Re: [PATCH v2 1/2] drm/msm: Call shutdown conditionally

2021-02-15 Thread Fabio Estevam
Gentle ping... On Fri, Jan 29, 2021 at 8:09 AM Fabio Estevam wrote: > > Hi Rob, > > Any comments on this series, please? > > On Tue, Jan 19, 2021 at 8:15 PM Fabio Estevam wrote: > > > > Issuing a 'reboot' command in i.MX5 leads to the following flow: > > > > [ 24.557742] [] (msm_atomic_commit_

Re: [PATCH v7 3/3] drm: Switch to %p4cc format modifier

2021-02-15 Thread Andy Shevchenko
On Mon, Feb 15, 2021 at 01:40:30PM +0200, Sakari Ailus wrote: > Switch DRM drivers from drm_get_format_name() to %p4cc. This gets rid of a > large number of temporary variables at the same time. What a nice clean up! Reviewed-by: Andy Shevchenko after addressing nit-picks below. Side note (no ne

Re: [PATCH v7 3/3] drm: Switch to %p4cc format modifier

2021-02-15 Thread Sakari Ailus
Hi Andy, On Mon, Feb 15, 2021 at 03:41:14PM +0200, Andy Shevchenko wrote: > On Mon, Feb 15, 2021 at 01:40:30PM +0200, Sakari Ailus wrote: > > Switch DRM drivers from drm_get_format_name() to %p4cc. This gets rid of a > > large number of temporary variables at the same time. > > What a nice clean

Re: ITE66121 HDMI driver

2021-02-15 Thread Paul Cercueil
Le lun. 15 févr. 2021 à 14:39, Neil Armstrong a écrit : On 15/02/2021 13:01, Paul Cercueil wrote: Le lun. 15 févr. 2021 à 10:05, Neil Armstrong a écrit : Hi, On 14/02/2021 00:54, Paul Cercueil wrote: Hi Phong and Neil, I see you sent a patchset to support the ITE66121 HDMI t

Re: [PATCH v7 2/3] v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

2021-02-15 Thread Sakari Ailus
Hi Andy, On Mon, Feb 15, 2021 at 03:34:04PM +0200, Andy Shevchenko wrote: > On Mon, Feb 15, 2021 at 01:40:29PM +0200, Sakari Ailus wrote: > > Now that we can print FourCC codes directly using printk, make use of the > > feature in V4L2 core. > > Reviewed-by: Andy Shevchenko > See also below. Th

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

2021-02-15 Thread Sakari Ailus
Hi Andy, On Mon, Feb 15, 2021 at 03:31:29PM +0200, Andy Shevchenko wrote: > On Mon, Feb 15, 2021 at 01:40:28PM +0200, Sakari Ailus wrote: > > Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM > > pixel formats denoted by fourccs. The fourcc encoding is the same for both > >

Re: [PATCH v4] MAINTAINERS: move Milo Kim to credits

2021-02-15 Thread Emil Velikov
Greetings everyone, On Mon, 15 Feb 2021 at 08:52, Lee Jones wrote: > > On Fri, 12 Feb 2021, Krzysztof Kozlowski wrote: > > > Milo Kim's email in TI bounces with permanent error (550: Invalid > > recipient). Last email from him on LKML was in 2017. Move Milo Kim to > > credits and remove the sep

[PATCH v1 1/3] string: Consolidate yesno() helpers under string.h hood

2021-02-15 Thread Andy Shevchenko
We have already few similar implementation and a lot of code that can benefit of the yesno() helper. Consolidate yesno() helpers under string.h hood. Signed-off-by: Andy Shevchenko --- .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c| 6 +- drivers/gpu/drm/i915/i915_utils.h

[PATCH v1 2/3] string: Move onoff() helper under string.h hood

2021-02-15 Thread Andy Shevchenko
We have already an implementation and a lot of code that can benefit of the onoff() helper. Move it under string.h hood. Signed-off-by: Andy Shevchenko --- drivers/gpu/drm/i915/i915_utils.h | 5 - include/linux/string.h| 5 + 2 files changed, 5 insertions(+), 5 deletions(-)

[PATCH v1 3/3] string: Move enableddisabled() helper under string.h hood

2021-02-15 Thread Andy Shevchenko
We have already an implementation and a lot of code that can benefit of the enableddisabled() helper. Move it under string.h hood. Signed-off-by: Andy Shevchenko --- drivers/gpu/drm/i915/i915_utils.h | 5 - include/linux/string.h| 5 + 2 files changed, 5 insertions(+), 5 dele

Re: [PATCH v4] MAINTAINERS: move Milo Kim to credits

2021-02-15 Thread Lee Jones
On Mon, 15 Feb 2021, Emil Velikov wrote: > Greetings everyone, > > On Mon, 15 Feb 2021 at 08:52, Lee Jones wrote: > > > > On Fri, 12 Feb 2021, Krzysztof Kozlowski wrote: > > > > > Milo Kim's email in TI bounces with permanent error (550: Invalid > > > recipient). Last email from him on LKML was

Re: [PATCH v1 1/3] string: Consolidate yesno() helpers under string.h hood

2021-02-15 Thread Christian König
Am 15.02.21 um 15:21 schrieb Andy Shevchenko: We have already few similar implementation and a lot of code that can benefit of the yesno() helper. Consolidate yesno() helpers under string.h hood. Signed-off-by: Andy Shevchenko Looks like a good idea to me, feel free to add an Acked-by: Chris

Re: [PATCH 3/6] drm/rockchip: dsi: add ability to work as a phy instead of full dsi

2021-02-15 Thread Helen Koike
On 2/10/21 8:10 AM, Heiko Stuebner wrote: From: Heiko Stuebner SoCs like the rk3288 and rk3399 have 3 mipi dphys on them. One is TX- only, one is RX-only and one can be configured to do either TX or RX. The RX phy is statically connected to the first Image Signal Processor, the TX phy is st

Re: [PATCH v1 1/3] string: Consolidate yesno() helpers under string.h hood

2021-02-15 Thread Jani Nikula
On Mon, 15 Feb 2021, Andy Shevchenko wrote: > We have already few similar implementation and a lot of code that can benefit > of the yesno() helper. Consolidate yesno() helpers under string.h hood. Good luck. I gave up after just four versions. [1] Acked-by: Jani Nikula BR, Jani. [1] http:

Re: [PATCH v1 1/3] string: Consolidate yesno() helpers under string.h hood

2021-02-15 Thread Andy Shevchenko
+Cc: Sakari and printk people On Mon, Feb 15, 2021 at 4:28 PM Christian König wrote: > Am 15.02.21 um 15:21 schrieb Andy Shevchenko: > > We have already few similar implementation and a lot of code that can > > benefit > > of the yesno() helper. Consolidate yesno() helpers under string.h hood.

[Bug 211745] Latest 5.11 git doesn't boot.

2021-02-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211745 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC||alexdeuc...@gmail.c

Re: [Linaro-mm-sig] DMA-buf and uncached system memory

2021-02-15 Thread Christian König
Am 15.02.21 um 15:41 schrieb David Laight: From: Christian König Sent: 15 February 2021 12:05 ... Snooping the CPU caches introduces some extra latency, so what can happen is that the response to the PCIe read comes to late for the scanout. The result is an underflow and flickering whenever

[Bug 211425] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 20secs aborting

2021-02-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211425 --- Comment #8 from Alex Deucher (alexdeuc...@gmail.com) --- Can you narrow down the specific commit? https://www.kernel.org/doc/html/latest/admin-guide/bug-bisect.html -- You may reply to this email to add a comment. You are receiving this ma

[Bug 211649] "drm/amd/display: reuse current context instead of recreating one" cause hdmi hotplug blackscreen on amdgpu

2021-02-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211649 --- Comment #13 from Alex Deucher (alexdeuc...@gmail.com) --- See also: https://gitlab.freedesktop.org/drm/amd/-/issues/1487 -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of

KMSAN: kernel-infoleak in fb_cmap_to_user

2021-02-15 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:29ad81a1 arch/x86: add missing include to sparsemem.h git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1001ac60d0 kernel config: https://syzkaller.appspot.com/x/.co

RE: DMA-buf and uncached system memory

2021-02-15 Thread David Laight
From: Christian König > Sent: 15 February 2021 12:05 ... > Snooping the CPU caches introduces some extra latency, so what can > happen is that the response to the PCIe read comes to late for the > scanout. The result is an underflow and flickering whenever something is > in the cache which needs to

Re: [PATCH v12] staging: fbtft: add tearing signal detect

2021-02-15 Thread Andy Shevchenko
On Tue, Feb 2, 2021 at 3:52 AM Carlis wrote: > On Mon, 1 Feb 2021 19:40:21 +0200 > Andy Shevchenko wrote: > > > On Sat, Jan 30, 2021 at 8:39 AM carlis wrote: > > > On Fri, 29 Jan 2021 16:26:12 +0200 > > > Andy Shevchenko wrote: > > > > On Fri, Jan 29, 2021 at 3:56 PM carlis > > > > wrote: > >

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

2021-02-15 Thread Andy Shevchenko
On Mon, Feb 15, 2021 at 03:56:50PM +0200, Sakari Ailus wrote: > On Mon, Feb 15, 2021 at 03:31:29PM +0200, Andy Shevchenko wrote: > > On Mon, Feb 15, 2021 at 01:40:28PM +0200, Sakari Ailus wrote: > > > Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM > > > pixel formats denot

Re: [PATCH v1 1/3] string: Consolidate yesno() helpers under string.h hood

2021-02-15 Thread Andy Shevchenko
On Mon, Feb 15, 2021 at 04:37:50PM +0200, Jani Nikula wrote: > On Mon, 15 Feb 2021, Andy Shevchenko > wrote: > > We have already few similar implementation and a lot of code that can > > benefit > > of the yesno() helper. Consolidate yesno() helpers under string.h hood. > > Good luck. I gave u

[PATCH v2 0/2] arm64: dts: qcom: sm8250: fix display nodes

2021-02-15 Thread Jonathan Marek
Add sm8150/sm8250 compatibles to drm/msm and fix the sm8250 display nodes. v2: do not remove mmcx-supply from dispcc node Jonathan Marek (2): drm/msm: add compatibles for sm8150/sm8250 display arm64: dts: qcom: sm8250: fix display nodes .../devicetree/bindings/display/msm/dpu.txt | 4 +--

[PATCH v2 1/2] drm/msm: add compatibles for sm8150/sm8250 display

2021-02-15 Thread Jonathan Marek
The driver already has support for sm8150/sm8250, but the compatibles were never added. Also inverse the non-mdp4 condition in add_display_components() to avoid having to check every new compatible in the condition. Signed-off-by: Jonathan Marek --- Documentation/devicetree/bindings/display/msm

[PATCH v3 0/2] arm64: dts: qcom: sm8250: fix display nodes

2021-02-15 Thread Jonathan Marek
Add sm8150/sm8250 compatibles to drm/msm and fix the sm8250 display nodes. v2: do not remove mmcx-supply from dispcc node v3: remove references to dp_phy (missed this in v2, sorry for the spam) Jonathan Marek (2): drm/msm: add compatibles for sm8150/sm8250 display arm64: dts: qcom: sm8250: fi

[PATCH v3 1/2] drm/msm: add compatibles for sm8150/sm8250 display

2021-02-15 Thread Jonathan Marek
The driver already has support for sm8150/sm8250, but the compatibles were never added. Also inverse the non-mdp4 condition in add_display_components() to avoid having to check every new compatible in the condition. Signed-off-by: Jonathan Marek --- Documentation/devicetree/bindings/display/msm

[PATCH] drm/msm/dsi: support CPHY mode for 7nm pll/phy

2021-02-15 Thread Jonathan Marek
Add the required changes to support 7nm pll/phy in CPHY mode. This adds a "qcom,dsi-phy-cphy-mode" property for the PHY node to enable the CPHY mode. Signed-off-by: Jonathan Marek --- .../devicetree/bindings/display/msm/dsi.txt | 1 + drivers/gpu/drm/msm/dsi/dsi.c | 12 +-- d

Re: [PATCH v3 1/2] dt-bindings: display: bridge: Add bindings for SN65DSI83/84/85

2021-02-15 Thread Neil Armstrong
Hi, On 15/02/2021 12:25, Jagan Teki wrote: > On Mon, Feb 15, 2021 at 2:32 PM Neil Armstrong > wrote: >> >> Hi, >> >> On 14/02/2021 18:44, Jagan Teki wrote: >>> SN65DSI83/84/85 devices are MIPI DSI to LVDS based bridge >>> controller IC's from Texas Instruments. >>> >>> SN65DSI83 - Single Channel

Re: [PATCH v7 2/3] v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

2021-02-15 Thread Mauro Carvalho Chehab
Em Mon, 15 Feb 2021 17:56:27 +0100 Petr Mladek escreveu: > On Mon 2021-02-15 13:40:29, Sakari Ailus wrote: > > Now that we can print FourCC codes directly using printk, make use of the > > feature in V4L2 core. > > > > Signed-off-by: Sakari Ailus > > Reviewed-by: Petr Mladek > > I am curio

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

2021-02-15 Thread Sakari Ailus
Hi Petr, On Mon, Feb 15, 2021 at 05:51:40PM +0100, Petr Mladek wrote: > On Mon 2021-02-15 17:54:47, Andy Shevchenko wrote: > > On Mon, Feb 15, 2021 at 03:56:50PM +0200, Sakari Ailus wrote: > > > On Mon, Feb 15, 2021 at 03:31:29PM +0200, Andy Shevchenko wrote: > > > > On Mon, Feb 15, 2021 at 01:40:

Re: [PATCH v7 2/3] v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

2021-02-15 Thread Sakari Ailus
On Mon, Feb 15, 2021 at 06:05:45PM +0100, Mauro Carvalho Chehab wrote: > Em Mon, 15 Feb 2021 17:56:27 +0100 > Petr Mladek escreveu: > > > On Mon 2021-02-15 13:40:29, Sakari Ailus wrote: > > > Now that we can print FourCC codes directly using printk, make use of the > > > feature in V4L2 core. > >

Re: [PATCH v7 3/3] drm: Switch to %p4cc format modifier

2021-02-15 Thread Sakari Ailus
On Mon, Feb 15, 2021 at 03:41:14PM +0200, Andy Shevchenko wrote: ... > > diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c > > b/drivers/gpu/drm/i915/display/intel_display_debugfs.c > > index ca41e8c00ad7..a5c9fe2e56b3 100644 > > --- a/drivers/gpu/drm/i915/display/intel_display_deb

Re: [PATCH v7 3/3] drm: Switch to %p4cc format modifier

2021-02-15 Thread Andy Shevchenko
On Mon, Feb 15, 2021 at 07:26:55PM +0200, Sakari Ailus wrote: > On Mon, Feb 15, 2021 at 03:41:14PM +0200, Andy Shevchenko wrote: > ... > > > + seq_printf(m, "\t\tuapi: [FB:%d] ", fb ? fb->base.id : 0); > > > + if (fb) > > > + seq_printf(m, "%p4cc", &fb->format->format); > > > + else > > > +

[PATCH] vgacon: drop unused vga_init_done

2021-02-15 Thread Stephen Kitt
Commit 973c096f6a85 ("vgacon: remove software scrollback support") removed all uses of vga_init_done, so let's get rid of it entirely. Signed-off-by: Stephen Kitt --- drivers/video/console/vgacon.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/video/console/vgacon.c b/drivers/vid

Re: KASAN: vmalloc-out-of-bounds Write in imageblit

2021-02-15 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:f40ddce8 Linux 5.11 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14216df4d0 kernel config: https://syzkaller.appspot.com/x/.config?x=51ab7ccac30c dashboard link: https://syzkall

Re: [RFC v3 10/10] drm/dp: Extract i915's eDP backlight code into DRM helpers

2021-02-15 Thread Thomas Zimmermann
Hi Am 09.02.21 um 00:03 schrieb Lyude Paul: +   } else { +   buf[0] = level; +   } + +   ret = drm_dp_dpcd_write(aux, DP_EDP_BACKLIGHT_BRIGHTNESS_MSB, buf, sizeof(buf)); +   if (ret != sizeof(buf)) { +   DRM_ERROR("%s: Failed to write aux backlight level

[PATCH AUTOSEL 5.10 1/6] drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable

2021-02-15 Thread Sasha Levin
From: Quanyang Wang [ Upstream commit a7e02f7796c163ac8297b30223bf24bade9f8a50 ] When running xrandr to change resolution of DP, the kmemleak as below can be observed: unreferenced object 0x00080a351000 (size 256): comm "Xorg", pid 248, jiffies 4294899614 (age 19.960s) hex dump (first 3

Re: [PATCH 0/6] drm: Move vmap out of commit tail for SHMEM-based drivers

2021-02-15 Thread Thomas Zimmermann
Hi Am 05.02.21 um 10:05 schrieb Gerd Hoffmann: Hi, I smoke-tested the code by running fbdev, Xorg and weston with the converted mgag200 driver. Looks sane to me. Survived cirrus smoke test too. Reviewers are hard to find. Since you reviewed the shadow-plane conversion for cirrus; may I

Re: [PATCH][next] drm/amd/pm: fix spelling mistake in various messages "power_dpm_force_perfomance_level"

2021-02-15 Thread Alex Deucher
On Wed, Feb 10, 2021 at 7:03 AM Colin King wrote: > > From: Colin Ian King > > There are spelling mistakes in error and warning messages, the text > power_dpm_force_perfomance_level is missing a letter r and should be > power_dpm_force_performance_level. Fix them. > > Signed-off-by: Colin Ian Ki

Re: [PATCH][next] drm/amd/display: Fix potential integer overflow

2021-02-15 Thread Alex Deucher
On Wed, Feb 10, 2021 at 4:23 PM Gustavo A. R. Silva wrote: > > Fix potential integer overflow by casting actual_calculated_clock_100hz > to u64, in order to give the compiler complete information about the > proper arithmetic to use. > > Notice that such variable is used in a context that expects

Re: [PATCH][next] drm/amd/pm: Replace one-element array with flexible-array in struct SISLANDS_SMC_SWSTATE

2021-02-15 Thread Alex Deucher
On Wed, Feb 10, 2021 at 5:40 PM Gustavo A. R. Silva wrote: > > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older > style of o

Re: [PATCH][next] drm/amd/pm: Replace one-element array with flexible-array in struct _ATOM_Vega10_GFXCLK_Dependency_Table

2021-02-15 Thread Alex Deucher
On Wed, Feb 10, 2021 at 6:36 PM Gustavo A. R. Silva wrote: > > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older > style of o

Re: [PATCH][next] drm/radeon/nislands_smc.h: Replace one-element array with flexible-array member in struct NISLANDS_SMC_SWSTATE

2021-02-15 Thread Alex Deucher
On Wed, Feb 10, 2021 at 6:49 PM Gustavo A. R. Silva wrote: > > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older > style of o

Re: [PATCH] drm/amd/display: Allow spatial dither to 10 bpc on all != DCE-11.0.

2021-02-15 Thread Alex Deucher
On Fri, Feb 12, 2021 at 5:30 PM Mario Kleiner wrote: > > Spatial dithering to 10 bpc depth was disabled for all DCE's. > Restrict this to DCE-11.0, but allow it on other DCE's. > > Testing on DCE-8.3 and DCE-11.2 did not show any obvious ill > effects, but a measureable precision improvement (via

Re: [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t

2021-02-15 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Feb 15, 2021 at 5:43 AM Christian König wrote: > > > > Am 15.02.21 um 11:21 schrieb Chen Lin: > > From: Chen Lin > > > > Remove the 'radeon_packet3_check_t' typedef as it is not used. > > > > Signed-off-by: Chen Lin > > Reviewed-by: Christian König > > > --- > >

[Bug 211745] Latest 5.11 git doesn't boot.

2021-02-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211745 --- Comment #8 from Robert M. Muncrief (rmuncr...@humanavance.com) --- (In reply to Alex Deucher from comment #7) > Can you bisect? I can bisect, but I updated and compiled linux-mainline with the final 5.11 from the Arch AUR this morning and m

[Bug 211745] Latest 5.11 git doesn't boot.

2021-02-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211745 --- Comment #9 from Alex Deucher (alexdeuc...@gmail.com) --- Only reporters can close kernel bugs. Please close if this is not an issue. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the

  1   2   >