[PATCH v13] drm/bridge: it6505: fix hibernate to resume no display issue

2024-05-21 Thread kuro
From: Kuro Chung When the system power resumes, the TTL input of IT6505 may experience some noise before the video signal stabilizes, necessitating a video reset. This patch is implemented to prevent a loop of video error interrupts, which can occur when a video reset in the video FIFO error inte

Re: [PATCH v4 1/5] clk: sunxi-ng: common: Support minimum and maximum rate

2024-05-21 Thread Frank Oltmanns
Hi Måns, 21.05.2024 15:43:10 Måns Rullgård : > Frank Oltmanns writes: > >> The Allwinner SoC's typically have an upper and lower limit for their >> clocks' rates. Up until now, support for that has been implemented >> separately for each clock type. >> >> Implement that functionality in the sunx

Re: [RFC PATCH 7/8] rust: add firmware abstractions

2024-05-21 Thread FUJITA Tomonori
Hi, Thanks for working on the firmware API! On Mon, 20 May 2024 19:24:19 +0200 Danilo Krummrich wrote: > Add an abstraction around the kernels firmware API to request firmware > images. The abstraction provides functions to access the firmware > buffer and / or copy it to a new buffer allocated

[PATCH v3 3/3] drm/panel/lg-sw43408: mark sw43408_backlight_ops as static

2024-05-21 Thread Dmitry Baryshkov
Fix sparse warning regarding symbol 'sw43408_backlight_ops' not being declared. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404200739.hbwzvohr-...@intel.com/ Reviewed-by: Neil Armstrong Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver") Signed-of

[PATCH v3 0/3] drm/panel: two fixes for lg-sw43408

2024-05-21 Thread Dmitry Baryshkov
Fix two issues with the panel-lg-sw43408 driver reported by the kernel test robot. To: Neil Armstrong To: Jessica Zhang To: Sam Ravnborg To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann To: David Airlie To: Daniel Vetter To: Sumit Semwal To: Caleb Connolly To: Alex Deucher

[PATCH v3 1/3] drm/display: split DSC helpers from DP helpers

2024-05-21 Thread Dmitry Baryshkov
Currently the DRM DSC functions are selected by the DRM_DISPLAY_DP_HELPER Kconfig symbol. This is not optimal, since the DSI code (both panel and host drivers) end up selecting the seemingly irrelevant DP helpers. Split the DSC code to be guarded by the separate DRM_DISPLAY_DSC_HELPER Kconfig symbo

[PATCH v3 2/3] drm/panel/lg-sw43408: select CONFIG_DRM_DISPLAY_DP_HELPER

2024-05-21 Thread Dmitry Baryshkov
This panel driver uses DSC PPS functions and as such depends on the DRM_DISPLAY_DP_HELPER. Select this symbol to make required functions available to the driver. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404200800.kysryyli-...@intel.com/ Fixes: 069a6c0e94f9

RE: [PATCH v4 02/10] drm/bridge: add common api for inno hdmi

2024-05-21 Thread Keith Zhao
Hi Alex, Laurent: I want to make as few changes as possible on the current basis, and add bridge_fun, > -Original Message- > From: Laurent Pinchart > Sent: 2024年5月21日 23:42 > To: Alex Bee > Cc: Keith Zhao ; andrzej.ha...@intel.com; > neil.armstr...@linaro.org; rf...@kernel.org; jo...

Re: [RFC PATCH v3 13/21] drm/exec: Rework contended locking

2024-05-21 Thread Christian König
Am 21.05.24 um 09:16 schrieb Thomas Hellström: If contention and backoff occurs during a drm_exec ww transaction, the contended lock is not locked again until the next orinary attempt to lock a dma_resv lock. However, with the introduction of drm_exec_trylock(), that doesn't work, since the locki

[PATCH] drm/tests: fix drm_test_fb_xrgb8888_to_xrgb2101010 on big endian

2024-05-21 Thread Dave Airlie
From: Dave Airlie This test is failing for me on s390x and there is a report on the list from ppc64. This aligns it with the argb test that doesn't fail. Fixes: 15bda1f8de5d ("drm/tests: Add calls to drm_fb_blit() on supported format conversion tests") Reported-by: Erhard Furtner Signed-off-

Re: [PATCH] drm/mode: fix all kernel-doc warnings

2024-05-21 Thread Randy Dunlap
Hi, On 5/20/24 3:39 AM, Dmitry Baryshkov wrote: > On Wed, May 15, 2024 at 05:26:52PM -0700, Randy Dunlap wrote: >> Add @width and @height descriptions for &struct drm_plane_size_hint >> along with a reference to more info. >> >> Add a short description for &struct drm_mode_closefb. >> >> Change 7

Re: [PATCH] drm/display/dp: fix all kernel-doc warnings

2024-05-21 Thread Randy Dunlap
Hi Dmitry, On 5/20/24 3:37 AM, Dmitry Baryshkov wrote: > On Wed, May 15, 2024 at 05:26:42PM -0700, Randy Dunlap wrote: >> Fix a struct member name in &struct drm_dp_as_sdp. >> Add Returns: kernel-doc syntax for 4 functions. >> In the Returns: sections, spell "%true" and "%false" consistently. >> >

Re: [PATCH v2] drm/mediatek: dsi: Add dsi per-frame lp code for mt8188

2024-05-21 Thread 李水静

Re: [PATCH] drm/bridge: adv7511: Fix Intermittent EDID failures

2024-05-21 Thread Liu Ying
On 5/22/24 05:51, Adam Ford wrote: > On Mon, May 20, 2024 at 8:16 PM Adam Ford wrote: >> >> In the process of adding support for shared IRQ pins, a scenario >> was accidentally created where adv7511_irq_process returned >> prematurely causing the EDID to fail randomly. >> >> Since the interrupt ha

Re: [PATCH v4 04/10] drm/vs: Add hardware funcs for vs.

2024-05-21 Thread kernel test robot
Hi keith, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master next-20240521] [cannot apply to robh/for-next rockchip/for-next v6.9] [If your patch is applied to the wrong git tree, kindly drop us a

[PATCH v2] dt-bindings: display: synopsys, dw-hdmi: Mark ddc-i2c-bus as deprecated

2024-05-21 Thread Marek Vasut
The ddc-i2c-bus property should be placed in connector node, mark the HDMI TX side property as deprecated. Acked-by: Rob Herring (Arm) Reviewed-by: Laurent Pinchart Reviewed-by: Neil Armstrong Signed-off-by: Marek Vasut --- Cc: Andrzej Hajda Cc: Conor Dooley Cc: Daniel Vetter Cc: David Airl

Re: [PATCH v3 0/4] Fix memory limits for STDU

2024-05-21 Thread Zack Rusin
On Tue, May 21, 2024 at 2:47 PM Ian Forbes wrote: > > Fixes a bug where modes that are too large for the device are exposed > and set causing a black screen on boot. > > v2: Fixed llvmpipe over-alignment bug. > v3: Fix comment formatting. > > Ian Forbes (4): > drm/vmwgfx: Filter modes which exce

Re: FYI: drm-intel repo moved to fd.o GitLab

2024-05-21 Thread Stephen Rothwell
Hi Ryszard, On Tue, 21 May 2024 14:56:22 + "Knop, Ryszard" wrote: > > As of today, we've moved the drm-intel repository (upstream for > drivers/gpu/drm/i915) to a new location: > > Previously: https://cgit.freedesktop.org/drm-intel > Moved to: https://gitlab.freedesktop.org/drm/i915/kernel

Re: [PATCH] drm/bridge: adv7511: Fix Intermittent EDID failures

2024-05-21 Thread Adam Ford
On Mon, May 20, 2024 at 8:16 PM Adam Ford wrote: > > In the process of adding support for shared IRQ pins, a scenario > was accidentally created where adv7511_irq_process returned > prematurely causing the EDID to fail randomly. > > Since the interrupt handler is broken up into two main helper fun

Re: [PATCH] drm/bridge: adv7511: Exit interrupt handling when necessary

2024-05-21 Thread Adam Ford
On Mon, May 20, 2024 at 4:16 PM Dmitry Baryshkov wrote: > > On Mon, May 20, 2024 at 07:46:05AM -0500, Adam Ford wrote: > > On Mon, May 20, 2024 at 7:00 AM Dmitry Baryshkov > > wrote: > > > > > > On Mon, 20 May 2024 at 14:48, Sui Jingfeng wrote: > > > > > > > > Hi, > > > > > > > > > > > > On 5/20

Re: [RFC PATCH 3/8] rust: drm: Add Device and Driver abstractions

2024-05-21 Thread Rob Herring
On Mon, May 20, 2024 at 07:20:50PM +0200, Danilo Krummrich wrote: > From: Asahi Lina > > Add abstractions for DRM drivers and devices. These go together in one > commit since both are fairly tightly coupled types. > > A few things have been stubbed out, to be implemented as further bits of > the

Re: [PATCH v4 08/10] drm/vs: add vs drm master driver

2024-05-21 Thread Dmitry Baryshkov
On Tue, May 21, 2024 at 06:58:15PM +0800, keith wrote: > Add vs DRM master driver for JH7110 SoC > ADD DMA GEM driver > > Signed-off-by: keith > --- > drivers/gpu/drm/verisilicon/Makefile | 3 +- > drivers/gpu/drm/verisilicon/vs_drv.c | 718 +++ > 2 files changed, 720 i

Re: [PATCH] drm/bridge: adv7511: Fix Intermittent EDID failures

2024-05-21 Thread kernel test robot
Hi Adam, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-tip/drm-tip linus/master drm-intel/for-linux-next-fixes v6.9 next-20240521] [If

Re: [PATCH v4 07/10] drm/vs: add ctrc fun

2024-05-21 Thread Dmitry Baryshkov
On Tue, May 21, 2024 at 06:58:14PM +0800, keith wrote: > add crtc funs and helper funs > > Signed-off-by: keith > --- > drivers/gpu/drm/verisilicon/Makefile | 3 +- > drivers/gpu/drm/verisilicon/vs_crtc.c | 241 ++ > drivers/gpu/drm/verisilicon/vs_crtc.h | 17 ++ > 3

Re: [PATCH v4 06/10] drm/vs: add vs plane api

2024-05-21 Thread Dmitry Baryshkov
On Tue, May 21, 2024 at 06:58:13PM +0800, keith wrote: > add plane funs and helper funs > add vs drm common struct and funs > > Signed-off-by: keith > --- > drivers/gpu/drm/verisilicon/Makefile | 3 +- > drivers/gpu/drm/verisilicon/vs_drv.h | 93 + > drivers/gpu/drm/verisilicon/vs_pla

Re: [PATCH v4 04/10] drm/vs: Add hardware funcs for vs.

2024-05-21 Thread kernel test robot
Hi keith, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master next-20240521] [cannot apply to robh/for-next rockchip/for-next v6.9] [If your patch is applied to the wrong git tree, kindly drop us a

Re: [PATCH v2] drm/amd/display: Add pixel encoding info to debugfs

2024-05-21 Thread Mario Limonciello
On 5/21/2024 15:06, Rino André Johnsen wrote: What is already there in debugfs is 'bpc' and 'colorspace', but not the pixel encoding/format. I have searched high and low for that to be able to verify that my monitor and computer are using my preferred combination of all those three values. I do

Re: [PATCH v4 04/10] drm/vs: Add hardware funcs for vs.

2024-05-21 Thread kernel test robot
Hi keith, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master next-20240521] [cannot apply to robh/for-next rockchip/for-next v6.9] [If your patch is applied to the wrong git tree, kindly drop us a

Re: [PATCH v4 05/10] drm/vs: add vs mode config init

2024-05-21 Thread Dmitry Baryshkov
On Tue, May 21, 2024 at 06:58:12PM +0800, keith wrote: > add vs mode config base api Commit message? Please describe e.g. why are you using drm_atomic_helper_commit_tail_rpm() instead of drm_atomic_helper_commit_tail(). > > Signed-off-by: keith Name > --- > drivers/gpu/drm/verisilicon/Makefi

Re: [PATCH v4 04/10] drm/vs: Add hardware funcs for vs.

2024-05-21 Thread Dmitry Baryshkov
On Tue, May 21, 2024 at 06:58:11PM +0800, keith wrote: > add hardware base api for vs drm Commit message is nearly missing. Please describe your hardware. > > Signed-off-by: keith Full name please > --- > MAINTAINERS|1 + > drivers/gpu/drm/Kconfig

Re: [PATCH v4 06/10] drm/vs: add vs plane api

2024-05-21 Thread kernel test robot
Hi keith, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master next-20240521] [cannot apply to robh/for-next rockchip/for-next v6.9] [If your patch is applied to the wrong git tree, kindly drop us a

Re: [PATCH 5/7] drm/bridge: cdns-dsi: Support atomic bridge APIs

2024-05-21 Thread Markus Elfring
> Change the existing (and deparacated) bridge hooks, … deprecated? Regards, Markus

Re: [PATCH v2] drm/amd/display: Add pixel encoding info to debugfs

2024-05-21 Thread Rino André Johnsen
What is already there in debugfs is 'bpc' and 'colorspace', but not the pixel encoding/format. I have searched high and low for that to be able to verify that my monitor and computer are using my preferred combination of all those three values. I do think it should be available as a standard DRM C

Re: [PATCH] drm/probe-helper: Call drm_mode_validate_ycbcr420() before connector->mode_valid()

2024-05-21 Thread Ville Syrjälä
On Tue, May 21, 2024 at 02:09:19PM +0200, Daniel Vetter wrote: > On Thu, May 16, 2024 at 08:33:24PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Make life easier for drivers by filtering out unwanted YCbCr 4:2:0 > > only modes prior to calling the connector->mode_valid() hook. > >

Re: [PATCH v2] drm/amd/display: Add pixel encoding info to debugfs

2024-05-21 Thread Christian König
Am 21.05.24 um 07:11 schrieb Rino Andre Johnsen: [Why] For debugging and testing purposes. [How] Create amdgpu_current_pixelencoding debugfs entry. Usage: cat /sys/kernel/debug/dri/1/crtc-0/amdgpu_current_pixelencoding Why isn't that available as standard DRM CRTC property in either sysfs or

[PATCH v3 2/4] drm/vmwgfx: 3D disabled should not effect STDU memory limits

2024-05-21 Thread Ian Forbes
This limit became a hard cap starting with the change referenced below. Surface creation on the device will fail if the requested size is larger than this limit so altering the value arbitrarily will expose modes that are too large for the device's hard limits. Fixes: 7ebb47c9f9ab ("drm/vmwgfx: Re

[PATCH v3 4/4] drm/vmwgfx: Standardize use of kibibytes when logging

2024-05-21 Thread Ian Forbes
Use the same standard abbreviation KiB instead of incorrect variants. Signed-off-by: Ian Forbes --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 12 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu

[PATCH v3 3/4] drm/vmwgfx: Remove STDU logic from generic mode_valid function

2024-05-21 Thread Ian Forbes
STDU has its own mode_valid function now so this logic can be removed from the generic version. Fixes: 935f795045a6 ("drm/vmwgfx: Refactor drm connector probing for display modes") Signed-off-by: Ian Forbes --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 3 --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |

[PATCH v3 1/4] drm/vmwgfx: Filter modes which exceed graphics memory

2024-05-21 Thread Ian Forbes
SVGA requires individual surfaces to fit within graphics memory (max_mob_pages) which means that modes with a final buffer size that would exceed graphics memory must be pruned otherwise creation will fail. Additionally llvmpipe requires its buffer height and width to be a multiple of its tile siz

[PATCH v3 0/4] Fix memory limits for STDU

2024-05-21 Thread Ian Forbes
Fixes a bug where modes that are too large for the device are exposed and set causing a black screen on boot. v2: Fixed llvmpipe over-alignment bug. v3: Fix comment formatting. Ian Forbes (4): drm/vmwgfx: Filter modes which exceed graphics memory drm/vmwgfx: 3D disabled should not effect STDU

Re: [PATCH v5 2/9] scatterlist: Add a flag for the restricted memory

2024-05-21 Thread Christian König
Am 20.05.24 um 09:58 schrieb Yong Wu (吴勇): On Thu, 2024-05-16 at 10:17 +0200, Christian König wrote: External email : Please do not click links or open attachments until you have verified the sender or the content. Am 15.05.24 um 13:23 schrieb Yong Wu: Introduce a FLAG for the restri

Re: [PATCH 3/3] dt-bindings: display: vop2: Add VP clock resets

2024-05-21 Thread Conor Dooley
On Tue, May 21, 2024 at 01:15:46PM -0400, Detlev Casanova wrote: > On Wednesday, May 15, 2024 12:33:22 P.M. EDT Heiko Stübner wrote: > > Am Mittwoch, 15. Mai 2024, 18:19:29 CEST schrieb Conor Dooley: > > > On Tue, May 14, 2024 at 11:19:47AM -0400, Detlev Casanova wrote: > > > > Add the documentatio

Re: [PATCH 1/2] MAINTAINERS: Change habanalabs maintainer and git repo path

2024-05-21 Thread Daniel Vetter
On Wed, May 15, 2024 at 07:22:21PM +0300, Oded Gabbay wrote: > Because I left habana, Ofir Bitton is now the habanalabs driver > maintainer. > > The git repo also changed location to the Habana GitHub website. > > Signed-off-by: Oded Gabbay Acked-by: Daniel Vetter I'm assuming Ofir will inclu

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Leo Li
On 2024-05-21 13:32, Mario Limonciello wrote: On 5/21/2024 12:27, Leo Li wrote: On 2024-05-21 12:21, Mario Limonciello wrote: On 5/21/2024 11:14, Xaver Hugl wrote: Am Di., 21. Mai 2024 um 16:00 Uhr schrieb Mario Limonciello : On 5/21/2024 08:43, Simon Ser wrote: This makes sense to me

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Simon Ser
On Tuesday, May 21st, 2024 at 19:27, Leo Li wrote: > I wonder if flags would work better than enums? A compositor can set something > like `REQUIRE_ACCURACY & REQUIRE_LOW_LATENCY`, for example. (FWIW, the KMS uAPI has first-class support for bitfields.)

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Xaver Hugl
Am Di., 21. Mai 2024 um 19:28 Uhr schrieb Leo Li : > > > > On 2024-05-21 12:21, Mario Limonciello wrote: > > On 5/21/2024 11:14, Xaver Hugl wrote: > >> Am Di., 21. Mai 2024 um 16:00 Uhr schrieb Mario Limonciello > >> : > >>> > >>> On 5/21/2024 08:43, Simon Ser wrote: > This makes sense to me i

Re: [PATCH] drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

2024-05-21 Thread Alex Deucher
Applied and pushed out: https://cgit.freedesktop.org/drm/drm-misc/commit/?id=8a0a7b98d4b6eeeab337ec25daa4bc0a5e710a15 Alex On Tue, May 21, 2024 at 12:12 PM Alex Deucher wrote: > > I've got it teed up. Is drm-misc-fixes the right branch since we are > in the merge window? > > Alex > > On Tue, Ma

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Mario Limonciello
On 5/21/2024 12:27, Leo Li wrote: On 2024-05-21 12:21, Mario Limonciello wrote: On 5/21/2024 11:14, Xaver Hugl wrote: Am Di., 21. Mai 2024 um 16:00 Uhr schrieb Mario Limonciello : On 5/21/2024 08:43, Simon Ser wrote: This makes sense to me in general. I like the fact that it's simple and

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Leo Li
On 2024-05-21 12:21, Mario Limonciello wrote: On 5/21/2024 11:14, Xaver Hugl wrote: Am Di., 21. Mai 2024 um 16:00 Uhr schrieb Mario Limonciello : On 5/21/2024 08:43, Simon Ser wrote: This makes sense to me in general. I like the fact that it's simple and vendor-neutral. Do we want to hard

Re: [PATCH 3/3] dt-bindings: display: vop2: Add VP clock resets

2024-05-21 Thread Detlev Casanova
On Wednesday, May 15, 2024 12:33:22 P.M. EDT Heiko Stübner wrote: > Am Mittwoch, 15. Mai 2024, 18:19:29 CEST schrieb Conor Dooley: > > On Tue, May 14, 2024 at 11:19:47AM -0400, Detlev Casanova wrote: > > > Add the documentation for VOP2 video ports reset clocks. > > > One reset can be set per video

Re: Kernel 5.15.150 black screen with AMD Raven/Picasso GPU

2024-05-21 Thread Armin Wolf
Am 20.05.24 um 18:22 schrieb Alex Deucher: On Sat, May 18, 2024 at 8:17 PM Armin Wolf wrote: Am 17.05.24 um 03:30 schrieb Barry Kauler: Armin, Yifan, Prike, I will top-post, so you don't have to scroll down. After identifying the commit that causes black screen with my gpu, I posted the resu

Re: [linux-next:master] BUILD REGRESSION 124cfbcd6d185d4f50be02d5f5afe61578916773

2024-05-21 Thread Björn Töpel
kernel test robot writes: > tree/branch: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch HEAD: 124cfbcd6d185d4f50be02d5f5afe61578916773 Add linux-next > specific files for 20240521 [...] > Error/Warning ids grouped by kconfigs: > &

[linux-next:master] BUILD REGRESSION 124cfbcd6d185d4f50be02d5f5afe61578916773

2024-05-21 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 124cfbcd6d185d4f50be02d5f5afe61578916773 Add linux-next specific files for 20240521 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202405211405.tidtwibx-...@intel.com Error

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Mario Limonciello
On 5/21/2024 11:14, Xaver Hugl wrote: Am Di., 21. Mai 2024 um 16:00 Uhr schrieb Mario Limonciello : On 5/21/2024 08:43, Simon Ser wrote: This makes sense to me in general. I like the fact that it's simple and vendor-neutral. Do we want to hardcode "panel" in the name? Are we sure that this wi

Re: [PATCH v3 0/2] drm: Fix dma_resv deadlock at drm object pin time

2024-05-21 Thread Boris Brezillon
On Fri, 17 May 2024 19:16:21 +0100 Adrián Larumbe wrote: > Hi Boris and Thomas, > > On 02.05.2024 14:18, Thomas Zimmermann wrote: > > Hi > > > > Am 02.05.24 um 14:00 schrieb Boris Brezillon: > > > On Thu, 2 May 2024 13:59:41 +0200 > > > Boris Brezillon wrote: > > > > > > > Hi Thomas, > >

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Xaver Hugl
Am Di., 21. Mai 2024 um 16:00 Uhr schrieb Mario Limonciello : > > On 5/21/2024 08:43, Simon Ser wrote: > > This makes sense to me in general. I like the fact that it's simple and > > vendor-neutral. > > > > Do we want to hardcode "panel" in the name? Are we sure that this will > > ever only apply t

Re: [PATCH] drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

2024-05-21 Thread Alex Deucher
I've got it teed up. Is drm-misc-fixes the right branch since we are in the merge window? Alex On Tue, May 21, 2024 at 7:20 AM Linux regression tracking (Thorsten Leemhuis) wrote: > > Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting > for once, to make this easily accessibl

Re: [PATCH v3 03/21] drm/ttm: Use LRU hitches

2024-05-21 Thread Matthew Brost
On Tue, May 21, 2024 at 09:16:21AM +0200, Thomas Hellström wrote: > Have iterators insert themselves into the list they are iterating > over using hitch list nodes. Since only the iterator owner > can remove these list nodes from the list, it's safe to unlock > the list and when continuing, use the

Re: [RFC PATCH v4 31/42] drm/amd/display: Add support for sRGB EOTF in DEGAM block

2024-05-21 Thread Melissa Wen
On 05/21, Melissa Wen wrote: > On 02/26, Harry Wentland wrote: > > From: Alex Hung > > > > Expose one 1D curve colorop with support for > > DRM_COLOROP_1D_CURVE_SRGB_EOTF and program HW to perform > > the sRGB transform when the colorop is not in bypass. > > > > With this change the following IG

Re: [RFC PATCH v4 00/42] Color Pipeline API w/ VKMS

2024-05-21 Thread Melissa Wen
On 02/26, Harry Wentland wrote: > This is an RFC set for a color pipeline API, along with a sample > implementation in VKMS. All the key API bits are here. VKMS now > supports two named transfer function colorops and two matrix > colorops. We have IGT tests that check all four of these colorops > w

Re: [RFC PATCH v4 31/42] drm/amd/display: Add support for sRGB EOTF in DEGAM block

2024-05-21 Thread Melissa Wen
On 02/26, Harry Wentland wrote: > From: Alex Hung > > Expose one 1D curve colorop with support for > DRM_COLOROP_1D_CURVE_SRGB_EOTF and program HW to perform > the sRGB transform when the colorop is not in bypass. > > With this change the following IGT test passes: > kms_colorop --run plane-XR30

Re: [PATCH v4 02/10] drm/bridge: add common api for inno hdmi

2024-05-21 Thread Laurent Pinchart
On Tue, May 21, 2024 at 05:36:43PM +0200, Alex Bee wrote: > Hi Keith, > > thanks a lot for working on this. See some general remarks below > > Am 21.05.24 um 12:58 schrieb keith: > > Add INNO common api so that it can be used by vendor > > drivers which implement vendor specific extensions to Inno

Re: [PATCH v3 02/21] drm/ttm: Slightly clean up LRU list iteration

2024-05-21 Thread Matthew Brost
On Tue, May 21, 2024 at 09:16:20AM +0200, Thomas Hellström wrote: > To make the transition to using lru hitches easier, > simplify the ttm_resource_manager_next() interface to only take > the cursor and reuse ttm_resource_manager_next() functionality > from ttm_resource_manager_first(). > > Cc: Ch

Re: [RFC PATCH v4 41/42] drm/colorop: Add mutliplier type

2024-05-21 Thread Melissa Wen
On 02/26, Harry Wentland wrote: > From: Alex Hung > > This introduces a new drm_colorop_type: DRM_COLOROP_MULTIPLIER. > > It's a simple multiplier to all pixel values. The value is > specified via a S31.32 fixed point provided via the > "MULTIPLIER" property. > > Signed-off-by: Alex Hung > ---

Re: [PATCH v4 02/10] drm/bridge: add common api for inno hdmi

2024-05-21 Thread Alex Bee
Hi Keith, thanks a lot for working on this. See some general remarks below Am 21.05.24 um 12:58 schrieb keith: Add INNO common api so that it can be used by vendor drivers which implement vendor specific extensions to Innosilicon HDMI. Signed-off-by: keith --- MAINTAINERS

Re: [RFC PATCH v4 09/42] drm/colorop: Introduce new drm_colorop mode object

2024-05-21 Thread Melissa Wen
On 02/26, Harry Wentland wrote: > This patches introduces a new drm_colorop mode object. This > object represents color transformations and can be used to > define color pipelines. > > We also introduce the drm_colorop_state here, as well as > various helpers and state tracking bits. > > v4: > -

Re: FYI: drm-intel repo moved to fd.o GitLab

2024-05-21 Thread Lucas De Marchi
Cc'ing drm and drm-intel maintainers too. And a few more details below. On Tue, May 21, 2024 at 02:56:22PM GMT, Knop, Ryszard wrote: Hello, As of today, we've moved the drm-intel repository (upstream for drivers/gpu/drm/i915) to a new location: Previously: https://cgit.freedesktop.org/drm-int

Re: [PATCH v4 10/10] drm/vs: add simple dsi encoder

2024-05-21 Thread Dmitry Baryshkov
On Tue, May 21, 2024 at 06:58:17PM +0800, keith wrote: > add encoder to match cdns dsi driver > > Signed-off-by: keith Please fix your git configuration to include your full name into the S-o-B and Author fields. > --- > drivers/gpu/drm/verisilicon/Makefile| 3 +- > drivers/gpu/drm/v

Re: DRM Accel BoF at Linux Plumbers

2024-05-21 Thread Jeffrey Hugo
On 5/21/2024 8:41 AM, Tomeu Vizoso wrote: On Tue, May 21, 2024 at 2:12 PM Daniel Vetter wrote: On Sat, May 18, 2024 at 10:46:01AM +0200, Tomeu Vizoso wrote: Hi, I would like to use the chance at the next Plumbers to discuss the present challenges related to ML accelerators in mainline. I'm

FYI: drm-intel repo moved to fd.o GitLab

2024-05-21 Thread Knop, Ryszard
Hello, As of today, we've moved the drm-intel repository (upstream for drivers/gpu/drm/i915) to a new location: Previously: https://cgit.freedesktop.org/drm-intel Moved to: https://gitlab.freedesktop.org/drm/i915/kernel The old repo is now a read-only mirror of the GitLab-hosted one. Relevant do

Re: [PATCH v4 00/10] drm/verisilicon : support DC8200 and inno hdmi

2024-05-21 Thread Alex Bee
Hi Heiko, Am 21.05.24 um 10:03 schrieb Heiko Stübner: Hi Alex, Am Dienstag, 21. Mai 2024, 12:58:07 CEST schrieb keith: Verisilicon/DC8200 display controller IP has 2 display pipes and each pipe support a primary plane and a cursor plane . In addition, there are four overlay planes as two displ

Re: DRM Accel BoF at Linux Plumbers

2024-05-21 Thread Tomeu Vizoso
On Tue, May 21, 2024 at 2:12 PM Daniel Vetter wrote: > > On Sat, May 18, 2024 at 10:46:01AM +0200, Tomeu Vizoso wrote: > > Hi, > > > > I would like to use the chance at the next Plumbers to discuss the > > present challenges related to ML accelerators in mainline. > > > > I'm myself more oriented

[drm-misc:drm-misc-next 1/6] drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: error: 'v3d_v42_performance_counters' defined but not used

2024-05-21 Thread kernel test robot
/archive/20240521/202405212244.andkqvfn-...@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240521/202405212244.andkqvfn-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new

Re: [PATCH] nightly.conf: Update drm-intel URLs, add missing bare ssh drm-xe URL

2024-05-21 Thread Lucas De Marchi
On Wed, Apr 24, 2024 at 01:32:19PM GMT, Ryszard Knop wrote: - Switch drm-intel URLs to the new GitLab location. - Add a short SSH link for drm-xe for completeness with other blocks. - Add a missing tab in drm_tip_config for column alignment. Signed-off-by: Ryszard Knop Applied, thanks Lucas D

[PATCH] drm: xlnx: zynqmp_disp: Fix WARN_ON build warning

2024-05-21 Thread Palmer Dabbelt
From: Palmer Dabbelt Without this I get warnings along the lines of drivers/gpu/drm/xlnx/zynqmp_disp.c:949:14: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses] 949 | if (WARN_ON(!layer->mode == ZYNQMP_DPSUB_LAYER_

Re: [PATCH] dt-bindings: display: synopsys, dw-hdmi: Mark ddc-i2c-bus as deprecated

2024-05-21 Thread Rob Herring (Arm)
On Tue, 21 May 2024 12:40:47 +0200, Marek Vasut wrote: > The ddc-i2c-bus property should be placed in connector node, > mark the HDMI TX side property as deprecated. > > Signed-off-by: Marek Vasut > --- > Cc: Andrzej Hajda > Cc: Conor Dooley > Cc: Daniel Vetter > Cc: David Airlie > Cc: Fabi

Re: [PATCH] dt-bindings: display: Reorganize legacy eDP panel bindings

2024-05-21 Thread Rob Herring (Arm)
On Mon, 20 May 2024 15:38:17 -0700, Douglas Anderson wrote: > Back in the day, we used to need to list the exact panel in dts for > eDP panels. This led to all sorts of problems including a large number > of cases where people listed a bogus panel in their device tree > because of the needs of se

Re: Safety of opening up /dev/dma_heap/* to physically present users (udev uaccess tag) ?

2024-05-21 Thread nicolas . dufresne
Le mardi 21 mai 2024 à 10:43 +0200, Maxime Ripard a écrit : > On Thu, May 16, 2024 at 01:11:51PM GMT, > nicolas.dufre...@collabora.corp-partner.google.com wrote: > > Le jeudi 16 mai 2024 à 14:27 +0300, Laurent Pinchart a écrit : > > > Hi Nicolas, > > > > > > On Wed, May 15, 2024 at 01:43:58PM -04

Re: [PATCH v5 0/8] drm/xe: Per client usage

2024-05-21 Thread Lucas De Marchi
On Fri, 17 May 2024 13:43:02 -0700, Lucas De Marchi wrote: > v5 of of > https://lore.kernel.org/all/20240515214258.59209-1-lucas.demar...@intel.com > > Add per-client usage statistics to xe. This ports xe to use the common > method in drm to export the usage to userspace per client (where 1 > c

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Mario Limonciello
On 5/21/2024 08:43, Simon Ser wrote: This makes sense to me in general. I like the fact that it's simple and vendor-neutral. Do we want to hardcode "panel" in the name? Are we sure that this will ever only apply to panels? Do we want to use a name which reflects the intent, rather than the mech

Re: [PATCH v4 1/5] clk: sunxi-ng: common: Support minimum and maximum rate

2024-05-21 Thread Måns Rullgård
Frank Oltmanns writes: > The Allwinner SoC's typically have an upper and lower limit for their > clocks' rates. Up until now, support for that has been implemented > separately for each clock type. > > Implement that functionality in the sunxi-ng's common part making use of > the CCF rate liming

Re: [PATCH 0/2] Add support for Panel Power Savings property

2024-05-21 Thread Simon Ser
This makes sense to me in general. I like the fact that it's simple and vendor-neutral. Do we want to hardcode "panel" in the name? Are we sure that this will ever only apply to panels? Do we want to use a name which reflects the intent, rather than the mechanism? In other words, something like "

Re: [PATCH 1/7] drm/tidss: Add CRTC mode_fixup

2024-05-21 Thread Maxime Ripard
On Thu, May 16, 2024 at 04:33:40PM GMT, Aradhya Bhatia wrote: > Hi Maxime, > > Thank you for reviewing the patches. > > On 16/05/24 13:40, Maxime Ripard wrote: > > Hi, > > > > On Sat, May 11, 2024 at 09:00:45PM +0530, Aradhya Bhatia wrote: > >> Add support for mode_fixup for the tidss CRTC. > >>

Re: [PATCH 6/7] drm/bridge: Introduce early_enable and late disable

2024-05-21 Thread Maxime Ripard
Hi, On Thu, May 16, 2024 at 03:10:15PM GMT, Aradhya Bhatia wrote: > >>/** > >> * @pre_enable: > >> * > >> @@ -285,6 +319,26 @@ struct drm_bridge_funcs { > >> */ > >>void (*enable)(struct drm_bridge *bridge); > >> > >> + /** > >> + * @atomic_early_enable: > >> + * > >> +

Re: [PATCH v3 01/21] drm/ttm: Allow TTM LRU list nodes of different types

2024-05-21 Thread Matthew Brost
On Tue, May 21, 2024 at 09:16:19AM +0200, Thomas Hellström wrote: > To be able to handle list unlocking while traversing the LRU > list, we want the iterators not only to point to the next > position of the list traversal, but to insert themselves as > list nodes at that point to work around the fa

Re: [PATCH] drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)

2024-05-21 Thread Daniel Vetter
On Tue, 21 May 2024 at 14:38, Daniel Vetter wrote: > > On Mon, May 20, 2024 at 12:05:14PM +0200, Jacek Lawrynowicz wrote: > > From: "Wachowski, Karol" > > > > Lack of check for copy-on-write (COW) mapping in drm_gem_shmem_mmap > > allows users to call mmap with PROT_WRITE and MAP_PRIVATE flag > >

Re: simpledrm, running display servers, and drivers replacing simpledrm while the display server is running

2024-05-21 Thread Daniel Vetter
On Fri, May 10, 2024 at 03:11:13PM +0200, Jonas Ådahl wrote: > On Fri, May 10, 2024 at 02:45:48PM +0200, Thomas Zimmermann wrote: > > Hi > > > > > (This was discussed on #dri-devel, but I'll reiterate here as well). > > > > > > There are two problems at hand; one is the race condition during boot

Re: [PATCH] drm/ttm/tests: Let ttm_bo_test consider different ww_mutex implementation.

2024-05-21 Thread Sebastian Andrzej Siewior
On 2024-04-26 09:01:37 [+0200], To dri-devel@lists.freedesktop.org wrote: > On 2024-04-04 12:25:36 [+0200], To dri-devel@lists.freedesktop.org wrote: > > PREEMPT_RT has a different locking implementation for ww_mutex. The > > base mutex of struct ww_mutex is declared as struct WW_MUTEX_BASE. The >

Re: [PATCH v12] drm/bridge: it6505: fix hibernate to resume no display issue

2024-05-21 Thread Robert Foss
Hey, Thanks for spinning another few revisions. On Tue, May 21, 2024 at 9:51 AM kuro wrote: > > From: Kuro Chung > > When the system power resumes, the TTL input of IT6505 may experience > some noise before the video signal stabilizes, necessitating a video > reset. This patch is implemented to

Re: [PATCH] drm/bridge: tc358767: Enable FRMSYNC timing generator

2024-05-21 Thread Robert Foss
On Mon, 13 May 2024 04:16:04 +0200, Marek Vasut wrote: > TC9595 datasheet Video Path0 Control (VPCTRL0) Register bit FRMSYNC > description > says "This bit should be disabled only in video mode transmission where Host > transmits video timing together with video data and where pixel clock source >

Re: [PATCH] dt-bindings: display: synopsys, dw-hdmi: Mark ddc-i2c-bus as deprecated

2024-05-21 Thread Neil Armstrong
On 21/05/2024 14:29, Laurent Pinchart wrote: Hi Marek, Thank you for the patch. On Tue, May 21, 2024 at 12:40:47PM +0200, Marek Vasut wrote: The ddc-i2c-bus property should be placed in connector node, mark the HDMI TX side property as deprecated. Signed-off-by: Marek Vasut --- Cc: Andrzej H

Re: [PATCH] drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)

2024-05-21 Thread Daniel Vetter
On Mon, May 20, 2024 at 12:05:14PM +0200, Jacek Lawrynowicz wrote: > From: "Wachowski, Karol" > > Lack of check for copy-on-write (COW) mapping in drm_gem_shmem_mmap > allows users to call mmap with PROT_WRITE and MAP_PRIVATE flag > causing a kernel panic due to BUG_ON in vmf_insert_pfn_prot: > B

Re: [PATCH] dt-bindings: display: synopsys, dw-hdmi: Mark ddc-i2c-bus as deprecated

2024-05-21 Thread Laurent Pinchart
Hi Marek, Thank you for the patch. On Tue, May 21, 2024 at 12:40:47PM +0200, Marek Vasut wrote: > The ddc-i2c-bus property should be placed in connector node, > mark the HDMI TX side property as deprecated. > > Signed-off-by: Marek Vasut > --- > Cc: Andrzej Hajda > Cc: Conor Dooley > Cc: Dani

Re: [PATCH v6 0/7] Adds support for ConfigFS to VKMS!

2024-05-21 Thread Daniel Vetter
On Mon, May 13, 2024 at 10:08:38AM +0200, José Expósito wrote: > On Fri, May 10, 2024 at 06:19:45PM +0200, Louis Chauvet wrote: > > Le 09/05/24 - 18:18, Jim Shargo a écrit : > > > Sima--thanks SO MUCH for going through with everything leaving a > > > detailed review. I am excited to go through your

Re: DRM Accel BoF at Linux Plumbers

2024-05-21 Thread Daniel Vetter
On Sat, May 18, 2024 at 10:46:01AM +0200, Tomeu Vizoso wrote: > Hi, > > I would like to use the chance at the next Plumbers to discuss the > present challenges related to ML accelerators in mainline. > > I'm myself more oriented towards edge-oriented deployments, and don't > know enough about how

Re: [PATCH] drm/probe-helper: Call drm_mode_validate_ycbcr420() before connector->mode_valid()

2024-05-21 Thread Daniel Vetter
On Thu, May 16, 2024 at 08:33:24PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Make life easier for drivers by filtering out unwanted YCbCr 4:2:0 > only modes prior to calling the connector->mode_valid() hook. > Currently drivers will still see YCbCr 4:2:0 only modes in said > hook, whi

Re: [PATCH 0/8] dma-buf: heaps: Support carved-out heaps and ECC related-flags

2024-05-21 Thread Daniel Vetter
On Thu, May 16, 2024 at 09:51:35AM -0700, John Stultz wrote: > On Thu, May 16, 2024 at 3:56 AM Daniel Vetter wrote: > > On Wed, May 15, 2024 at 11:42:58AM -0700, John Stultz wrote: > > > But it makes me a little nervous to add a new generic allocation flag > > > for a feature most hardware doesn't

Re: [PATCH v2 0/5] Add support for GE SUNH hot-pluggable connector (was: "drm: add support for hot-pluggable bridges")

2024-05-21 Thread Daniel Vetter
On Mon, May 20, 2024 at 02:01:48PM +0200, Luca Ceresoli wrote: > Hello Daniel, > > On Thu, 16 May 2024 15:22:01 +0200 > Daniel Vetter wrote: > > > Apologies for missing v1 ... > > > > On Fri, May 10, 2024 at 09:10:36AM +0200, Luca Ceresoli wrote: > > > DRM hotplug bridge driver > > > ==

Re: [PATCH v2 0/6] drm/v3d: Improve Performance Counters handling

2024-05-21 Thread Maíra Canal
Hi Jani, On 5/21/24 08:07, Jani Nikula wrote: On Mon, 20 May 2024, Maíra Canal wrote: On 5/12/24 19:23, Maíra Canal wrote:> Maíra Canal (6): drm/v3d: Add Performance Counters descriptions for V3D 4.2 and 7.1 drm/v3d: Different V3D versions can have different number of perfcnt drm/

Re: [PATCH v2 1/1] drm: Add ioctl for querying a DRM device's list of open client PIDs

2024-05-21 Thread Daniel Vetter
On Thu, May 16, 2024 at 11:12:19PM +0100, Adrián Larumbe wrote: > Hi Daniel, > > On 02.05.2024 10:09, Daniel Vetter wrote: > > On Wed, May 01, 2024 at 07:50:43PM +0100, Adrián Larumbe wrote: > > > Up to this day, all fdinfo-based GPU profilers must traverse the entire > > > /proc directory structu

  1   2   >