Re: [PATCH 4/6] drm: Change drm_class from pointer to const struct class

2024-11-03 Thread Greg Kroah-Hartman
On Sat, Nov 02, 2024 at 10:33:24PM +0100, Heiner Kallweit wrote: > On 22.09.2024 17:11, Dmitry Baryshkov wrote: > > On Sun, Sep 08, 2024 at 02:11:25PM GMT, Heiner Kallweit wrote: > >> Define class drm statically and constify it. This ensure that no user > >> of the exported struct class can tamper

Re: [PATCH v1 06/10] media: platform: mediatek: add isp_7x utility

2024-11-03 Thread 胡俊光

[PATCH v16] drm/etnaviv: Fix page property being used for non writecombine buffers

2024-11-03 Thread Sui Jingfeng
In the etnaviv_gem_vmap_impl() function, the driver vmap whatever buffers with write combine(WC) page property, this is incorrect. Cached buffers should be mapped with the cached page property and uncached buffers should be mapped with the uncached page property. Fixes: a0a5ab3e99b8 ("drm/etnaviv:

[PATCH] drm/i915/pxp: fix non-optimised !CONFIG_DRM_I915_PXP build

2024-11-03 Thread Jonathan Gray
intel_pxp_gsccs_is_ready_for_sessions() is gated by CONFIG_DRM_I915_PXP but called from intel_pxp.c which isn't. Provide a fallback inline function to fix the non-optimised build. Fixes: 99afb7cc8c44 ("drm/i915/pxp: Add ARB session creation and cleanup") Signed-off-by: Jonathan Gray --- drivers

[GIT PULL] exynos-drm-next

2024-11-03 Thread Inki Dae
Hi Dave and Daniel, Add Decon support for Exynos7870 SoC, several fixups and cleanup. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit bcfe43f0ea77c42c2154fb79b99b7d1d82ac3231: drm/imx/dcss: include drm/drm_bridge.h header (2024-11-01

Re: [PATCH v1 04/10] media: platform: mediatek: add isp_7x cam-raw unit

2024-11-03 Thread 胡俊光

[PATCH 5/5] drm/amd/display: Remove unused dcn_find_dcfclk_suits_all

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" dcn_find_dcfclk_suits_all() last use was removed by 2018's commit 4fd994c448a3 ("drm/amd/display: Start using the new pp_smu interface") Remove it, and the dcn_find_normalized_clock_vdd_Level helper it used. Signed-off-by: Dr. David Alan Gilbert --- .../drm/amd/

[PATCH 4/5] drm/amd/display: Remove unused mmhubbub_warmup field

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" mmhubbub_warmup is a field that was only read by the just removed dc_stream_warmup_writeback() function. Remove the field and it's initialisers. It was only ever initialised to a single function value (dcn30_mmhubbub_warmup) which is called explicitly elsewhere.

[PATCH 2/5] drm/amd/display: Remove unused dwb3_set_host_read_rate_control

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" dwb3_set_host_read_rate_control() has been unused since it was added by commit 8993dee0de2a ("drm/amd/display: Add DCN3 DWB") Remove it. Signed-off-by: Dr. David Alan Gilbert --- .../gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.c| 13 - .../gpu/drm

[PATCH 3/5] drm/amd/display: Remove unused dc_stream_warmup_writeback

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" dc_stream_warmup_writeback() is unused since it was added in 2019 by commit 6a652f6d127d ("drm/amd/display: Add warmup escape call support") Remove it. Note there is a dcn30 version that's called directly which is kept. Signed-off-by: Dr. David Alan Gilbert ---

[PATCH 1/5] drm/amd/display: Remove unused enable_surface_flip_reporting

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" enable_surface_flip_reporting() has been unused since it was added by commit 4562236b3bc0 ("drm/amd/dc: Add dc display driver (v2)") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 7 --- drivers/gpu/dr

[PATCH 0/5] Some more drm/amd/display deadcoding

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" Hi, This removes a bunch more functions (and a field) from drm/amd/display that are unused. Signed-off-by: Dr. David Alan Gilbert Dave Dr. David Alan Gilbert (5): drm/amd/display: Remove unused enable_surface_flip_reporting drm/amd/display: Remove unused d

Re: [PATCH v1 07/10] media: platform: mediatek: add isp_7x video ops

2024-11-03 Thread 胡俊光

[PATCH v5 00/13] Add ITE IT6263 LVDS to HDMI converter support

2024-11-03 Thread Liu Ying
Hi, This patch series aims to add ITE IT6263 LVDS to HDMI converter on i.MX8MP EVK. Combined with LVDS receiver and HDMI 1.4a transmitter, the IT6263 supports LVDS input and HDMI 1.4 output by conversion function. IT6263 product link can be found at [1]. Patch 1 is a preparation patch to allow

[PATCH v5 05/13] drm: of: Get MEDIA_BUS_FMT_RGB101010_1X7X5_{JEIDA, SPWG} LVDS data mappings

2024-11-03 Thread Liu Ying
Add MEDIA_BUS_FMT_RGB101010_1X7X5_{JEIDA,SPWG} support in drm_of_lvds_get_data_mapping() function implementation so that function callers may get the two LVDS data mappings. Signed-off-by: Liu Ying Reviewed-by: Dmitry Baryshkov --- v5: * No change. v4: * Collect Dmitry's R-b tag. v3: * New pat

[PATCH v5 06/13] drm: of: Add drm_of_lvds_get_dual_link_pixel_order_sink()

2024-11-03 Thread Liu Ying
drm_of_lvds_get_dual_link_pixel_order() gets LVDS dual-link source pixel order. Similar to it, add it's counterpart function drm_of_lvds_get_dual_link_pixel_order_sink() to get LVDS dual-link sink pixel order. Suggested-by: Dmitry Baryshkov Signed-off-by: Liu Ying Reviewed-by: Dmitry Baryshkov

[PATCH v5 04/13] media: uapi: Add MEDIA_BUS_FMT_RGB101010_1X7X5_{SPWG, JEIDA}

2024-11-03 Thread Liu Ying
Add two media bus formats that identify 30-bit RGB pixels transmitted by a LVDS link with five differential data pairs, serialized into 7 time slots, using standard SPWG/VESA or JEIDA data mapping. Signed-off-by: Liu Ying --- v5: * No change. v4: * No change. v3: * New patch. .../media/v4l/su

[PATCH v5 02/13] drm/bridge: fsl-ldb: Get the next non-panel bridge

2024-11-03 Thread Liu Ying
The next bridge in bridge chain could be a panel bridge or a non-panel bridge. Use devm_drm_of_get_bridge() to replace the combination function calls of of_drm_find_panel() and devm_drm_panel_bridge_add() to get either a panel bridge or a non-panel bridge, instead of getting a panel bridge only.

[PATCH v5 01/13] arm64: dts: imx8mp-skov-revb-mi1010ait-1cp1: Set "media_disp2_pix" clock rate to 70MHz

2024-11-03 Thread Liu Ying
The LVDS panel "multi-inno,mi1010ait-1cp" used on this platform has a typical pixel clock rate of 70MHz. Set "media_disp2_pix" clock rate to that rate, instead of the original 68.9MHz. The LVDS serial clock is controlled by "media_ldb" clock. It should run at 490MHz(7-fold the pixel clock rate d

[PATCH v5 03/13] drm/bridge: fsl-ldb: Use clk_round_rate() to validate "ldb" clock rate

2024-11-03 Thread Liu Ying
Multiple display modes could be read from a display device's EDID. Use clk_round_rate() to validate the "ldb" clock rate for each mode in drm_bridge_funcs::mode_valid() to filter unsupported modes out. Also, since this driver doesn't directly reference pixel clock, use clk_round_rate() to validate

[PATCH v5 10/13] drm/bridge: Add ITE IT6263 LVDS to HDMI converter

2024-11-03 Thread Liu Ying
Add basic HDMI video output support. Currently, only RGB888 output pixel format is supported. At the LVDS input side, the driver supports single LVDS link and dual LVDS links with "jeida-24" LVDS mapping. Product link: https://www.ite.com.tw/en/product/cate1/IT6263 Signed-off-by: Liu Ying Revie

[PATCH v5 09/13] dt-bindings: display: bridge: Add ITE IT6263 LVDS to HDMI converter

2024-11-03 Thread Liu Ying
Document ITE IT6263 LVDS to HDMI converter. Product link: https://www.ite.com.tw/en/product/cate1/IT6263 Signed-off-by: Liu Ying Reviewed-by: Biju Das Reviewed-by: Rob Herring (Arm) --- v5: * Collect Biju's and Rob's R-b tags. v4: * Require dual-lvds-odd-pixels or dual-lvds-even-pixels DT pro

[PATCH v5 08/13] dt-bindings: display: Document dual-link LVDS display common properties

2024-11-03 Thread Liu Ying
Dual-link LVDS displays receive odd pixels and even pixels separately from dual LVDS links. One link receives odd pixels and the other receives even pixels. Some of those displays may also use only one LVDS link to receive all pixels, being odd and even agnostic. Document common properties for t

[PATCH v5 07/13] dt-bindings: display: lvds-data-mapping: Add 30-bit RGB pixel data mappings

2024-11-03 Thread Liu Ying
Add "jeida-30" and "vesa-30" data mappings that are compatible with JEIDA and VESA respectively. Signed-off-by: Liu Ying Acked-by: Krzysztof Kozlowski --- v5: * No change. v4: * Collect Krzysztof's A-b tag. v3: * New patch. .../bindings/display/lvds-data-mapping.yaml | 31 +

[PATCH v5 12/13] arm64: defconfig: Enable ITE IT6263 driver

2024-11-03 Thread Liu Ying
ITE IT6263 LVDS to HDMI converter is populated on NXP IMX-LVDS-HDMI and IMX-DLVDS-HDMI adapter cards. The adapter cards can connect to i.MX8MP EVK base board to support video output through HDMI connectors. Build the ITE IT6263 driver as a module. Signed-off-by: Liu Ying --- v5: * No change. v4

[PATCH v5 13/13] MAINTAINERS: Add maintainer for ITE IT6263 driver

2024-11-03 Thread Liu Ying
Add myself as the maintainer of ITE IT6263 LVDS TO HDMI BRIDGE DRIVER. Signed-off-by: Liu Ying Acked-by: Dmitry Baryshkov --- v5: * Add Dmitry's A-b tag. v4: * No change. v3: * No change. v2: * New patch. (Maxime) MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAIN

Re: [PATCH V3 drm-dp 2/4] drm/hisilicon/hibmc: add dp link moduel in hibmc

2024-11-03 Thread kernel test robot
next patch link: https://lore.kernel.org/r/20241101105028.2177274-3-shiyongbang%40huawei.com patch subject: [PATCH V3 drm-dp 2/4] drm/hisilicon/hibmc: add dp link moduel in hibmc config: csky-randconfig-r121-20241103 (https://download.01.org/0day-ci/archive/20241104/202411041559.wifxrn6n-...

[PATCH v2 06/10] sysfs: treewide: constify attribute callback of bin_attribute::mmap()

2024-11-03 Thread Thomas Weißschuh
The mmap() callbacks should not modify the struct bin_attribute passed as argument. Enforce this by marking the argument as const. As there are not many callback implementers perform this change throughout the tree at once. Signed-off-by: Thomas Weißschuh --- arch/alpha/kernel/pci-sysfs.c

[PATCH v2 04/10] nvmem: core: calculate bin_attribute size through bin_size()

2024-11-03 Thread Thomas Weißschuh
Stop abusing the is_bin_visible() callback to calculate the attribute size. Instead use the new, dedicated bin_size() one. Signed-off-by: Thomas Weißschuh --- drivers/nvmem/core.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/nvmem/core.c b/drivers/nv

[PATCH v2 08/10] sysfs: implement all BIN_ATTR_* macros in terms of __BIN_ATTR()

2024-11-03 Thread Thomas Weißschuh
The preparations for the upcoming constification of struct bin_attribute requires some logic in the structure definition macros. To avoid duplication of that logic in multiple macros, reimplement all other macros in terms of __BIN_ATTR(). Signed-off-by: Thomas Weißschuh --- include/linux/sysfs.h

[PATCH v2 00/10] sysfs: constify struct bin_attribute (Part 1)

2024-11-03 Thread Thomas Weißschuh
struct bin_attribute contains a bunch of pointer members, which when overwritten by accident or malice can lead to system instability and security problems. Moving the definitions of struct bin_attribute to read-only memory makes these modifications impossible. The same change has been performed fo

[PATCH v2 07/10] sysfs: treewide: constify attribute callback of bin_attribute::llseek()

2024-11-03 Thread Thomas Weißschuh
The llseek() callbacks should not modify the struct bin_attribute passed as argument. Enforce this by marking the argument as const. As there are not many callback implementers perform this change throughout the tree at once. Signed-off-by: Thomas Weißschuh --- drivers/pci/pci-sysfs.c | 2 +- i

[PATCH v2 01/10] sysfs: explicitly pass size to sysfs_add_bin_file_mode_ns()

2024-11-03 Thread Thomas Weißschuh
Upcoming changes to the sysfs core require the size of the created file to be overridable by the caller. Add a parameter to enable this. For now keep using attr->size in all cases. Signed-off-by: Thomas Weißschuh --- fs/sysfs/file.c | 8 fs/sysfs/group.c | 3 ++- fs/sysfs/sysfs.h | 2 +

[PATCH v2 05/10] sysfs: treewide: constify attribute callback of bin_is_visible()

2024-11-03 Thread Thomas Weißschuh
The is_bin_visible() callbacks should not modify the struct bin_attribute passed as argument. Enforce this by marking the argument as const. As there are not many callback implementers perform this change throughout the tree at once. Signed-off-by: Thomas Weißschuh --- drivers/cxl/port.c

[PATCH v2 02/10] sysfs: introduce callback attribute_group::bin_size

2024-11-03 Thread Thomas Weißschuh
Several drivers need to dynamically calculate the size of an binary attribute. Currently this is done by assigning attr->size from the is_bin_visible() callback. This has drawbacks: * It is not documented. * A single attribute can be instantiated multiple times, overwriting the shared size field

[PATCH v2 03/10] PCI/sysfs: Calculate bin_attribute size through bin_size()

2024-11-03 Thread Thomas Weißschuh
Stop abusing the is_bin_visible() callback to calculate the attribute size. Instead use the new, dedicated bin_size() one. Signed-off-by: Thomas Weißschuh --- drivers/pci/pci-sysfs.c | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/pci/pc

[PATCH v2 09/10] sysfs: bin_attribute: add const read/write callback variants

2024-11-03 Thread Thomas Weißschuh
To make it possible to put struct bin_attribute into read-only memory, the sysfs core has to stop passing mutable pointers to the read() and write() callbacks. As there are numerous implementors of these callbacks throughout the tree it's not possible to change all of them at once. To enable a step

[PATCH v2 10/10] driver core: Constify attribute arguments of binary attributes

2024-11-03 Thread Thomas Weißschuh
As preparation for the constification of struct bin_attribute, constify the arguments of the read and write callbacks. Signed-off-by: Thomas Weißschuh --- drivers/base/node.c | 4 ++-- drivers/base/topology.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/ba

Re: [PATCH v2] drm/v3d: Add DRM_IOCTL_V3D_PERFMON_SET_GLOBAL

2024-11-03 Thread Maíra Canal
Hi Christian, Thanks for your patch! Just some small nits. On 31/10/24 17:51, Christian Gmeiner wrote: From: Christian Gmeiner Add a new ioctl, DRM_IOCTL_V3D_PERFMON_SET_GLOBAL, to allow configuration of a global performance monitor (perfmon). Use the global perfmon for all jobs to ensure con

Re: [PATCH v1 05/10] media: platform: mediatek: add isp_7x camsys unit

2024-11-03 Thread 胡俊光

Re: [PATCH V6 07/10] accel/amdxdna: Add command execution

2024-11-03 Thread Matthew Brost
On Wed, Oct 30, 2024 at 08:51:44AM -0700, Lizhi Hou wrote: > Add interfaces for user application to submit command and wait for its > completion. > > Co-developed-by: Min Ma > Signed-off-by: Min Ma > Signed-off-by: Lizhi Hou > --- > drivers/accel/amdxdna/aie2_ctx.c | 664 +

[PATCH v7 00/10] drm/bridge: it6505: fix HDCP CTS fail items and add MCCS support

2024-11-03 Thread Hermes Wu via B4 Relay
There are lots of failure items while running HDCP CTS using UNIGRAF DPR-100. In Order to fix those failures, HDCP flow needs to be changed. The DisplayPort AUX protocol supports I2C transport. In Order to support MCCS via the aux channel, the aux-i2c operation is added. v6->v7 -[3/10] ad

[PATCH v7 03/10] drm/bridge: it6505: add AUX operation for HDCP KSV list read

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu HDCP KSV list readback can choose to use AUX FIFO or general data register. For some DisplayPort devices, the KSV list must be read in 5 byte boundaries. The original AUX read command does not support these devices. The AUX command operation control register "REG_AUX_CMD_REQ" use

[PATCH v7 02/10] drm/bridge: it6505: improve AUX operation for edid read

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu The original AUX operation using data registers is limited to 4 bytes. The AUX operation command CMD_AUX_I2C_EDID_READ uses AUX FIFO and is capable of reading 16 bytes. This improves the speed of EDID read. Reviewed-by: Dmitry Baryshkov Signed-off-by: Hermes Wu --- drivers/gpu

[PATCH v7 04/10] drm/bridge: it6505: Change definition MAX_HDCP_DOWN_STREAM_COUNT

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu A HDCP source device shall support max downstream to 127 devices. Change definition MAX_HDCP_DOWN_STREAM_COUNT to 127 KSVs shall save for DRM blocked devices check. This results in struct it6505 growth by ~0.5 KiB. Reviewed-by: Dmitry Baryshkov Signed-off-by: Hermes Wu --- dr

[PATCH v7 08/10] drm/bridge: it6505: fix HDCP CTS compare V matching

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu When HDCP negotiation with a repeater device. Checking SHA V' matching must retry 3 times before restarting HDCP. Signed-off-by: Hermes Wu --- drivers/gpu/drm/bridge/ite-it6505.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --gi

[PATCH v7 01/10] drm/bridge: it6505: Change definition of AUX_FIFO_MAX_SIZE

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu The hardware AUX FIFO is 16 bytes Change definition of AUX_FIFO_MAX_SIZE to 16 Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver") Reviewed-by: Dmitry Baryshkov Signed-off-by: Hermes Wu --- drivers/gpu/drm/bridge/ite-it6505.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH v7 09/10] drm/bridge: it6505: fix HDCP CTS KSV list wait timer

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu HDCP must disabled encryption and restart authentication after waiting KSV for 5s. The original method uses a counter in a waitting loop that may wait much longer than it is supposed to. Use time_after() for KSV wait timeout. Signed-off-by: Hermes Wu --- drivers/gpu/drm/bridge/

[PATCH v7 06/10] drm/bridge: it6505: fix HDCP encryption when R0 ready

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu When starting HDCP authentication, HDCP encryption should be enabled when R0'is checked. Change encryption enables time at R0' ready. The hardware HDCP engine trigger is changed and the repeater KSV fails will restart HDCP. Signed-off-by: Hermes Wu --- drivers/gpu/drm/bridge/i

[PATCH v7 05/10] drm/bridge: it6505: fix HDCP Bstatus check

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu When HDCP is activated, a DisplayPort source receiving CP_IRQ from the sink shall check Bstatus from DPCD and process the corresponding value Reviewed-by: Dmitry Baryshkov Signed-off-by: Hermes Wu --- drivers/gpu/drm/bridge/ite-it6505.c | 12 +--- 1 file changed, 9 ins

[PATCH v5 11/13] arm64: dts: imx8mp-evk: Add NXP LVDS to HDMI adapter cards

2024-11-03 Thread Liu Ying
One ITE IT6263 LVDS to HDMI converter is populated on NXP IMX-LVDS-HDMI and IMX-DLVDS-HDMI adapter cards. Card IMX-LVDS-HDMI supports single LVDS link(IT6263 link1). Card IMX-DLVDS-HDMI supports dual LVDS links(IT6263 link1 and link2). Only one card can be enabled with one i.MX8MP EVK. Add dedic

[PATCH v7 07/10] drm/bridge: it6505: fix HDCP CTS KSV list read with UNIGRAF DPR-100.

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu When running the HDCP CTS test with UNIGRAF DPR-100. KSV list must be read from DP_AUX_HDCP_KSV_FIFO in an AUX request, and can not separate with multiple read requests. The AUX operation command "CMD_AUX_GET_KSV_LIST" reads the KSV list with AUX FIFO and is able to read DP_AUX_H

[PATCH v7 10/10] drm/bridge: it6505: add I2C functionality on AUX

2024-11-03 Thread Hermes Wu via B4 Relay
From: Hermes Wu DisplayPort AUX protocol supports I2C transport which is capable of reading EDID or supports MCCS. In drm_dp_helper, drm_dp_i2c_xfer() packs I2C requests into a sequence of AUX requests. it6505_aux_i2c_operation() is implemented to match drm_dp_i2c_xfer() operactions. it6505_aux_

Re: [PATCH V3 drm-dp 1/4] drm/hisilicon/hibmc: add dp aux in hibmc

2024-11-03 Thread Dmitry Baryshkov
On Fri, Nov 01, 2024 at 06:50:25PM +0800, Yongbang Shi wrote: > From: baihan li > > Add dp aux read/write functions. They are basic functions > and will be used later. > > Signed-off-by: baihan li > Signed-off-by: yongbang shi Is this a proper capitalization of your names? Usually the first l

Re: [PATCH V3 drm-dp 2/4] drm/hisilicon/hibmc: add dp link moduel in hibmc

2024-11-03 Thread Dmitry Baryshkov
On Fri, Nov 01, 2024 at 06:50:26PM +0800, Yongbang Shi wrote: > From: baihan li > > Add link training process functions in this moduel. > > Signed-off-by: baihan li > Signed-off-by: yongbang shi > --- > Changelog: > v2 -> v3: > - using switchcase in dp_link_reduce_lane, suggested by Dmitry B

Re: [PATCH V3 drm-dp 3/4] drm/hisilicon/hibmc: add dp hw moduel in hibmc

2024-11-03 Thread Dmitry Baryshkov
On Fri, Nov 01, 2024 at 06:50:27PM +0800, Yongbang Shi wrote: > From: baihan li > > Build a dp level that hibmc driver can enable dp by > calling their functions. > > Signed-off-by: baihan li > Signed-off-by: yongbang shi > --- > ChangeLog: > v2 -> v3: > - fix build errors reported by kernel

Re: [PATCH V3 drm-dp 4/4] drm/hisilicon/hibmc: add dp module in hibmc

2024-11-03 Thread Dmitry Baryshkov
On Fri, Nov 01, 2024 at 06:50:28PM +0800, Yongbang Shi wrote: > From: baihan li > > To support DP interface displaying in hibmc driver. Add > a encoder and connector for DP modual. > > Signed-off-by: baihan li > Signed-off-by: yongbang shi > --- > ChangeLog: > v2 -> v3: > - fix build errors

Re: [PATCH v2 00/10] sysfs: constify struct bin_attribute (Part 1)

2024-11-03 Thread Krzysztof Wilczyński
Hello, > struct bin_attribute contains a bunch of pointer members, which when > overwritten by accident or malice can lead to system instability and > security problems. > Moving the definitions of struct bin_attribute to read-only memory > makes these modifications impossible. > The same change h

Re: [PATCH v2] drm/v3d: Add DRM_IOCTL_V3D_PERFMON_SET_GLOBAL

2024-11-03 Thread Maíra Canal
Hi Christian, On 31/10/24 17:51, Christian Gmeiner wrote: From: Christian Gmeiner Add a new ioctl, DRM_IOCTL_V3D_PERFMON_SET_GLOBAL, to allow configuration of a global performance monitor (perfmon). Use the global perfmon for all jobs to ensure consistent performance tracking across submission

[PATCH] drm/i915/gt: Remove unused execlists_unwind_incomplete_requests

2024-11-03 Thread linux
From: "Dr. David Alan Gilbert" execlists_unwind_incomplete_requests() is unused since 2021's commit eb5e7da736f3 ("drm/i915/guc: Reset implementation for new GuC interface") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/i915/gt/intel_engine.h | 3 --- driv

Re: [PATCH v2 1/3] proc_pid_fdinfo.5: Reduce indent for most of the page

2024-11-03 Thread Colin Watson
I'm not trying to stop you committing whatever you want to your repository, of course, but I want to be clear that this doesn't actually solve the right problem for manual page indexing. The point of the parsing code in mandb(8) - and I'm not claiming that it's great code or the perfect design, ju

Re: [RFC PATCH] drm/amd/display/dc: Refactor remove duplications

2024-11-03 Thread Rodrigo Siqueira Jordao
Hi Luan, Sorry for the delay. Anyway, I ran your changes in our CI, and overall, everything looks good. I just have some comments for your V1. On 10/9/24 9:34 AM, Luan Icaro Pinto Arcanjo wrote: From: LipArcanjo It looks like your Signed-off-by does not match with the author. All dce co

Re: [PATCH] drm: Switch back to struct platform_driver::remove()

2024-11-03 Thread Uwe Kleine-König
Hello, On Tue, Oct 08, 2024 at 10:45:53AM +0200, Uwe Kleine-König wrote: > After commit 0edb555a65d1 ("platform: Make platform_driver::remove() > return void") .remove() is (again) the right callback to implement for > platform drivers. > > Convert all platform drivers below drivers/gpu/drm/ to u

Merging the xe / ttm shrinker series?

2024-11-03 Thread Thomas Hellström
Hi, Christian, The TTM shrinker series is now at v12 with all patches R-B:d. Ack to merge through drm-xe-next? Thanks, Thomas