[PATCH v2] drm: bridge: dw-mipi-dsi: Fix enable/disable of DSI controller

2023-06-17 Thread Ondřej Jirman
From: Ondrej Jirman Before this patch, booting to Linux VT and doing a simple: echo 2 > /sys/class/graphics/fb0/blank echo 0 > /sys/class/graphics/fb0/blank would result in failures to re-enable the panel. Mode set callback is called only once during boot in this scenario, while calls to

[PATCH v3 1/2] drm/fourcc: Add NV20 and NV30 YUV formats

2023-06-17 Thread Jonas Karlman
DRM_FORMAT_NV20 and DRM_FORMAT_NV30 formats is the 2x1 and non-subsampled variant of NV15, a 10-bit 2-plane YUV format that has no padding between components. Instead, luminance and chrominance samples are grouped into 4s so that each group is packed into an integer number of bytes: = UVUV =

[PATCH v3 2/2] drm/rockchip: vop: Add NV15, NV20 and NV30 support

2023-06-17 Thread Jonas Karlman
Add support for displaying 10-bit 4:2:0 and 4:2:2 formats produced by the Rockchip Video Decoder on RK322X, RK3288, RK3328, RK3368 and RK3399. Also add support for 10-bit 4:4:4 format while at it. V2: Added NV30 support Signed-off-by: Jonas Karlman Reviewed-by: Sandy Huang ---

[PATCH v3 0/2] drm/rockchip: vop: Add NV15, NV20 and NV30 support

2023-06-17 Thread Jonas Karlman
This is a revival of a 3 year old series that never got picked up, see [1]. This series add support for displaying 10-bit 4:2:0 and 4:2:2 formats produced by the Rockchip Video Decoder on RK322X, RK3288, RK3328, RK3368 and RK3399. Also include 10-bit 4:4:4 support since VOP can support that also.

Re: [PATCH v2] drm/ingenic: Kconfig: select REGMAP and REGMAP_MMIO

2023-06-17 Thread Paul Cercueil
Hi, Le samedi 17 juin 2023 à 21:48 +0200, Sam Ravnborg a écrit : > Hi Paul, > On Sat, Jun 17, 2023 at 09:13:37PM +0200, Paul Cercueil wrote: > > Hi, > > > > Le mercredi 07 juin 2023 à 19:06 +0800, Sui Jingfeng a écrit : > > > Otherwise its failed to pass basic compile test on platform > > >

Re: [PATCH] dt-bindings: display: sony,td4353-jdi: allow width-mm and height-mm

2023-06-17 Thread Conor Dooley
On Sat, Jun 17, 2023 at 06:57:26PM +0200, Krzysztof Kozlowski wrote: > Allow width and height properties from panel-common.yaml, already used > on some boards: > > sdm845-sony-xperia-tama-apollo.dtb: panel@0: 'height-mm', 'width-mm' do not > match any of the regexes: 'pinctrl-[0-9]+' > >

Re: [PATCH v2] drm/ingenic: Kconfig: select REGMAP and REGMAP_MMIO

2023-06-17 Thread Sam Ravnborg
Hi Paul, On Sat, Jun 17, 2023 at 09:13:37PM +0200, Paul Cercueil wrote: > Hi, > > Le mercredi 07 juin 2023 à 19:06 +0800, Sui Jingfeng a écrit : > > Otherwise its failed to pass basic compile test on platform without > > REGMAP_MMIO selected by defconfig > > > > make -j$(nproc) ARCH=mips

Re: [PATCH v2] drm/ingenic: Kconfig: select REGMAP and REGMAP_MMIO

2023-06-17 Thread Paul Cercueil
Hi, Le mercredi 07 juin 2023 à 19:06 +0800, Sui Jingfeng a écrit : > Otherwise its failed to pass basic compile test on platform without > REGMAP_MMIO selected by defconfig > > make -j$(nproc) ARCH=mips CROSS_COMPILE=mips64el-linux-gnuabi64- > >   SYNC    include/config/auto.conf.cmd >  

[syzbot] [dri?] KMSAN: uninit-value in drm_mode_setcrtc

2023-06-17 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:2741f1b02117 string: use __builtin_memcpy() in strlcpy/str.. git tree: https://github.com/google/kmsan.git master console+strace: https://syzkaller.appspot.com/x/log.txt?x=17bb33d128 kernel config:

Re: [PATCH 2/3] dt-bindings: backlight: lm3630a: add entries to control boost frequency

2023-06-17 Thread Krzysztof Kozlowski
On 17/06/2023 18:34, Heiko Stübner wrote: > Am Samstag, 17. Juni 2023, 12:12:17 CEST schrieb Krzysztof Kozlowski: >> On 14/06/2023 21:08, Maximilian Weigand wrote: >>> From: Maximilian Weigand >>> >>> Add 'ti,boost_use_1mhz' to switch between 500 kHz and 1 MHz boost >>> converter switching

Re: [PATCH] drm: bridge: dw-mipi-dsi: Fix enable/disable of DSI controller

2023-06-17 Thread Ondřej Jirman
Hello Sam, On Sat, Jun 17, 2023 at 07:35:53PM +0200, Sam Ravnborg wrote: > > Hi Ondřej, > > On Sat, Jun 17, 2023 at 05:06:33PM +0200, Ondřej Jirman wrote: > > From: Ondrej Jirman > > > > Before this patch, booting to Linux VT and doing a simple: > > > > echo 2 >

Re: [PATCH] drm: bridge: dw-mipi-dsi: Fix enable/disable of DSI controller

2023-06-17 Thread Sam Ravnborg
Hi Ondřej, On Sat, Jun 17, 2023 at 05:06:33PM +0200, Ondřej Jirman wrote: > From: Ondrej Jirman > > Before this patch, booting to Linux VT and doing a simple: > > echo 2 > /sys/class/graphics/fb0/blank > echo 0 > /sys/class/graphics/fb0/blank > > would result in failures to re-enable the

[PATCH] dt-bindings: display: sony, td4353-jdi: allow width-mm and height-mm

2023-06-17 Thread Krzysztof Kozlowski
Allow width and height properties from panel-common.yaml, already used on some boards: sdm845-sony-xperia-tama-apollo.dtb: panel@0: 'height-mm', 'width-mm' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski ---

Re: [PATCH 2/3] dt-bindings: backlight: lm3630a: add entries to control boost frequency

2023-06-17 Thread Heiko Stübner
Am Samstag, 17. Juni 2023, 12:12:17 CEST schrieb Krzysztof Kozlowski: > On 14/06/2023 21:08, Maximilian Weigand wrote: > > From: Maximilian Weigand > > > > Add 'ti,boost_use_1mhz' to switch between 500 kHz and 1 MHz boost > > converter switching frequency, and add 'ti,boost_frequency_shift' to >

Re: [Freedreno] [PATCH v8 10/18] drm/msm/a6xx: Introduce GMU wrapper support

2023-06-17 Thread Akhil P Oommen
On Sat, Jun 17, 2023 at 02:00:50AM +0200, Konrad Dybcio wrote: > > On 16.06.2023 19:54, Akhil P Oommen wrote: > > On Thu, Jun 15, 2023 at 11:43:04PM +0200, Konrad Dybcio wrote: > >> > >> On 10.06.2023 00:06, Akhil P Oommen wrote: > >>> On Mon, May 29, 2023 at 03:52:29PM +0200, Konrad Dybcio

[PATCH] drm: bridge: dw-mipi-dsi: Fix enable/disable of DSI controller

2023-06-17 Thread Ondřej Jirman
From: Ondrej Jirman Before this patch, booting to Linux VT and doing a simple: echo 2 > /sys/class/graphics/fb0/blank echo 0 > /sys/class/graphics/fb0/blank would result in failures to re-enable the panel. Mode set callback is called only once during boot in this scenario, while calls to

Re: [PATCH v3 07/17] drm/imagination: Add GPU ID parsing and firmware loading

2023-06-17 Thread Adam Ford
On Tue, Jun 13, 2023 at 10:20 AM Sarah Walker wrote: > > Read the GPU ID register at probe time and select the correct > features/quirks/enhancements. Use the GPU ID to form the firmware > file name and load the firmware. I have a Rogue 6250 variant, but the BVNC is returning a slightly

Re: [PATCH 01/13] drm: execution context for GEM buffers v4

2023-06-17 Thread Boris Brezillon
+Matthew who's been using drm_exec in Xe if I'm correct. Hello Christian, On Wed, 14 Jun 2023 15:02:52 +0200 Boris Brezillon wrote: > On Wed, 14 Jun 2023 14:30:53 +0200 > Christian König wrote: > > > Am 14.06.23 um 14:23 schrieb Boris Brezillon: > > > Hi Christian, > > > > > > On Thu, 4

Re: [PATCH] drm/vmwgfx: Fix shader stage validation

2023-06-17 Thread Martin Krastev (VMware)
From: Martin Krastev Looks good! Reviewed-by: Martin Krastev Regards, Martin On 16.06.23 г. 22:09 ч., Zack Rusin wrote: From: Zack Rusin For multiple commands the driver was not correctly validating the shader stages resulting in possible kernel oopses. The validation code was only.

Re: [PATCH 2/3] dt-bindings: backlight: lm3630a: add entries to control boost frequency

2023-06-17 Thread Krzysztof Kozlowski
On 14/06/2023 21:08, Maximilian Weigand wrote: > From: Maximilian Weigand > > Add 'ti,boost_use_1mhz' to switch between 500 kHz and 1 MHz boost > converter switching frequency, and add 'ti,boost_frequency_shift' to > activate a frequency shift to 560 kHz or 1.12 MHz, respectively. > >

Re: [PATCH v2 2/6] dt-bindings: display: st7789v: bound the number of Rx data lines

2023-06-17 Thread Krzysztof Kozlowski
On 16/06/2023 18:32, Miquel Raynal wrote: > The ST7789V LCD controller supports regular SPI wiring, as well as no Rx > data line at all. The operating system needs to know whether it can read > registers from the device or not. Let's detail this specific design > possibility by bounding the

Re: [PATCH v2 1/6] dt-bindings: display: st7789v: Add the edt,et028013dma panel compatible

2023-06-17 Thread Krzysztof Kozlowski
On 16/06/2023 18:32, Miquel Raynal wrote: > The ST7789V LCD controller is also embedded in the ET028013DMA > panel. Add a compatible string to describe this other panel. > > Signed-off-by: Miquel Raynal > --- > .../devicetree/bindings/display/panel/sitronix,st7789v.yaml | 1 + > 1 file

Re: [09/14] drm/ast: Distinguish among chip generations

2023-06-17 Thread Sui Jingfeng
Hi, On 2023/6/16 21:52, Thomas Zimmermann wrote: ASpeed distinguishes among various generations of the AST graphics chipset with various models. [1] The most-recent model AST 2600 is of the 7th generation, the AST 2500 is of the 6th generation, and so on. The ast driver simply picks one of the

Re: [06/14] drm/ast: Set PCI config before accessing I/O registers

2023-06-17 Thread Sui Jingfeng
On 2023/6/16 21:52, Thomas Zimmermann wrote: Access to I/O registers is required to detect and set up the device. Enable the rsp PCI config bits before. While at it, convert the magic number to macro constants. Enabling the PCI config bits was done after trying to detect the device. It was

Re: [06/14] drm/ast: Set PCI config before accessing I/O registers

2023-06-17 Thread Sui Jingfeng
Hi On 2023/6/16 21:52, Thomas Zimmermann wrote: Access to I/O registers is required to detect and set up the device. Enable the rsp PCI config bits before. While at it, convert the magic number to macro constants. Enabling the PCI config bits was done after trying to detect the device.

Re: [PATCH 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel

2023-06-17 Thread Krzysztof Kozlowski
On 16/06/2023 18:39, Miquel Raynal wrote: > Add Mitsubishi AA084XE01 8.4" XGA TFT LCD panel compatible string. > > Signed-off-by: Miquel Raynal > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [03/14] drm/ast: Implement register helpers in ast_drv.h

2023-06-17 Thread Sui Jingfeng
On 2023/6/16 21:52, Thomas Zimmermann wrote: There are already a number of register I/O functions in ast_drv.h. For consistency, move the remaining functions there as well. No functional changes. Signed-off-by: Thomas Zimmermann Reviewed-by: Sui Jingfeng ---