Re: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-09 Thread kernel test robot
Hi Alexey, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on dtor-input/next dtor-input/for-linus linus/master v6.9-rc7 next-20240509] [cannot apply to tip/x86/vmware] [If your patch is applied to the wrong git tree

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

2024-05-09 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

Re: [PATCH v2] mailbox: mtk-cmdq: Fix sleeping function called from invalid context

2024-05-09 Thread 林睿祥

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

2024-05-09 Thread Lin, Wayne
[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>; sta...@vger.kernel.org;

Re: [pull] amdgpu, amdkfd drm-fixes-6.9

2024-05-09 Thread Dave Airlie
On Thu, 9 May 2024 at 09:00, Alex Deucher wrote: > > Hi Dave, Sima, > > Fixes for 6.9. > > The following changes since commit dd5a440a31fae6e459c0d627162825505361: > > Linux 6.9-rc7 (2024-05-05 14:06:01 -0700) > > are available in the Git repository at: > >

Re: [PATCH v5 2/7] drm/panel: himax-hx83102: Break out as separate driver

2024-05-09 Thread cong yang
Hi, Doug Anderson 于2024年5月10日周五 00:42写道: > > Hi, > > On Wed, May 8, 2024 at 6:53 PM Cong Yang > wrote: > > > > +static int hx83102_enable(struct drm_panel *panel) > > +{ > > + struct hx83102 *ctx = panel_to_hx83102(panel); > > + struct mipi_dsi_device *dsi = ctx->dsi; > > +

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

2024-05-09 Thread Dmitry Baryshkov
{ > .prepare = jdi_fhd_r63452_prepare, > .unprepare = jdi_fhd_r63452_unprepare, > + .disable = jdi_fhd_r63452_disable, > .get_modes = jdi_fhd_r63452_get_modes, > }; > > > --- > base-commit: 704ba27ac55579704ba1289392448b0c66b56258 > change-id: 20240509-jdi-use-disable-ee29098d9c81 > > Best regards, > -- > Barnabás Czémán > -- With best wishes Dmitry

Re: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-09 Thread Alexey Makhalov
On 5/7/24 2:58 AM, Borislav Petkov wrote: On Mon, May 06, 2024 at 02:53:00PM -0700, Alexey Makhalov wrote: +#define VMWARE_HYPERCALL \ + ALTERNATIVE_3("cmpb $"\ +

Re: [PATCH v9 1/8] x86/vmware: Move common macros to vmware.h

2024-05-09 Thread Alexey Makhalov
On 5/7/24 2:14 AM, Borislav Petkov wrote: On Mon, May 06, 2024 at 02:52:58PM -0700, Alexey Makhalov wrote: +#define VMWARE_HYPERVISOR_PORT 0x5658 +#define VMWARE_HYPERVISOR_PORT_HB (VMWARE_HYPERVISOR_PORT | \ +VMWARE_HYPERVISOR_HB) You

[PATCH RFC 4/7] drm/panel: innolux-p079zca: use mipi_dsi_dcs_nop_multi()

2024-05-09 Thread Dmitry Baryshkov
Remove conditional code and use mipi_dsi_dcs_nop_multi() wrapper to simplify driver code. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c

[PATCH RFC 6/7] drm/panel: lg-sw43408: add missing error handling

2024-05-09 Thread Dmitry Baryshkov
Add missing error handling for the mipi_dsi_ functions that actually return error code instead of silently ignoring it. Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver") Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 33

[PATCH RFC 7/7] drm/panel: lg-sw43408: use new streamlined MIPI DSI API

2024-05-09 Thread Dmitry Baryshkov
Use newer mipi_dsi_*_multi() functions in order to simplify and cleanup panel's prepare() and unprepare() functions. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 95 +--- 1 file changed, 37 insertions(+), 58 deletions(-) diff --git

[PATCH RFC 3/7] drm/panel: ilitek-ili9882t: use wrapped MIPI DCS functions

2024-05-09 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 30 +-- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git

[PATCH RFC 2/7] drm/panel: boe-tv101wum-nl6: use wrapped MIPI DCS functions

2024-05-09 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 73 -- 1 file changed, 21 insertions(+), 52 deletions(-) diff --git

[PATCH RFC 1/7] drm/mipi-dsi: wrap more functions for streamline handling

2024-05-09 Thread Dmitry Baryshkov
Follow the pattern of mipi_dsi_dcs_*_multi() and wrap several existing MIPI DSI functions to use the context for processing. This simplifies and streamlines driver code to use simpler code pattern. Note, msleep function is also wrapped in this way as it is frequently called inbetween other

[PATCH RFC 5/7] drm/panel: novatek-nt36672e: use wrapped MIPI DCS functions

2024-05-09 Thread Dmitry Baryshkov
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/exit code. This also includes passing context to the init_sequence() function instead of passing the DSI device. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-novatek-nt36672e.c |

[PATCH RFC 0/7] drm/mipi-dsi: simplify MIPI DSI init/cleanup even more

2024-05-09 Thread Dmitry Baryshkov
Follow the example of mipi_dsi_generic_write_multi(), mipi_dsi_dcs_write_buffer_multi(), mipi_dsi_generic_write_seq_multi() and mipi_dsi_dcs_write_seq_multi(). Define _multi variants for several other common MIPI DSI functions and use these functions in the panel code. This series also includes a

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

2024-05-09 Thread Jim Shargo
Sima--thanks SO MUCH for going through with everything leaving a detailed review. I am excited to go through your feedback. It makes me extremely happy to see these patches get people excited. They've bounced between a few people, and I recently asked to take them over again from the folks who

[PATCH v2 2/2] drm/panel/lg-sw43408: mark sw43408_backlight_ops as static

2024-05-09 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/ Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 2 +- 1 file

[PATCH v2 1/2] drm/panel/lg-sw43408: select CONFIG_DRM_DISPLAY_DP_HELPER

2024-05-09 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/ Signed-off-by:

[PATCH v2 0/2] drm/panel: two fixes for lg-sw43408

2024-05-09 Thread Dmitry Baryshkov
Fix two issues with the panel-lg-sw43408 driver reported by the kernel test robot. Signed-off-by: Dmitry Baryshkov --- Changes in v2: - use SELECT instead of DEPEND to follow the reverted Kconfig changes - Link to v1:

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

2024-05-09 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 v4] drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

2024-05-09 Thread Faith Ekstrand
On Thu, May 9, 2024 at 3:44 PM Mohamed Ahmed < mohamedahmedegypt2...@gmail.com> wrote: > Allows PTE kind and tile mode on BO create with VM_BIND, > and adds a GETPARAM to indicate this change. This is needed to support > modifiers in NVK and ensure correctness when dealing with the nouveau > GL

[PATCH v4] drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

2024-05-09 Thread Mohamed Ahmed
Allows PTE kind and tile mode on BO create with VM_BIND, and adds a GETPARAM to indicate this change. This is needed to support modifiers in NVK and ensure correctness when dealing with the nouveau GL driver. The userspace modifiers implementation this is for can be found here:

Re: [PATCH v2] drm/msm/dpu: fix encoder irq wait skip

2024-05-09 Thread Dmitry Baryshkov
st for these tags. They usually get picked up by the patch management software (including the Fixes tag). > --- > Changes in v2: > - Add Fixes in commit message. > - Link to v1: > https://lore.kernel.org/r/20240509-irq_wait-v1-1-41d653e37...@gmail.com > --- > drivers/gpu/drm/

Re: [PATCH v2] drm/msm/dpu: fix encoder irq wait skip

2024-05-09 Thread Abhinav Kumar
dices by 1") Signed-off-by: Barnabás Czémán --- Changes in v2: - Add Fixes in commit message. - Link to v1: https://lore.kernel.org/r/20240509-irq_wait-v1-1-41d653e37...@gmail.com --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) no

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

2024-05-09 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

[PATCH v2] drm/msm/dpu: fix encoder irq wait skip

2024-05-09 Thread Barnabás Czémán
bás Czémán --- Changes in v2: - Add Fixes in commit message. - Link to v1: https://lore.kernel.org/r/20240509-irq_wait-v1-1-41d653e37...@gmail.com --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c

Re: [PATCH] drm/msm/dpu: guard ctl irq callback register/unregister

2024-05-09 Thread Barnabás Czémán
There was some previously sent patch series made by Dmitry for these soc, msm8996 was sent together by sdm660 but in the last version it was dropped. I have recreated msm8996 DPU support from that series but it will need some more test. I am testing msm8953 series but it is depend on msm8996.

Re: [PATCH] drm/msm/dpu: fix encoder irq wait skip

2024-05-09 Thread Abhinav Kumar
WOULDBLOCK; } - if (irq_idx < 0) { + if (irq_idx == 0) { DRM_DEBUG_KMS("skip irq wait id=%u, callback=%ps\n", DRMID(phys_enc->parent), func); return 0; --- base-commit: 704ba27ac55579704ba1289392448b0c66b56258 ch

[PULL] drm-xe-fixes

2024-05-09 Thread Lucas De Marchi
Hi Dave and Sima, Please pull the drm-xe-fixes for this week targeting v6.9. thanks Lucas De Marchi drm-xe-fixes-2024-05-09: - Fix use zero-length element array - Move more from system wq to ordered private wq - Do not ignore return for drmm_mutex_init The following changes since commit

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

2024-05-09 Thread Mario Limonciello
On 5/9/2024 07:43, Linux regression tracking (Thorsten Leemhuis) wrote: On 18.04.24 21:43, Harry Wentland wrote: On 2024-03-07 01:29, Wayne Lin wrote: [Why] Commit: - commit 5aa1dfcdf0a4 ("drm/mst: Refactor the flow for payload allocation/removement") accidently overwrite the commit - commit

Re: [PATCH] drm/msm/dpu: guard ctl irq callback register/unregister

2024-05-09 Thread Abhinav Kumar
[INTR_IDX_CTL_START]); --- base-commit: 704ba27ac55579704ba1289392448b0c66b56258 change-id: 20240509-ctl_irq-a90b2d7a0bf5 Best regards,

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

2024-05-09 Thread Abhinav Kumar
On 5/9/2024 9:48 AM, Jonathan Corbet wrote: Dmitry Baryshkov writes: 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

[PATCH v2] drm/msm/adreno: De-spaghettify the use of memory barriers

2024-05-09 Thread Konrad Dybcio
g); } static inline void gpu_rmw(struct msm_gpu *gpu, u32 reg, u32 mask, u32 or) --- base-commit: ec2d9beb604a623a9f5308f7abcff3561e08c155 change-id: 20240509-topic-adreno-a8939b92f625 Best regards, -- Konrad Dybcio

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

2024-05-09 Thread Barnabás Czémán
= jdi_fhd_r63452_disable, .get_modes = jdi_fhd_r63452_get_modes, }; --- base-commit: 704ba27ac55579704ba1289392448b0c66b56258 change-id: 20240509-jdi-use-disable-ee29098d9c81 Best regards, -- Barnabás Czémán

[PATCH] drm/msm/dpu: guard ctl irq callback register/unregister

2024-05-09 Thread Barnabás Czémán
rq[INTR_IDX_CTL_START]); --- base-commit: 704ba27ac55579704ba1289392448b0c66b56258 change-id: 20240509-ctl_irq-a90b2d7a0bf5 Best regards, -- Barnabás Czémán

[PATCH] drm/msm/dpu: fix encoder irq wait skip

2024-05-09 Thread Barnabás Czémán
s_enc->parent), func); return 0; --- base-commit: 704ba27ac55579704ba1289392448b0c66b56258 change-id: 20240509-irq_wait-49444cea77e2 Best regards, -- Barnabás Czémán

Re: [PATCH] drm/radeon: Delay Connector detecting when HPD singals is unstable

2024-05-09 Thread Alex Deucher
On Thu, May 9, 2024 at 4:58 AM oushixiong wrote: > > From: Shixiong Ou > > In some causes, HPD signals will jitter when plugging in > or unplugging HDMI. > > Rescheduling the hotplug work for a second when EDID may still be > readable but HDP is disconnected, and fixes this issue. > >

[PATCH] staging:vme_user: Add blank line after struct decl

2024-05-09 Thread Ashok Kumar
Added blank line after struct declarions for improving readability indicated by checkpatch.pl Signed-off-by: Ashok Kumar --- drivers/staging/vme_user/vme_user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/vme_user/vme_user.c b/drivers/staging/vme_user/vme_user.c index

Re: [PATCH v5 1/7] dt-bindings: display: panel: Add himax hx83102 panel bindings

2024-05-09 Thread Conor Dooley
On Thu, May 09, 2024 at 09:52:01AM +0800, Cong Yang wrote: > In V1, discussed with Doug and Linus [1], we need break out as separate > driver for the himax83102-j02 controller. Beacuse "starry,himax83102-j02" > and in this series "BOE nv110wum-l60" "IVO t109nw41" panels use same > controller, they

Re: [PATCH] drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2

2024-05-09 Thread Alex Deucher
On Thu, May 9, 2024 at 8:02 AM Heiner Kallweit wrote: > > Support for I2C_CLASS_SPD is currently being removed from the kernel. > Only remaining step is to remove the definition of I2C_CLASS_SPD. > Setting I2C_CLASS_SPD in a driver is a no-op meanwhile, so remove it > here. > > Signed-off-by:

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

2024-05-09 Thread Jonathan Corbet
Dmitry Baryshkov writes: > 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 > --- >

Re: [PATCH v5 2/7] drm/panel: himax-hx83102: Break out as separate driver

2024-05-09 Thread Doug Anderson
Hi, On Wed, May 8, 2024 at 6:53 PM Cong Yang wrote: > > +static int hx83102_enable(struct drm_panel *panel) > +{ > + struct hx83102 *ctx = panel_to_hx83102(panel); > + struct mipi_dsi_device *dsi = ctx->dsi; > + struct device *dev = >dev; > + int ret; > + > + ret =

Re: [PATCH v5 7/7] drm/panel: himax-hx83102: Support for IVO t109nw41 MIPI-DSI panel

2024-05-09 Thread Doug Anderson
Hi, On Wed, May 8, 2024 at 6:53 PM Cong Yang wrote: > > +static int ivo_t109nw41_init(struct hx83102 *ctx) > +{ > + struct mipi_dsi_multi_context dsi_ctx = { .dsi = ctx->dsi }; > + > + msleep(60); > + > + hx83102_enable_extended_cmds(_ctx, true); > +

[PULL] drm-xe-next-fixes

2024-05-09 Thread Thomas Hellstrom
Hi, Dave & Sima This weeks -next-fixes. Two fixes breifly described below. Driver Changes: - Use ordered WQ for G2H handler. (Matthew Brost) - Use flexible-array rather than zero-sized (Lucas De Marchi) Thanks, Thomas The following changes since commit 3bc8848bb7f7478e6806e4522b06b63f40a53e1e:

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

2024-05-09 Thread Linus Torvalds
On Thu, 9 May 2024 at 04:39, Christian Brauner wrote: > > Not worth it without someone explaining in detail why imho. First pass > should be to try and replace kcmp() in scenarios where it's obviously > not needed or overkill. Ack. > I've added a CLASS(fd_raw) in a preliminary patch since we'll

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

2024-05-09 Thread Oded Gabbay
On Thu, May 09, 2024 at 03:53:01PM +0200, Tomeu Vizoso wrote: > Oded, Dave, > > Do you have an opinion on this? > > Thanks, > > Tomeu Hi Tomeu, Sorry for not replying earlier, I was down with Covid (again...). To your question, I don't have an objection to what you are suggesting. My personal

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

2024-05-09 Thread Doug Anderson
Hi, On Wed, May 8, 2024 at 11:43 PM Zhaoxiong Lv wrote: > > From: lvzhaoxiong > > ILI2900 requires reset to pull down time greater than 10ms, > so the configuration post_power_delay_ms is 10, and the chipset > initial time is required to be greater than 100ms, > so the

Re: [PATCH v2 0/2] Add starry bindings and driver

2024-05-09 Thread Doug Anderson
Hi, On Thu, May 9, 2024 at 1:35 AM Zhaoxiong Lv wrote: > > Add bindings and driver for starry. > --- > Modifications between V1 and V2: > Kconfig and Makefile configurations added for starry driver > > --- > > Zhaoxiong Lv (2): > dt-bindings: display: panel: Add Starry-er88577 support >

[PATCH v3 6/7] ARM: dts: rockchip: Add D-PHY for RK3128

2024-05-09 Thread Alex Bee
The InnoSilicon D-PHY found in RK3128 SoCs supports DSI/LVDS/TTL with a maximum transfer rate of 1 Gbps per lane. While adding it, also add it's clocks to RK3128_PD_VIO powerdomain as the phy is part of it. Signed-off-by: Alex Bee --- changes since v1: - also added SCLK_MIPI_24M to powerdomain

[PATCH v3 3/7] clk: rockchip: rk3128: Export PCLK_MIPIPHY

2024-05-09 Thread Alex Bee
Export the D-DHY's APB clock for usage in the DT. Also drop the CLK_IGNORE_UNUSED-flag, as the clock will be enabled on demand. Signed-off-by: Alex Bee --- changes since v1: - reword commit message drivers/clk/rockchip/clk-rk3128.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 7/7] ARM: dts: rockchip: Add DSI for RK3128

2024-05-09 Thread Alex Bee
Add the Designware MIPI DSI controller and it's port nodes. Signed-off-by: Alex Bee --- changes since v1: - added HCLK_VIO_H2P as ahb clock changes since v2: - dropped ahb clock again arch/arm/boot/dts/rockchip/rk3128.dtsi | 36 ++ 1 file changed, 36 insertions(+)

[PATCH v3 4/7] clk: rockchip: rk3128: Add hclk_vio_h2p to critical clocks

2024-05-09 Thread Alex Bee
The DSI controller needs this clock to be enabled in order to be able to access the registers. Make it critical for that purpose. Signed-off-by: Alex Bee --- changes since v1: - dropped patch changes since v2: -re-added patch drivers/clk/rockchip/clk-rk3128.c | 1 + 1 file changed, 1

[PATCH v3 5/7] drm/rockchip: dsi: Add support for RK3128

2024-05-09 Thread Alex Bee
The DesignWare MIPI DSI controller found RK3128 SoCs supports up to 4 DSI data lanes. Similar to PX30/RK356x/RV1126 it uses an external D-PHY. Signed-off-by: Alex Bee --- changes since v1: - none .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 20 +++ 1 file changed, 20

[PATCH v3 0/7] Add DSI support for RK3128

2024-05-09 Thread Alex Bee
This series aims to add support for the DesignWare MIPI DSI controller and the Innoslicon D-PHY found in RK3128 SoCs. The code additions are rather tiny: It only need some code in the Rockchip dw-mipi-dsi glue layer for this SoC and do some changes in the SoC's clock driver. Support for the phy

[PATCH v3 2/7] dt-bindings: clock: rk3128: Add PCLK_MIPIPHY

2024-05-09 Thread Alex Bee
The DPHY's APB clock is required to be exposed in order to be able to enable it and access the phy's registers. Signed-off-by: Alex Bee Acked-by: Conor Dooley --- changes since v1: - none include/dt-bindings/clock/rk3128-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 1/7] dt-bindings: display: rockchip, dw-mipi-dsi: Document RK3128 DSI

2024-05-09 Thread Alex Bee
Document the MIPI DSI controller for Rockchip RK3128. The integration is similar to PX30 so it's bindings-constraints can be re-used. Signed-off-by: Alex Bee Acked-by: Conor Dooley --- changes since v1: - added ahb clock changes since v2: - revert added ahb clock

[PATCH v3 0/7] Add DSI support for RK3128

2024-05-09 Thread Alex Bee
This series aims to add support for the DesignWare MIPI DSI controller and the Innoslicon D-PHY found in RK3128 SoCs. The code additions are rather tiny: It only need some code in the Rockchip dw-mipi-dsi glue layer for this SoC and do some changes in the SoC's clock driver. Support for the phy

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

2024-05-09 Thread Tomeu Vizoso
Oded, Dave, Do you have an opinion on this? Thanks, Tomeu On Fri, Apr 26, 2024 at 8:10 AM Tomeu Vizoso wrote: > > On Thu, Apr 25, 2024 at 8:59 PM Jeffrey Hugo wrote: > > > > On 4/24/2024 12:37 AM, Tomeu Vizoso wrote: > > > If we expose a render node for NPUs without rendering capabilities,

[PATCH] docs: document python version used for compilation

2024-05-09 Thread Dmitry Baryshkov
== === .. [#f1] Sphinx is needed only to build the Kernel documentation --- base-commit: 704ba27ac55579704ba1289392448b0c66b56258 change-id: 20240509-python-version-a8b6ca2125ff Best regards, -- Dmitry Baryshkov

Re: [PATCH v2 0/7] Add DSI support for RK3128

2024-05-09 Thread Alex Bee
Am 09.05.24 um 14:43 schrieb Alex Bee: Hi Heiko Am 09.05.24 um 14:21 schrieb Heiko Stübner: Hi Alex, Am Donnerstag, 9. Mai 2024, 14:07:08 CEST schrieb Alex Bee: This series aims to add support for the DesignWare MIPI DSI controller and the Innoslicon D-PHY found in RK3128 SoCs. The code

Re: [PATCH] drm/msm: remove python 3.9 dependency for compiling msm

2024-05-09 Thread Dmitry Baryshkov
On Wed, 8 May 2024 at 02:05, Abhinav Kumar wrote: > > Since commit 5acf49119630 ("drm/msm: import gen_header.py script from Mesa"), > compilation is broken on machines having python versions older than 3.9 > due to dependency on argparse.BooleanOptionalAction. > > Switch to use simple bool for

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

2024-05-09 Thread 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 real driver loads, the simpledrm device that the

Re: [PATCH v2 0/7] Add DSI support for RK3128

2024-05-09 Thread Alex Bee
Hi Heiko Am 09.05.24 um 14:21 schrieb Heiko Stübner: Hi Alex, Am Donnerstag, 9. Mai 2024, 14:07:08 CEST schrieb Alex Bee: This series aims to add support for the DesignWare MIPI DSI controller and the Innoslicon D-PHY found in RK3128 SoCs. The code additions are rather tiny: It only need some

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

2024-05-09 Thread Linux regression tracking (Thorsten Leemhuis)
On 18.04.24 21:43, Harry Wentland wrote: > On 2024-03-07 01:29, Wayne Lin wrote: >> [Why] >> Commit: >> - commit 5aa1dfcdf0a4 ("drm/mst: Refactor the flow for payload >> allocation/removement") >> accidently overwrite the commit >> - commit 54d217406afe ("drm: use mgr->dev in drm_dbg_kms in >>

Re: [PATCH] drm/i915/gt: Disarm breadcrumbs if engines are already idle

2024-05-09 Thread Andrzej Hajda
On 23.04.2024 18:23, Janusz Krzysztofik wrote: From: Chris Wilson The breadcrumbs use a GT wakeref for guarding the interrupt, but are disarmed during release of the engine wakeref. This leaves a hole where we may attach a breadcrumb just as the engine is parking (after it has parked its

Re: [RFC 0/5] Discussion around eviction improvements

2024-05-09 Thread Tvrtko Ursulin
On 08/05/2024 19:09, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Last few days I was looking at the situation with VRAM over subscription, what happens versus what perhaps should happen. Browsing through the driver and running some simple experiments. I ended up with this patch series which,

Re: [PATCH v2 0/7] Add DSI support for RK3128

2024-05-09 Thread Heiko Stübner
Hi Alex, Am Donnerstag, 9. Mai 2024, 14:07:08 CEST schrieb Alex Bee: > This series aims to add support for the DesignWare MIPI DSI controller and > the Innoslicon D-PHY found in RK3128 SoCs. The code additions are rather > tiny: It only need some code in the Rockchip dw-mipi-dsi glue layer for >

Re: [PATCH] drm: deprecate driver date

2024-05-09 Thread Steven Price
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, formatted as MMDD, is meant to identify the date >

[PATCH v2 3/7] clk: rockchip: rk3128: Export PCLK_MIPIPHY

2024-05-09 Thread Alex Bee
Export the D-DHY's APB clock for usage in the DT. Also drop the CLK_IGNORE_UNUSED-flag, as the clock will be enabled on demand. Signed-off-by: Alex Bee --- changes since v1: - reword commit message drivers/clk/rockchip/clk-rk3128.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 7/7] ARM: dts: rockchip: Add DSI for RK3128

2024-05-09 Thread Alex Bee
Add the Designware MIPI DSI controller and it's port nodes. Signed-off-by: Alex Bee --- changes since v1: - added HCLK_VIO_H2P as ahb clock arch/arm/boot/dts/rockchip/rk3128.dtsi | 36 ++ 1 file changed, 36 insertions(+) diff --git

[PATCH v2 6/7] ARM: dts: rockchip: Add D-PHY for RK3128

2024-05-09 Thread Alex Bee
The InnoSilicon D-PHY found in RK3128 SoCs supports DSI/LVDS/TTL with a maximum transfer rate of 1 Gbps per lane. While adding it, also add it's clocks to RK3128_PD_VIO powerdomain as the phy is part of it. Signed-off-by: Alex Bee --- changes since v1: - also added SCLK_MIPI_24M to powerdomain

[PATCH v2 5/7] drm/rockchip: dsi: Add support for RK3128

2024-05-09 Thread Alex Bee
The DesignWare MIPI DSI controller found RK3128 SoCs supports up to 4 DSI data lanes. Similar to PX30/RK356x/RV1126 it uses an external D-PHY. Signed-off-by: Alex Bee --- changes since v1: - none .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 20 +++ 1 file changed, 20

[PATCH v2 4/7] drm/rockchip: dsi: Support optional AHB clock

2024-05-09 Thread Alex Bee
Some integrations of the IP additionally have an AHB clock which has to be enabled before accessing the registers is possible. Add support for it as an optional clock. Signed-off-by: Alex Bee --- changes since v1: - new patch .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 25

[PATCH v2 2/7] dt-bindings: clock: rk3128: Add PCLK_MIPIPHY

2024-05-09 Thread Alex Bee
The DPHY's APB clock is required to be exposed in order to be able to enable it and access the phy's registers. Signed-off-by: Alex Bee Acked-by: Conor Dooley --- changes since v1: - none include/dt-bindings/clock/rk3128-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 1/7] dt-bindings: display: rockchip, dw-mipi-dsi: Document RK3128 DSI

2024-05-09 Thread Alex Bee
Document the MIPI DSI controller for Rockchip RK3128. The integration is very similar to PX30, but it has an additional AHB clock. Signed-off-by: Alex Bee --- changes since v1: - added ahb clock .../rockchip/rockchip,dw-mipi-dsi.yaml| 25 ++- 1 file changed, 24

[PATCH v2 0/7] Add DSI support for RK3128

2024-05-09 Thread Alex Bee
This series aims to add support for the DesignWare MIPI DSI controller and the Innoslicon D-PHY found in RK3128 SoCs. The code additions are rather tiny: It only need some code in the Rockchip dw-mipi-dsi glue layer for this SoC, add support for an additional clock and do some changes in the SoC's

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

2024-05-09 Thread Christian Brauner
On Wed, May 08, 2024 at 10:14:44AM -0700, Linus Torvalds wrote: > On Wed, 8 May 2024 at 09:19, Linus Torvalds > wrote: > > > > So since we already have two versions of F_DUPFD (the other being > > F_DUPFD_CLOEXEC) I decided that the best thing to do is to just extend > > on that existing naming

[PATCH] drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2

2024-05-09 Thread Heiner Kallweit
Support for I2C_CLASS_SPD is currently being removed from the kernel. Only remaining step is to remove the definition of I2C_CLASS_SPD. Setting I2C_CLASS_SPD in a driver is a no-op meanwhile, so remove it here. Signed-off-by: Heiner Kallweit ---

Re: [PATCH 0/2] drm/fourcc.h: Add libcamera to Open Source Waiver

2024-05-09 Thread Daniel Stone
On Thu, 14 Mar 2024 at 10:12, Jacopo Mondi wrote: > gentle nudge for > > *) libcamera: are we ok being listed here ? > *) DRM/KMS: is it ok splitting the list of projects in the way I've >done ? My bikeshed would be to change the list to 1) OpenGL / OpenGL ES / EGL and its extensions, 2)

Re: [PATCH 2/2] drm/fourcc.h: Add libcamera to Open Source Waiver

2024-05-09 Thread Daniel Vetter
On Wed, Feb 28, 2024 at 11:22:44AM +0100, Jacopo Mondi wrote: > The libcamera (www.libcamera.org) project uses the drm/fourcc.h header > to define its own image formats. Albeit libcamera aims for fully open > source driver and userspace software stacks, it is licensed with the > 'GNU L-GPL'

[PATCH 3/3] dt-bindings: display: panel: constrain 'reg' in DSI panels

2024-05-09 Thread Krzysztof Kozlowski
DSI-attached devices could respond to more than one virtual channel number, thus their bindings are supposed to constrain the 'reg' property to match hardware. Add missing 'reg' constrain for DSI-attached display panels, based on DTS sources in Linux kernel (assume all devices take only one

[PATCH 2/3] dt-bindings: display: panel: constrain 'reg' in SPI panels

2024-05-09 Thread Krzysztof Kozlowski
SPI-attached devices could have more than one chip-select, thus their bindings are supposed to constrain the 'reg' property to match hardware. Add missing 'reg' constrain for SPI-attached display panels. Signed-off-by: Krzysztof Kozlowski ---

[PATCH 1/3] dt-bindings: display: samsung,ams495qa01: add missing SPI properties ref

2024-05-09 Thread Krzysztof Kozlowski
Samsung AMS495QA01 panel is a SPI device, so it should reference spi-peripheral-props.yaml schema to allow and validate the SPI device properties. Fixes: 92be07c65b22 ("dt-bindings: display: panel: Add Samsung AMS495QA01") Signed-off-by: Krzysztof Kozlowski ---

[PATCH 0/3] dt-bindings: display: panel: constrain 'reg'

2024-05-09 Thread Krzysztof Kozlowski
: b010817abf0197596fbfddf1957bac968facb991 change-id: 20240509-dt-bindings-dsi-panel-reg-a6e7d930b46f Best regards, -- Krzysztof Kozlowski

Re: [PATCH v2 6/6] drm/xe/client: Print runtime to fdinfo

2024-05-09 Thread Tvrtko Ursulin
On 08/05/2024 21:53, Lucas De Marchi wrote: On Wed, May 08, 2024 at 09:23:17AM GMT, Tvrtko Ursulin wrote: On 07/05/2024 22:35, Lucas De Marchi wrote: On Fri, Apr 26, 2024 at 11:47:37AM GMT, Tvrtko Ursulin wrote: On 24/04/2024 00:56, Lucas De Marchi wrote: Print the accumulated runtime

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

2024-05-09 Thread AngeloGioacchino Del Regno
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:07 +0200, AngeloGioacchino Del Regno wrote: Il 07/05/24 08:59, CK Hu (胡俊光) ha scritto: On Thu, 2024-05-02 at

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

2024-05-09 Thread Daniel Stone
Hi, On Wed, 8 May 2024 at 16:49, Daniel Vetter wrote: > On Wed, May 08, 2024 at 09:38:33AM +0100, Daniel Stone wrote: > > Right now, if your platform requires CMA for display, then the app > > needs access to the GPU render node and the display node too, in order > > to allocate buffers which

Re: [RFC 1/5] drm/amdgpu: Fix migration rate limiting accounting

2024-05-09 Thread Tvrtko Ursulin
On 08/05/2024 20:08, Friedrich Vock wrote: On 08.05.24 20:09, Tvrtko Ursulin wrote: From: Tvrtko Ursulin The logic assumed any migration attempt worked and therefore would over- account the amount of data migrated during buffer re-validation. As a consequence client can be unfairly

Re: [PATCH v1 1/2] dt-bindings: display: panel: Add Starry-er88577 support

2024-05-09 Thread Krzysztof Kozlowski
On 09/05/2024 10:40, Krzysztof Kozlowski wrote: > >> + >> +maintainers: >> + - Zhaoxiong Lv >> + >> +allOf: >> + - $ref: panel-common.yaml# >> + >> +properties: >> + compatible: >> +const: starry,er88577 >> + >> + pp3300-supply: true >> + reg: true > > Hm, I wonder why we do not have

[PATCH] drm/hisilicon: Fix a NULL pointer access when call hibmc_unload

2024-05-09 Thread oushixiong
From: Shixiong Ou If Calling hibmc_mm_init() failed in hibmc_load(), the hibmc_unload() will access a NULL pointer, as it don't call ww_mutex_init() to initialize mode_config.connection_mutex but try to lock it when calling drm_atomic_helper_shutdown(). [ 50.939211][ 0] Unable to handle

[PATCH] drm/radeon: Delay Connector detecting when HPD singals is unstable

2024-05-09 Thread oushixiong
From: Shixiong Ou In some causes, HPD signals will jitter when plugging in or unplugging HDMI. Rescheduling the hotplug work for a second when EDID may still be readable but HDP is disconnected, and fixes this issue. Signed-off-by: Shixiong Ou --- drivers/gpu/drm/radeon/radeon_connectors.c |

Re: [PATCH v2 1/2] dt-bindings: display: panel: Add Starry-er88577 support

2024-05-09 Thread Krzysztof Kozlowski
On 09/05/2024 10:34, Zhaoxiong Lv wrote: > Create a new dt-scheam for the Starry-er88577. > > Signed-off-by: Zhaoxiong Lv > --- > Chage since V2: > > - Unmodified > > V1: > https://lore.kernel.org/all/20240509064959.23550-2-lvzhaoxi...@huaqin.corp-partner.google.com/ You just sent v1 2

Re: [PATCH v1 1/2] dt-bindings: display: panel: Add Starry-er88577 support

2024-05-09 Thread Krzysztof Kozlowski
On 09/05/2024 08:49, Zhaoxiong Lv wrote: > Create a new dt-scheam for the Starry-er88577. typo, but anyway, this is not a "dt-schema". Describe hardware instead in one sentence. > > Signed-off-by: Zhaoxiong Lv > --- > .../display/panel/starry,er88577.yaml | 59 +++ >

[PATCH v2 2/2] drm/panel: starry: add new panel driver

2024-05-09 Thread Zhaoxiong Lv
The starry panel is based on ER88577 controller. Add a driver for it. Signed-off-by: Zhaoxiong Lv --- Chage since V2: - add the Makefile and Kconfig files V1: https://lore.kernel.org/all/20240509064959.23550-3-lvzhaoxi...@huaqin.corp-partner.google.com/ --- drivers/gpu/drm/panel/Kconfig

[PATCH v2 1/2] dt-bindings: display: panel: Add Starry-er88577 support

2024-05-09 Thread Zhaoxiong Lv
Create a new dt-scheam for the Starry-er88577. Signed-off-by: Zhaoxiong Lv --- Chage since V2: - Unmodified V1: https://lore.kernel.org/all/20240509064959.23550-2-lvzhaoxi...@huaqin.corp-partner.google.com/ --- .../display/panel/starry,er88577.yaml | 59 +++ 1 file

[PATCH v2 0/2] Add starry bindings and driver

2024-05-09 Thread Zhaoxiong Lv
Add bindings and driver for starry. --- Modifications between V1 and V2: Kconfig and Makefile configurations added for starry driver --- Zhaoxiong Lv (2): dt-bindings: display: panel: Add Starry-er88577 support drm/panel: starry: add new panel driver .../display/panel/starry,er88577.yaml

Re: [PATCH v1 1/2] dt-bindings: input: i2c-hid: Introduce Ilitek ili2900

2024-05-09 Thread Krzysztof Kozlowski
On 09/05/2024 08:43, Zhaoxiong Lv wrote: > From: lvzhaoxiong > > The ili2900 touch screen chip same as ilitek ili9882t controller > has a reset gpio. > > Signed-off-by: lvzhaoxiong You just sent the same, ignoring entire feedback. That's a shortcut to get ignored on your contributions... :(

Re: [PATCH v1 1/2] dt-bindings: input: i2c-hid: Introduce Ilitek ili2900

2024-05-09 Thread Rob Herring (Arm)
On Thu, 09 May 2024 14:43:35 +0800, Zhaoxiong Lv wrote: > From: lvzhaoxiong > > The ili2900 touch screen chip same as ilitek ili9882t controller > has a reset gpio. > > Signed-off-by: lvzhaoxiong > --- > Documentation/devicetree/bindings/input/ilitek,ili9882t.yaml | 1 + > 1 file changed, 1

  1   2   >