Re: [PATCH 14/17] drm/msm/dpu: modify encoder programming for CDM over DP

2024-01-27 Thread Dmitry Baryshkov
On Sun, 28 Jan 2024 at 07:48, Paloma Arellano wrote: > > > On 1/25/2024 1:57 PM, Dmitry Baryshkov wrote: > > On 25/01/2024 21:38, Paloma Arellano wrote: > >> Adjust the encoder format programming in the case of video mode for DP > >> to accommodate CDM related changes. > >> > >> Signed-off-by: Pal

Re: [PATCH 16/17] drm/msm/dpu: reserve CDM blocks for DP if mode is YUV420

2024-01-27 Thread Paloma Arellano
On 1/25/2024 2:01 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: Reserve CDM blocks for DP if the mode format is YUV420. Currently this reservation only works for writeback and DP if the format is YUV420. But this can be easily extented to other YUV formats for DP. Si

Re: [PATCH 14/17] drm/msm/dpu: modify encoder programming for CDM over DP

2024-01-27 Thread Paloma Arellano
On 1/25/2024 1:57 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: Adjust the encoder format programming in the case of video mode for DP to accommodate CDM related changes. Signed-off-by: Paloma Arellano ---   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c   | 16 +++

Re: [PATCH 12/17] drm/msm/dpu: add support of new peripheral flush mechanism

2024-01-27 Thread Dmitry Baryshkov
On Sun, 28 Jan 2024 at 07:41, Paloma Arellano wrote: > > > On 1/25/2024 1:49 PM, Dmitry Baryshkov wrote: > > On 25/01/2024 21:38, Paloma Arellano wrote: > >> From: Kuogee Hsieh > >> > >> Introduce a peripheral flushing mechanism to decouple peripheral > >> metadata flushing from timing engine rel

Re: [PATCH 13/17] drm/msm/dp: enable SDP and SDE periph flush update

2024-01-27 Thread Paloma Arellano
On 1/25/2024 1:50 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: DP controller can be setup to operate in either SDP update flush mode or peripheral flush mode based on the DP controller hardware version. Starting in DP v1.2, the hardware documents require the use of

Re: [PATCH 12/17] drm/msm/dpu: add support of new peripheral flush mechanism

2024-01-27 Thread Paloma Arellano
On 1/25/2024 1:49 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: From: Kuogee Hsieh Introduce a peripheral flushing mechanism to decouple peripheral metadata flushing from timing engine related flush. Signed-off-by: Kuogee Hsieh Signed-off-by: Paloma Arellano ---

Re: [PATCH 11/17] drm/msm/dp: add VSC SDP support for YUV420 over DP

2024-01-27 Thread Dmitry Baryshkov
On Sun, 28 Jan 2024 at 07:34, Paloma Arellano wrote: > > > On 1/25/2024 1:48 PM, Dmitry Baryshkov wrote: > > On 25/01/2024 21:38, Paloma Arellano wrote: > >> Add support to pack and send the VSC SDP packet for DP. This therefore > >> allows the transmision of format information to the sinks which

Re: [PATCH] drm/amd/display: add panel_power_savings sysfs entry to eDP connectors

2024-01-27 Thread Mario Limonciello
On 1/26/2024 16:34, Mario Limonciello wrote: On 1/26/2024 16:22, Hamza Mahfooz wrote: We want programs besides the compositor to be able to enable or disable panel power saving features. However, since they are currently only configurable through DRM properties, that isn't possible. So, to remed

Re: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val

2024-01-27 Thread Dmitry Baryshkov
On Sun, 28 Jan 2024 at 07:31, Paloma Arellano wrote: > > > On 1/25/2024 2:07 PM, Dmitry Baryshkov wrote: > > On 25/01/2024 21:38, Paloma Arellano wrote: > >> Modify dp_catalog_hw_revision to make the major and minor version values > >> known instead of outputting the entire hex value of the hardwa

Re: [PATCH 11/17] drm/msm/dp: add VSC SDP support for YUV420 over DP

2024-01-27 Thread Paloma Arellano
On 1/25/2024 1:48 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: Add support to pack and send the VSC SDP packet for DP. This therefore allows the transmision of format information to the sinks which is needed for YUV420 support over DP. Signed-off-by: Paloma Arellano

Re: [PATCH 07/17] drm/msm/dpu: disallow widebus en in INTF_CONFIG2 when DP is YUV420

2024-01-27 Thread Dmitry Baryshkov
On Sun, 28 Jan 2024 at 07:16, Paloma Arellano wrote: > > > On 1/25/2024 1:26 PM, Dmitry Baryshkov wrote: > > On 25/01/2024 21:38, Paloma Arellano wrote: > >> INTF_CONFIG2 register cannot have widebus enabled when DP format is > >> YUV420. Therefore, program the INTF to send 1 ppc. > > > > I think

Re: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val

2024-01-27 Thread Paloma Arellano
On 1/25/2024 2:07 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: Modify dp_catalog_hw_revision to make the major and minor version values known instead of outputting the entire hex value of the hardware version register in preparation of using it for VSC SDP programmin

Re: [PATCH 09/17] drm/msm/dp: move parity calculation to dp_catalog

2024-01-27 Thread Paloma Arellano
On 1/25/2024 1:32 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: Parity calculation is necessary for VSC SDP implementation, therefore move it to dp_catalog so it usable by both SDP programming and dp_audio.c Signed-off-by: Paloma Arellano ---   drivers/gpu/drm/msm/d

Re: [PATCH 08/17] drm/msm/dp: change YUV420 related programming for DP

2024-01-27 Thread Paloma Arellano
On 1/25/2024 1:29 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: Change all relevant DP controller related programming for YUV420 cases. Namely, change the pixel clock math to consider YUV420, program the configuration control to indicate YUV420, as well as modify the

Re: [PATCH 07/17] drm/msm/dpu: disallow widebus en in INTF_CONFIG2 when DP is YUV420

2024-01-27 Thread Paloma Arellano
On 1/25/2024 1:26 PM, Dmitry Baryshkov wrote: On 25/01/2024 21:38, Paloma Arellano wrote: INTF_CONFIG2 register cannot have widebus enabled when DP format is YUV420. Therefore, program the INTF to send 1 ppc. I think this is handled in the DP driver, where we disallow wide bus for YUV 4:2:0

Re: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val

2024-01-27 Thread kernel test robot
Hi Paloma, kernel test robot noticed the following build warnings: [auto build test WARNING on v6.8-rc1] [also build test WARNING on linus/master next-20240125] [cannot apply to drm-misc/drm-misc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting pat

Patch "drm: Fix TODO list mentioning non-KMS drivers" has been added to the 6.6-stable tree

2024-01-27 Thread gregkh
This is a note to let you know that I've just added the patch titled drm: Fix TODO list mentioning non-KMS drivers to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-fix-t

Patch "drm: Fix TODO list mentioning non-KMS drivers" has been added to the 6.7-stable tree

2024-01-27 Thread gregkh
This is a note to let you know that I've just added the patch titled drm: Fix TODO list mentioning non-KMS drivers to the 6.7-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-fix-t

Patch "drm: Disable the cursor plane on atomic contexts with virtualized drivers" has been added to the 6.7-stable tree

2024-01-27 Thread gregkh
This is a note to let you know that I've just added the patch titled drm: Disable the cursor plane on atomic contexts with virtualized drivers to the 6.7-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of

Patch "drm: Disable the cursor plane on atomic contexts with virtualized drivers" has been added to the 6.6-stable tree

2024-01-27 Thread gregkh
This is a note to let you know that I've just added the patch titled drm: Disable the cursor plane on atomic contexts with virtualized drivers to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of

Re: [PATCH v4 4/4] arm64: dts: rockchip: Add devicetree for Pine64 PineTab2

2024-01-27 Thread Ondřej Jirman
Hello Manuel, thank you for the changes, and finding time to post this. On Sat, Jan 27, 2024 at 10:48:45AM +0100, Manuel Traut wrote: > This includes support for both the v0.1 units that were sent to developers and > the v2.0 units from production. > > v1.0 is not included as no units are known

Re: [GIT PULL] Enable -Wstringop-overflow globally

2024-01-27 Thread Gustavo A. R. Silva
On 1/27/24 09:11, David Laight wrote: From: Linus Torvalds Sent: 26 January 2024 22:36 On Fri, 26 Jan 2024 at 14:24, Kees Cook wrote: I think xe has some other weird problems too. This may be related (under allocating): ../drivers/gpu/drm/xe/xe_vm.c: In function 'xe_vma_create': ../drive

Re: [PATCH] drm/amd/display: add panel_power_savings sysfs entry to eDP connectors

2024-01-27 Thread Dominik Förderer
I've applied the patch to 6.7.2. The device then shows up under: |/sys/devices/pci:00/:00:08.1/:c1:00.0/drm/card1/card1-eDP-1/amdgpu/panel_power_savings| |||(on Framework Laptop 13 amd 7840U with 780M).| || After a few tests i can say that at least in my system it’s not working. Sett

Re: [PATCH v5 5/8] iio: core: Add new DMABUF interface infrastructure

2024-01-27 Thread Jonathan Cameron
> > > + iio_buffer_dmabuf_put(attach); > > > + > > > +out_dmabuf_put: > > > + dma_buf_put(dmabuf); > > As below. Feels like a __free(dma_buf_put) bit of magic would be a > > nice to have. > > I'm working on the patches right now, just one quick question. > > Having a __free(dma_buf_put) req

Re: [drm-drm-misc:drm-misc-next] dt-bindings: nt35510: document 'port' property

2024-01-27 Thread Linus Walleij
On Sat, Jan 27, 2024 at 5:28 PM Rob Herring wrote: > dtschema/dtc warnings/errors: > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/panel/novatek,nt35510.example.dtb: > panel@0: compatible:0: 'hydis,hva40wv1' was expected > from schema $id: > http://devi

Re: [drm-drm-misc:drm-misc-next] dt-bindings: nt35510: document 'port' property

2024-01-27 Thread Rob Herring
On Sat, 27 Jan 2024 16:28:08 +0100, Dario Binacchi wrote: > Allow 'port' property (coming from panel-common.yaml) to be used in DTS: > > st/stm32f769-disco-mb1166-reva09.dtb: panel@0: 'port' does not match any of > the regexes: 'pinctrl-[0-9]+' > > Signed-off-by: Dario Binacchi > Cc: Alexan

RE: Re: Re: [PATCH 3/5] drm/ttm: replace busy placement with flags v6

2024-01-27 Thread Zeng, Oak
Hi Lucas, I encountered this build issue as well. I submitted a fix for drm-tip. Oak > -Original Message- > From: dri-devel On Behalf Of Lucas > De Marchi > Sent: Friday, January 26, 2024 5:23 PM > To: Thomas Hellström > Cc: kher...@redhat.com; michel.daen...@mailbox.org; > nouv...@lis

[PATCH] drm/xe: Fix a build error

2024-01-27 Thread Oak Zeng
This fixes a build failure on drm-tip. This issue was introduced during merge of "drm/ttm: replace busy placement with flags v6". For some reason, the xe_bo.c part of above change is not merged. Manually merge the missing part to drm_tip Signed-off-by: Oak Zeng --- drivers/gpu/drm/xe/xe_bo.c | 3

[drm-drm-misc:drm-misc-next] dt-bindings: nt35510: document 'port' property

2024-01-27 Thread Dario Binacchi
Allow 'port' property (coming from panel-common.yaml) to be used in DTS: st/stm32f769-disco-mb1166-reva09.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Dario Binacchi Cc: Alexandre Torgue --- .../display/panel/novatek,nt35510.yaml| 34

Re: Bug#1061449: linux-image-6.7-amd64: a boot message from amdgpu

2024-01-27 Thread Salvatore Bonaccorso
Hi In Debian (https://bugs.debian.org/1061449) we got the following quotred report: On Wed, Jan 24, 2024 at 07:38:16PM +0100, Patrice Duroux wrote: > Package: src:linux > Version: 6.7.1-1~exp1 > Severity: normal > > Dear Maintainer, > > Giving a try to 6.7, here is a message extracted from dmes

Re: [PATCH v4 0/4] arm64: rockchip: Pine64 PineTab2 support

2024-01-27 Thread Dang Huynh
Hi Manuel, Since the BOE patches have been accepted to next, you do not need to include it in this patch series. Best regards, Dang On Saturday, January 27, 2024 4:48:41 PM +07 Manuel Traut wrote: > - BOE TH101MB31IG002 LCD Panel: > * Picked patches from https://anongit.freedesktop.org/git/dr

Re: [PATCH 5/5] drm/vmwgfx: Fix the lifetime of the bo cursor memory

2024-01-27 Thread Martin Krastev
On Fri, Jan 26, 2024 at 10:08 PM Zack Rusin wrote: > > The cleanup can be dispatched while the atomic update is still active, > which means that the memory acquired in the atomic update needs to > not be invalidated by the cleanup. The buffer objects in vmw_plane_state > instead of using the built

[PATCH v4 4/4] arm64: dts: rockchip: Add devicetree for Pine64 PineTab2

2024-01-27 Thread Manuel Traut
This includes support for both the v0.1 units that were sent to developers and the v2.0 units from production. v1.0 is not included as no units are known to exist. Working/Tested: - SDMMC - UART - Buttons - Charging/Battery/PMIC - Audio - USB - Display - SPI NOR Flash Signed-off-by: Alexander Wa

[PATCH v4 0/4] arm64: rockchip: Pine64 PineTab2 support

2024-01-27 Thread Manuel Traut
This adds support for the BOE TH101MB31IG002 LCD Panel used in PineTab2 [1] and PineTab-V [2] as well as the devictrees for the PineTab2 v0.1 and v2.0. The BOE LCD Panel patch was retrieved from [3]. The function-name prefix has been adapted and the LCD init section was simplified. The PineTab2 d

[PATCH v4 3/4] dt-bindings: arm64: rockchip: Add Pine64 PineTab2

2024-01-27 Thread Manuel Traut
Add devicvetree binding documentation for Pine64 PineTab2 which uses the Rockchip RK3566 SoC. Signed-off-by: Manuel Traut Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/rockchip.yaml | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bi

[PATCH v4 1/4] dt-bindings: display: panel: Add BOE TH101MB31IG002-28A panel

2024-01-27 Thread Manuel Traut
Add bindings for the BOE TH101MB31IG002-28A LCD panel. It is used e.g. in the Pine64 PineTab2 and PineTab-V. Signed-off-by: Manuel Traut Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20240102-pinetab2-v3-1-cb1aa69f8...@mecka.net Signed-off-by: Neil Armstrong Link: https://pa

[PATCH v4 2/4] drm/panel: Add driver for BOE TH101MB31IG002-28A panel

2024-01-27 Thread Manuel Traut
From: Alexander Warnecke The BOE TH101MB31IG002-28A panel is a WXGA panel. It is used in Pine64 PineTab2 and PineTab-V. Signed-off-by: Alexander Warnecke Signed-off-by: Manuel Traut Reviewed-by: Jessica Zhang Link: https://lore.kernel.org/r/20240102-pinetab2-v3-2-cb1aa69f8...@mecka.net Signed

Re: [PATCH v3 4/4] arm64: dts: rockchip: Add devicetree for Pine64 PineTab2

2024-01-27 Thread Manuel Traut
Hi Jonas, On Wed, Jan 03, 2024 at 03:19:25PM +0100, Jonas Karlman wrote: > Hi Manuel, > > On 2024-01-03 14:40, Manuel Traut wrote: > > Hi Jonas and Ondřej, > > > +&sfc { > +pinctrl-names = "default"; > +pinctrl-0 = <&fspi_dual_io_pins>; > +status = "ok

[PATCH] drm/bridge: dw-hdmi: fix trivial typo in comment

2024-01-27 Thread Eugen Hristev
s/Initializateion/Initialization Fixes: 9aaf880ed4ee ("imx-drm: Add mx6 hdmi transmitter support") Signed-off-by: Eugen Hristev --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/g