[RESEND 5/6] drm/bochs: switch to struct drm_edid

2024-05-10 Thread Jani Nikula
Prefer struct drm_edid based functions over struct edid. Signed-off-by: Jani Nikula --- Cc: Gerd Hoffmann Cc: virtualizat...@lists.linux.dev --- drivers/gpu/drm/tiny/bochs.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/tiny/boch

[RESEND 4/6] drm/i2c: tda998x: switch to struct drm_edid

2024-05-10 Thread Jani Nikula
Prefer struct drm_edid based functions over struct edid. Signed-off-by: Jani Nikula --- Cc: Russell King --- drivers/gpu/drm/i2c/tda998x_drv.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda9

[RESEND 3/6] drm/bridge: anx7625: use struct drm_edid more

2024-05-10 Thread Jani Nikula
Prefer struct drm_edid based functions over struct edid. Signed-off-by: Jani Nikula --- Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/analogix/anx7625.c | 26 +++ drivers/gpu/d

[RESEND 2/6] drm/bridge/analogix/anx78xx: switch to struct drm_edid

2024-05-10 Thread Jani Nikula
Prefer struct drm_edid based functions over struct edid. Signed-off-by: Jani Nikula --- Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- .../drm/bridge/analogix/analogix-anx78xx.c| 23 ++- 1 file change

[RESEND 1/6] drm/bridge/analogix/anx6345: switch to struct drm_edid

2024-05-10 Thread Jani Nikula
Prefer struct drm_edid based functions over struct edid. Signed-off-by: Jani Nikula --- Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- .../gpu/drm/bridge/analogix/analogix-anx6345.c| 15 +++ 1 file change

[RESEND 0/6] drm: struct drm_edid conversions

2024-05-10 Thread Jani Nikula
Resend of the remaining patches from [1]. BR, Jani. [1] https://lore.kernel.org/r/cover.1713273659.git.jani.nik...@intel.com Jani Nikula (6): drm/bridge/analogix/anx6345: switch to struct drm_edid drm/bridge/analogix/anx78xx: switch to struct drm_edid drm/bridge: anx7625: use struct drm_e

Re: [PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector

2024-05-10 Thread Rob Herring
On Fri, May 10, 2024 at 5:37 AM Luca Ceresoli wrote: > > Hello Rob, > > On Fri, 10 May 2024 03:41:35 -0500 > "Rob Herring (Arm)" wrote: > > > On Fri, 10 May 2024 09:10:37 +0200, Luca Ceresoli wrote: > > > Add bindings for the GE SUNH add-on connector. This is a physical, > > > hot-pluggable conne

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

2024-05-10 Thread Jonas Ådahl
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 > > when the login screen (or whatever display server appears first) is

Re: NXP i.MX8MM GPU performances

2024-05-10 Thread João Paulo Gonçalves
> Offscreen test results: > > glmark2 command: > glmark2-es2-wayland --off-screen -b shading:duration=5.0 -b refract -b build > -b texture -b shadow -b bump -s 640x480 2>&1 > | | glmark2 tests | > | sw ver |shading|build|texture|refract|shadow|

Re: [PATCH v2 2/2] Add dp PHY dt-bindings

2024-05-10 Thread Rob Herring
On Fri, May 10, 2024 at 07:04:15PM +0800, Liankun Yang wrote: > Add dp PHY dt-bindings. > > Changeds in v2: > - Add dp PHY dt-bindings. > https://patchwork.kernel.org/project/linux-mediatek/patch/ > 20240403040517.3279-1-liankun.y...@mediatek.com/ > > Signed-off-by: Liankun Yang > --- > .../dis

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

2024-05-10 Thread Thomas Zimmermann
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 when the login screen (or whatever display server appears first) is launched with simpledrm, only some moments later having the real GPU driver appear.

Re: [PATCH v2 5/5] drm/udl: Remove struct udl_connector

2024-05-10 Thread Jani Nikula
On Wed, 10 Apr 2024, Thomas Zimmermann wrote: > Udl's struct udl_connector is an empty wrapper around struct > drm_connector. Remove it. Allocate the connector as part of struct > udl_device and inline the init function into its only caller. > > v2: > - fix return value in udl_modeset_init() (Dan)

Re: [PATCH v2 4/5] drm/udl: Untangle .get_modes() and .detect_ctx()

2024-05-10 Thread Jani Nikula
On Wed, 10 Apr 2024, Thomas Zimmermann wrote: > Provide separate implementations of .get_modes() and .detect_ctx() > from struct drm_connector. Switch to struct drm_edid. > > Udl's .detect() helper used to fetch the EDID from the adapter and the > .get_modes() helper provided display modes from th

Re: [PATCH v1 2/2] HID: i2c-hid: elan: Add ili2900 timing

2024-05-10 Thread zhaoxiong lv
hi Doug Sorry, This patch was accidentally sent when sending other patches. Please ignore this patch. > Also: other than the main power supply, there is no difference between > this and the ili2901. If you actually do have a main power supply, > then you probably don't need a new table. You pro

Re: [PATCH v2 3/5] drm/udl: Clean up Makefile

2024-05-10 Thread Jani Nikula
On Wed, 10 Apr 2024, Thomas Zimmermann wrote: > Clean up Makefile before listing new object files. No functional > changes. > > Signed-off-by: Thomas Zimmermann Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/udl/Makefile | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff

Re: [PATCH v2 2/5] drm/udl: Move drm_dev_{enter,exit}() into udl_get_edid_block()

2024-05-10 Thread Jani Nikula
On Wed, 10 Apr 2024, Thomas Zimmermann wrote: > Protect the code in udl_get_edid_block() with drm_dev_enter() and > drm_dev_exit(), so that all callers automatically invoke it. The > function uses hardware resources, which can be hot-unplugged at > any time. The other code in udl_connector_detect(

Re: [PATCH v2 1/5] drm/udl: Remove DRM_CONNECTOR_POLL_HPD

2024-05-10 Thread Jani Nikula
On Wed, 10 Apr 2024, Thomas Zimmermann wrote: > DisplayLink devices do not generate hotplug events. Remove the poll > flag DRM_CONNECTOR_POLL_HPD, as it may not be specified together with > DRM_CONNECTOR_POLL_CONNECT or DRM_CONNECTOR_POLL_DISCONNECT. > > Signed-off-by: Thomas Zimmermann > Fixes:

Re: [PATCH] docs: document python version used for compilation

2024-05-10 Thread Jon Hunter
On 10/05/2024 12:39, Mauro Carvalho Chehab wrote: Em Fri, 10 May 2024 13:39:17 +0300 Dmitry Baryshkov escreveu: On Fri, 10 May 2024 at 13:09, Jani Nikula wrote: On Fri, 10 May 2024, Mauro Carvalho Chehab wrote: Em Fri, 10 May 2024 11:08:38 +0300 Jani Nikula escreveu: On Thu, 09 May

Re: [PATCH] docs: document python version used for compilation

2024-05-10 Thread Mauro Carvalho Chehab
Em Fri, 10 May 2024 13:39:17 +0300 Dmitry Baryshkov escreveu: > On Fri, 10 May 2024 at 13:09, Jani Nikula wrote: > > > > On Fri, 10 May 2024, Mauro Carvalho Chehab wrote: > > > Em Fri, 10 May 2024 11:08:38 +0300 > > > Jani Nikula escreveu: > > > > > >> On Thu, 09 May 2024, Dmitry Baryshkov

Re: [PATCH v2 0/2] Add PHY-dp bindings

2024-05-10 Thread Jani Nikula
On Fri, 10 May 2024, Liankun Yang wrote: > Update write DP phyd register and add phy-dp bindings. > > Liankun Yang (2): > Add write DP phyd register from parse dts > Add dp PHY dt-bindings Please use the proper subject prefix for the driver. git log suggests "phy: phy-mtk-dp:". Thanks, Jani.

Re: [PATCH] docs: document python version used for compilation

2024-05-10 Thread Mauro Carvalho Chehab
Em Fri, 10 May 2024 13:39:17 +0300 Dmitry Baryshkov escreveu: > On Fri, 10 May 2024 at 13:09, Jani Nikula wrote: > > > > On Fri, 10 May 2024, Mauro Carvalho Chehab wrote: > > > Em Fri, 10 May 2024 11:08:38 +0300 > > > Jani Nikula escreveu: > > > > > >> On Thu, 09 May 2024, Dmitry Baryshkov

[PATCH v2 0/2] Add PHY-dp bindings

2024-05-10 Thread Liankun Yang
Update write DP phyd register and add phy-dp bindings. Liankun Yang (2): Add write DP phyd register from parse dts Add dp PHY dt-bindings .../display/mediatek/mediatek.phy-dp.yaml | 45 +++ drivers/phy/mediatek/phy-mtk-dp.c | 37 +++ 2 files change

[PATCH v2 1/2] Add write DP phyd register from parse dts

2024-05-10 Thread Liankun Yang
During the testing phase, screen flickering is observed when using displayport for screen casting. Relevant SSC register parameters are set in dts to address the screen flickering issue effectively and improve compatibility with different devices by adjusting the SSC gear. Obtaining the DPTX node,

[PATCH v2 2/2] Add dp PHY dt-bindings

2024-05-10 Thread Liankun Yang
Add dp PHY dt-bindings. Changeds in v2: - Add dp PHY dt-bindings. https://patchwork.kernel.org/project/linux-mediatek/patch/ 20240403040517.3279-1-liankun.y...@mediatek.com/ Signed-off-by: Liankun Yang --- .../display/mediatek/mediatek.phy-dp.yaml | 45 +++ 1 file changed, 4

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Greg Kroah-Hartman
On Fri, May 10, 2024 at 12:54:17PM +0200, Luca Ceresoli wrote: > > > +static int sunh_conn_handle_event(struct sunh_conn *conn, bool plugged) > > > +{ > > > + int err; > > > + > > > + if (plugged == conn->plugged) > > > + return 0; > > > + > > > + dev_info(conn->dev, "%s\n", plugged ? "conn

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Arnd Bergmann
On Fri, May 10, 2024, at 12:54, Luca Ceresoli wrote: > On Fri, 10 May 2024 12:24:06 +0200 "Arnd Bergmann" wrote: >> On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote: >> > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote: >> >> >> >> +config GE_SUNH_CONNECTOR >> >> + trista

Re: [Linaro-mm-sig] Re: [PATCH] epoll: try to be a _bit_ better about file lifetimes

2024-05-10 Thread Christian Brauner
> For the uapi issue you describe below my take would be that we should just > try, and hope that everyone's been dutifully using O_CLOEXEC. But maybe > I'm biased from the gpu world, where we've been hammering it in that > "O_CLOEXEC or bust" mantra since well over a decade. Really the only valid

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Luca Ceresoli
Hello Greg, Arnd, On Fri, 10 May 2024 12:24:06 +0200 "Arnd Bergmann" wrote: > On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote: > > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote: > >> > >> +config GE_SUNH_CONNECTOR > >> + tristate "GE SUNH hotplug add-on connector" >

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Luca Ceresoli
Hello Greg, thanks for reviewing. On Fri, 10 May 2024 08:55:29 +0100 Greg Kroah-Hartman wrote: > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote: > > Add a driver to support the runtime hot-pluggable add-on connector on the > > GE SUNH device. This connector allows connecting and

Re: [PATCH] docs: document python version used for compilation

2024-05-10 Thread Dmitry Baryshkov
On Fri, 10 May 2024 at 13:09, Jani Nikula wrote: > > On Fri, 10 May 2024, Mauro Carvalho Chehab wrote: > > Em Fri, 10 May 2024 11:08:38 +0300 > > Jani Nikula escreveu: > > > >> On Thu, 09 May 2024, Dmitry Baryshkov wrote: > >> > The drm/msm driver had adopted using Python3 script to generate re

Re: [PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector

2024-05-10 Thread Luca Ceresoli
Hello Rob, On Fri, 10 May 2024 03:41:35 -0500 "Rob Herring (Arm)" wrote: > On Fri, 10 May 2024 09:10:37 +0200, Luca Ceresoli wrote: > > Add bindings for the GE SUNH add-on connector. This is a physical, > > hot-pluggable connector that allows to attach and detach at runtime an > > add-on adding

Re: [PATCH] drm: use "0" instead of "" for deprecated driver date

2024-05-10 Thread Simon Ser
Sounds good to me. Reviewed-by: Simon Ser

[PATCH v10 05/12] drm/panelreplay: dpcd register definition for panelreplay SU

2024-05-10 Thread Jouni Högander
Add definitions for panel replay selective update v2: Remove unnecessary Cc from commit message Signed-off-by: Jouni Högander Reviewed-by: Animesh Manna --- include/drm/display/drm_dp.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/drm/display/drm_dp.h b/include/drm/display

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Arnd Bergmann
On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote: > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote: >> >> +config GE_SUNH_CONNECTOR >> +tristate "GE SUNH hotplug add-on connector" >> +depends on OF >> +select OF_OVERLAY >> +select FW_LOADER >> +select NV

Re: [PATCH RFC 2/2] pmdomain: ti-sci: Support retaining PD boot time state

2024-05-10 Thread Tomi Valkeinen
Hi, On 03/05/2024 16:45, Ulf Hansson wrote: + Abel, Saravanna, Stephen On Mon, 15 Apr 2024 at 19:17, Tomi Valkeinen wrote: On 15/04/2024 19:00, Tomi Valkeinen wrote: Add a new flag, TI_SCI_PD_KEEP_BOOT_STATE, which can be set in the dts when referring to power domains. When this flag is set

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-10 Thread AngeloGioacchino Del Regno
Il 10/05/24 11:34, CK Hu (胡俊光) ha scritto: On Thu, 2024-05-09 at 11:27 +0200, AngeloGioacchino Del Regno wrote: Il 09/05/24 07:42, CK Hu (胡俊光) ha scritto: On Wed, 2024-05-08 at 15:03 +0200, AngeloGioacchino Del Regno wrote: Il 08/05/24 09:19, CK Hu (胡俊光) ha scritto: On Tue, 2024-05-07 at 16:0

Re: [PATCH v1 1/1] Fix get efuse issue for MT8188 DPTX

2024-05-10 Thread AngeloGioacchino Del Regno
Il 10/05/24 08:16, Liankun Yang ha scritto: Fix get efuse issue for MT8188 DPTX. Signed-off-by: Liankun Yang I may agree with this commit, but: 1. The commit title is incorrect - I don't see "drm/mediatek:" - please look at the history to find out the right titles for your commits; and 2.

Re: [PATCH] docs: document python version used for compilation

2024-05-10 Thread Jani Nikula
On Fri, 10 May 2024, Mauro Carvalho Chehab wrote: > Em Fri, 10 May 2024 11:08:38 +0300 > Jani Nikula escreveu: > >> On Thu, 09 May 2024, Dmitry Baryshkov wrote: >> > The drm/msm driver had adopted using Python3 script to generate register >> > header files instead of shipping pre-generated heade

Re: [PATCH v1 1/1] Support YUV422 for DPTX.

2024-05-10 Thread AngeloGioacchino Del Regno
Il 10/05/24 04:15, Liankun Yang ha scritto: Adjust the training sequence.Detects the actual link condition and calculates the bandwidth where the relevant resolution resides. The bandwidth is recalculated and modes that exceed the bandwidth are filtered. Example Modify bandwidth filtering requi

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

2024-05-10 Thread Jonas Ådahl
On Fri, May 10, 2024 at 09:32:02AM +0200, Thomas Zimmermann wrote: > Hi > > Am 09.05.24 um 15:06 schrieb nerdopolis: > > > > Hi > > > > > > So I have been made aware of an apparent race condition of some drivers > > taking a bit longer to load, which could lead to a possible race > > condition

Re: [PATCH] drm: use "0" instead of "" for deprecated driver date

2024-05-10 Thread Steven Price
On 10/05/2024 10:09, Jani Nikula wrote: > libdrm does not like the empty string for driver date. Use "0" instead, > which has been used by virtio previously. > > Reported-by: Steven Price > Closes: https://lore.kernel.org/r/9d0cff47-308e-4b11-a9f3-4157dc26b...@arm.com > Fixes: 7fb8af6798e8 ("drm:

Re: [PATCH] drm: deprecate driver date

2024-05-10 Thread Steven Price
On 10/05/2024 10:13, Jani Nikula wrote: > On Thu, 09 May 2024, Steven Price wrote: >> On 29/04/2024 17:43, Jani Nikula wrote: >>> The driver date serves no useful purpose, because it's hardly ever >>> updated. The information is misleading at best. >>> >>> As described in Documentation/gpu/drm-int

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-10 Thread 胡俊光

Re: [PATCH] drm: use "0" instead of "" for deprecated driver date

2024-05-10 Thread Javier Martinez Canillas
Jani Nikula writes: > libdrm does not like the empty string for driver date. Use "0" instead, > which has been used by virtio previously. > > Reported-by: Steven Price > Closes: https://lore.kernel.org/r/9d0cff47-308e-4b11-a9f3-4157dc26b...@arm.com > Fixes: 7fb8af6798e8 ("drm: deprecate driver d

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

2024-05-10 Thread Jani Nikula
On Fri, 10 May 2024, "Lin, Wayne" wrote: > [Public] > >> -Original Message- >> From: Limonciello, Mario >> Sent: Friday, May 10, 2024 3:18 AM >> To: Linux regressions mailing list ; Wentland, >> Harry >> ; Lin, Wayne >> Cc: ly...@redhat.com; imre.d...@intel.com; Leon Weiß > bochum.de>;

Re: [PATCH] docs: document python version used for compilation

2024-05-10 Thread Mauro Carvalho Chehab
Em Fri, 10 May 2024 11:08:38 +0300 Jani Nikula escreveu: > On Thu, 09 May 2024, Dmitry Baryshkov wrote: > > The drm/msm driver had adopted using Python3 script to generate register > > header files instead of shipping pre-generated header files. Document > > the minimal Python version supported

[PATCH] drm/edid: rename drm_do_probe_ddc_edid() to ddc_read_block()

2024-05-10 Thread Jani Nikula
The "do probe" naming is confusing when it's really about reading a block via DDC. Rename accordingly. Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_edid.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.

Re: [PATCH] drm: deprecate driver date

2024-05-10 Thread Jani Nikula
On Thu, 09 May 2024, Steven Price wrote: > On 29/04/2024 17:43, Jani Nikula wrote: >> The driver date serves no useful purpose, because it's hardly ever >> updated. The information is misleading at best. >> >> As described in Documentation/gpu/drm-internals.rst: >> >> The driver date, formatte

[PATCH] drm: use "0" instead of "" for deprecated driver date

2024-05-10 Thread Jani Nikula
libdrm does not like the empty string for driver date. Use "0" instead, which has been used by virtio previously. Reported-by: Steven Price Closes: https://lore.kernel.org/r/9d0cff47-308e-4b11-a9f3-4157dc26b...@arm.com Fixes: 7fb8af6798e8 ("drm: deprecate driver date") Signed-off-by: Jani Nikula

powervr lockdep warnings

2024-05-10 Thread Chen-Yu Tsai
Hi, I got the following lockdep warnings while trying to make the powervr driver work on MT8173. This was observed while trying to run vkmark. This was on the next-20240506 kernel running Debian Sid with the Mesa 24.0.6 package rebuilt to include the powervr driver. [73602.438144] [

Re: [PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector

2024-05-10 Thread Rob Herring (Arm)
e.dtb] Error 1 make[2]: *** Waiting for unfinished jobs make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1430: dt_binding_check] Error 2 make: *** [Makefile:240: __sub-make] Error 2 doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings

[PATCH RESEND v7 8/8] gpu: ipu-v3: Use generic macro for rounding to nearest multiple

2024-05-10 Thread Devarsh Thakkar
Use generic macro round_closest_up for rounding to nearest multiple instead of using local function. Signed-off-by: Devarsh Thakkar --- V1->V6 (No change, patch introduced in V7) --- drivers/gpu/ipu-v3/ipu-image-convert.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dri

[PATCH RESEND v7 7/8] media: imagination: Round to closest multiple for cropping region

2024-05-10 Thread Devarsh Thakkar
If neither of the flags to round down (V4L2_SEL_FLAG_LE) or round up (V4L2_SEL_FLAG_GE) are specified by the user, then round to nearest multiple of requested value while updating the crop rectangle coordinates. Use the rounding macro which gives preference to rounding down in case two nearest val

[PATCH RESEND v7 6/8] math.h Add macros to round to closest specified power of 2

2024-05-10 Thread Devarsh Thakkar
Add macros to round to nearest specified power of 2. Two macros are added : round_closest_up and round_closest_down which round up to nearest multiple of 2 with a preference to round up or round down respectively if there are two possible nearest values to the given number. This patch is inspired

Re: [PATCH] drm/etnaviv: Create an accel device node if compute-only

2024-05-10 Thread Lucas Stach
Hi Tomeu, Am Mittwoch, dem 24.04.2024 um 08:37 +0200 schrieb Tomeu Vizoso: > If we expose a render node for NPUs without rendering capabilities, the > userspace stack will offer it to compositors and applications for > rendering, which of course won't work. > > Userspace is probably right in not

[PATCH RESEND v7 0/8] Add V4L2 M2M Driver for E5010 JPEG Encoder

2024-05-10 Thread Devarsh Thakkar
Resending this V7 series to have proper linking of patches in the series with cover-letter while doing git send-email. Original cover letter: This adds support for V4L2 M2M based driver for E5010 JPEG Encoder which is a stateful JPEG encoder from Imagination technologies and is present in TI AM62

Re: [PATCH] docs: document python version used for compilation

2024-05-10 Thread Jani Nikula
On Thu, 09 May 2024, Dmitry Baryshkov wrote: > The drm/msm driver had adopted using Python3 script to generate register > header files instead of shipping pre-generated header files. Document > the minimal Python version supported by the script. > > Signed-off-by: Dmitry Baryshkov > --- > Docume

Re: [PATCH] drm/drm-bridge.c: Drop conditionals around of_node pointers

2024-05-10 Thread Robert Foss
On Wed, 8 May 2024 02:00:00 +0800, Sui Jingfeng wrote: > Having conditional around the of_node pointer of the drm_bridge structure > is not necessary, since drm_bridge structure always has the of_node as its > member. > > Let's drop the conditional to get a better looks, please also note that > th

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Greg Kroah-Hartman
On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote: > Add a driver to support the runtime hot-pluggable add-on connector on the > GE SUNH device. This connector allows connecting and disconnecting an > add-on to/from the main device to augment its features. Connection and > disconnection

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

2024-05-10 Thread Javier Martinez Canillas
nerdopolis writes: Hello, > Hi > > So I have been made aware of an apparent race condition of some drivers > taking a bit longer to load, which could lead to a possible race condition of > display servers/greeters using the simpledrm device, and then experiencing > problems once the real driv

Re: [PATCH v9 6/8] drm/vmwgfx: Use VMware hypercall API

2024-05-10 Thread kernel test robot
55606 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20240506215305.30756-7-alexey.makhalov%40broadcom.com patch subject: [PATCH v9 6/8] drm/vmwgfx: Use VMware hypercall API config: x86_64-buildonly-randconfig-003-20240510 (https://download.0

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

2024-05-10 Thread Thomas Zimmermann
Hi Am 09.05.24 um 15:06 schrieb nerdopolis: Hi So I have been made aware of an apparent race condition of some drivers taking a bit longer to load, which could lead to a possible race condition of display servers/greeters using the simpledrm device, and then experiencing problems once the

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

2024-05-10 Thread Pekka Paalanen
On Thu, 09 May 2024 09:06:29 -0400 nerdopolis wrote: > Hi > > So I have been made aware of an apparent race condition of some > drivers taking a bit longer to load, which could lead to a possible > race condition of display servers/greeters using the simpledrm > device, and then experiencing pro

[PULL] drm-misc-fixes

2024-05-10 Thread Thomas Zimmermann
Hi Dave, Sima, this is the weekly drm-misc-fixes PR. Sorry for being late. Best regards Thomas drm-misc-fixes-2024-05-10: Short summary of fixes pull: core: - fix connector debugging output meson: - dw-hdmi: power-up fixes - dw-hdmi: add badngap setting for g12 The following changes since comm

[PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Luca Ceresoli
Add a driver to support the runtime hot-pluggable add-on connector on the GE SUNH device. This connector allows connecting and disconnecting an add-on to/from the main device to augment its features. Connection and disconnection can happen at runtime at any moment without notice. Different add-on

[PATCH v2 3/5] drm/encoder: add drm_encoder_cleanup_from()

2024-05-10 Thread Luca Ceresoli
Supporting hardware whose final part of the DRM pipeline can be physically removed requires the ability to detach all bridges from a given point to the end of the pipeline. Introduce a variant of drm_encoder_cleanup() for this. Signed-off-by: Luca Ceresoli --- Changed in v2: - fix a typo in a

[PATCH v2 4/5] drm/bridge: hotplug-bridge: add driver to support hot-pluggable DSI bridges

2024-05-10 Thread Luca Ceresoli
This driver implements the point of a DRM pipeline where a connector allows removal of all the following bridges up to the panel. The DRM subsystem currently allows hotplug of the monitor but not preceding components. However there are embedded devices where the "tail" of the DRM pipeline, includi

[PATCH v2 2/5] drm/bridge: add bridge notifier to be notified of bridge addition and removal

2024-05-10 Thread Luca Ceresoli
From: Paul Kocialkowski In preparation for allowing bridges to be added to and removed from a DRM card without destroying the whole card, add a DRM bridge notifier. Notified events are addition and removal to/from the global bridge list. Co-developed-by: Luca Ceresoli Signed-off-by: Luca Cereso

[PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector

2024-05-10 Thread Luca Ceresoli
Add bindings for the GE SUNH add-on connector. This is a physical, hot-pluggable connector that allows to attach and detach at runtime an add-on adding peripherals on non-discoverable busses. Signed-off-by: Luca Ceresoli --- NOTE: the second and third examples fail 'make dt_binding_check' becau

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

2024-05-10 Thread Luca Ceresoli
Hello, this series aims at supporting a Linux device with a connector to physically add and remove an add-on to/from the main device to augment its features at runtime, using device tree overlays. This is the v2 of "drm: add support for hot-pluggable bridges" [0] which was however more limited in

Re: [PATCH] drm/panel: jdi-fhd-r63452: move DCS off commands to disable

2024-05-10 Thread Barnabás Czémán
On Fri, May 10, 2024 at 8:46 AM Barnabás Czémán wrote: > > On Fri, May 10, 2024 at 2:56 AM Dmitry Baryshkov > wrote: > > > > On Thu, May 09, 2024 at 08:14:07PM +0200, Barnabás Czémán wrote: > > > Move DCS off commands from .unprepare to .disable so that they > > > actually reach the DSI host. > >

[PATCH v1 1/1] Support YUV422 for DPTX.

2024-05-10 Thread Liankun Yang
Adjust the training sequence.Detects the actual link condition and calculates the bandwidth where the relevant resolution resides. The bandwidth is recalculated and modes that exceed the bandwidth are filtered. Example Modify bandwidth filtering requirements. Signed-off-by: Liankun Yang --- dr

[PATCH v1 1/1] Fix get efuse issue for MT8188 DPTX

2024-05-10 Thread Liankun Yang
Fix get efuse issue for MT8188 DPTX. Signed-off-by: Liankun Yang --- drivers/gpu/drm/mediatek/mtk_dp.c | 85 ++- 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c b/drivers/gpu/drm/mediatek/mtk_dp.c index 2136a596efa1..32

<    1   2