Re: linux-next: build failure after merge of the kspp tree

2024-09-18 Thread Stephen Rothwell
Hi all, On Mon, 9 Sep 2024 19:59:39 +1000 Stephen Rothwell wrote: > > After merging the kspp tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/gpu/drm/xe/xe_gt_idle.c:56:27: error: redefinition of 'str_up_down' >56 | static inline const char *str_up_down(b

Re: [PATCH] accel/qaic: Add crashdump to Sahara

2024-09-18 Thread Konrad Dybcio
On 18.09.2024 5:52 PM, Jeffrey Hugo wrote: > The Sahara protocol has a crashdump functionality. In the hello > exchange, the device can advertise it has a memory dump available for > the host to collect. Instead of the device making requests of the host, > the host requests data from the device whi

Re: Kernel hang when amdgpu driver is loaded on old radeon card

2024-09-18 Thread Sitsofe Wheeler
(CC'ing Hans de Goede who recently wrote a blog post (https://hansdegoede.dreamwidth.org/28552.html ) which sounds like the same issue I'm seeing) On Sun, 15 Sept 2024 at 21:30, Sitsofe Wheeler wrote: > > Hello, > > (Apologies if I have CC'd the wrong people/places - I just went by > what get_mai

[pull] amdgpu, amdkfd drm-fixes-6.12

2024-09-18 Thread Alex Deucher
Hi Dave, Simona, Fixes for 6.12. The following changes since commit ae2c6d8b3b88c176dff92028941a4023f1b4cb91: Merge tag 'drm-xe-next-fixes-2024-09-12' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next (2024-09-17 14:53:34 +1000) are available in the Git repository at: https:/

Re: [PATCH v4 6/9] dt-bindings: watchdog: Add rockchip,rk3576-wdt compatible

2024-09-18 Thread Rob Herring (Arm)
On Tue, 03 Sep 2024 11:22:36 -0400, Detlev Casanova wrote: > It is compatible with the other rockchip SoCs. > > Signed-off-by: Detlev Casanova > Acked-by: Krzysztof Kozlowski > Acked-by: Guenter Roeck > --- > Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 + > 1 file changed

Re: [PATCH 2/3] dt-bindings: display/msm/gmu: Add Adreno 663 GMU

2024-09-18 Thread Rob Herring (Arm)
On Wed, 18 Sep 2024 02:08:42 +0530, Akhil P Oommen wrote: > From: Puranam V G Tejaswi > > Document Adreno 663 GMU in the dt-binding specification. > > Signed-off-by: Puranam V G Tejaswi > Signed-off-by: Akhil P Oommen > --- > Documentation/devicetree/bindings/display/msm/gmu.yaml | 1 + > 1

Re: [PATCH 1/3] drm/msm/a6xx: Add support for A663

2024-09-18 Thread Connor Abbott
On Tue, Sep 17, 2024 at 9:39 PM Akhil P Oommen wrote: > > From: Puranam V G Tejaswi > > Add support for Adreno 663 found on sa8775p based platforms. > > Signed-off-by: Puranam V G Tejaswi > Signed-off-by: Akhil P Oommen > --- > drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 19 ++

Re: [PATCH v6 10/10] drm/amd/display: Fetch the EDID from _DDC if available for eDP

2024-09-18 Thread kernel test robot
Hi Mario, kernel test robot noticed the following build errors: [auto build test ERROR on amd-pstate/linux-next] [also build test ERROR on amd-pstate/bleeding-edge linus/master v6.11] [cannot apply to next-20240918] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [PATCH v5 2/4] drm: Expose wedge recovery methods

2024-09-18 Thread Raag Jadav
On Tue, Sep 17, 2024 at 10:49:07AM +0300, Jani Nikula wrote: > On Tue, 17 Sep 2024, Raag Jadav wrote: > > Now that we have device wedged event in place, add wedge_recovery sysfs > > attribute which will expose recovery methods supported by the DRM device. > > This is useful for userspace consumers

Re: [PATCH v4 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-09-18 Thread Hui-Ping Chen
Dear Sascha, Thank you for your reply. On 2024/9/18 下午 06:58, Sascha Hauer wrote: Hi, The driver has a few minor whitespace issues, please run through checkpatch.pl to catch them. I will fix it. Some more things inline. On Wed, Sep 18, 2024 at 09:03:08AM +, Hui-Ping Chen wrote: Nu

[PATCH AUTOSEL 6.10 3/3] drm/amd/pm: fix the pp_dpm_pcie issue on smu v14.0.2/3

2024-09-18 Thread Sasha Levin
From: Kenneth Feng [ Upstream commit 7a0982523cf3ff00f35b210fc3405c528a2ce7af ] fix the pp_dpm_pcie issue on smu v14.0.2/3 as below: 0: 2.5GT/s, x4 250Mhz 1: 8.0GT/s, x4 616Mhz * 2: 8.0GT/s, x4 1143Mhz * the middle level can be removed since it is always skipped on smu v14.0.2/3 Signed-off-by:

[PATCH v1] drm/i915/hdmi: Convert comma to semicolon

2024-09-18 Thread Shen Lichuan
To ensure code clarity and prevent potential errors, it's advisable to employ the ';' as a statement separator, except when ',' are intentionally used for specific purposes. Signed-off-by: Shen Lichuan --- drivers/gpu/drm/i915/display/intel_hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 del

Re: Kernel hang when amdgpu driver is loaded on old radeon card

2024-09-18 Thread Sitsofe Wheeler
Hi, On Tue, 17 Sept 2024 at 22:43, Alex Deucher wrote: > > Do you have secureboot enabled? If so, perhaps this is relevant: > https://bugzilla.kernel.org/show_bug.cgi?id=219229 The system is an old HP MicroServer N36L with no UEFI support so there's no secureboot. -- Sitsofe

Re: [PATCH 1/2] drm/sched: add WARN_ON and BUG_ON to drm_sched_fini

2024-09-18 Thread Christian König
Am 18.09.24 um 16:41 schrieb Jani Nikula: On Wed, 18 Sep 2024, "Christian König" wrote: Tearing down the scheduler with jobs still on the pending list can lead to use after free issues. Add a warning if drivers try to destroy a scheduler which still has work pushed to the HW. When there are st

Re: [PATCH v2] drm/panic: Fix uninitialized spinlock acquisition with CONFIG_DRM_PANIC=n

2024-09-18 Thread Lyude Paul
Eek - sorry, I had already pushed this since it had been reviewed a while ago and I just forgot to push it afterwards. This being said though - I'm a little confused here myself. This is correct - drm_client_register was getting called too early, I wonder if I ran into this before I had moved aroun

[PATCH v4 1/2] dt-bindings: mtd: nuvoton, ma35d1-nand: add new bindings

2024-09-18 Thread Hui-Ping Chen
Add dt-bindings for the Nuvoton MA35 SoC NAND Controller. Signed-off-by: Hui-Ping Chen Reviewed-by: Krzysztof Kozlowski --- .../bindings/mtd/nuvoton,ma35d1-nand.yaml | 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/nuvoton

[PATCH v4 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-09-18 Thread Hui-Ping Chen
Nuvoton MA35 SoCs NAND Flash Interface Controller supports 2kiB, 4kiB and 8kiB page size, and up to 8-bit, 12-bit, and 24-bit hardware ECC calculation circuit to protect data. Signed-off-by: Hui-Ping Chen --- drivers/mtd/nand/raw/Kconfig | 8 + drivers/mtd/nand/raw/Makefile

[PATCH v4 0/2] Add support for nuvoton ma35 nand controller

2024-09-18 Thread Hui-Ping Chen
This patch series adds the mtd nand driver for the nuvoton ma35 ARMv8 SoC. It includes DT binding documentation and the ma35 mtd nand driver. v4: - Update nuvoton,ma35d1-nand.yaml - rename 'nuvoton,ma35d1-nand' to 'nuvoton,ma35d1-nand-controller'. - Update ma35d1 mtd nand driver - Rewr

Re: Intend to work on the DRM_* logging macro conversion

2024-09-18 Thread Louis Chauvet
Le 16/09/24 - 23:46, YJ Lin a écrit : > Hi Sean and the vkms maintainers: > > I’m Leo, currently one of the mentees of the Linux Kernel Bug Fixing > Program 2024 Summer Unpaid[1]. I saw an item on the DRM TODO list > regarding "Convert logging to drm_* functions with drm_device > parameter"[2]. It

Re: [PATCH 3/3] drm/vkms: Switch to dynamic allocation for CRTC

2024-09-18 Thread Louis Chauvet
Le 17/09/24 - 18:02, José Expósito a écrit : > Hi Louis, > > Thanks for this series! > > The first 2 patches look good to me. It could make sense to move the > alloc + init pair of calls to a function (vkms_connector_init() and > vkms_encoder_init() for example), but we can always move it in the

Re: [PATCH v6 01/12] spi: add driver for intel graphics on-die spi device

2024-09-18 Thread Mark Brown
On Mon, Sep 16, 2024 at 04:49:17PM +0300, Alexander Usyskin wrote: > Add auxiliary driver for intel discrete graphics > on-die spi device. This doesn't actually do anything AFAICT? It doesn't register with any subsystem or anything. Please don't submit empty boilerplate like this, submit a driv

Re: [PATCH v6 02/12] spi: intel-dg: implement region enumeration

2024-09-18 Thread Mark Brown
On Mon, Sep 16, 2024 at 04:49:18PM +0300, Alexander Usyskin wrote: > In intel-dg spi, there is no access to the spi controller, > the information is extracted from the descriptor region. Which information? I can't tell what this patch is supposed to do; as with the first patch this shouldn't be

Re: [PATCH v6 04/12] spi: intel-dg: spi register with mtd

2024-09-18 Thread Mark Brown
On Mon, Sep 16, 2024 at 04:49:20PM +0300, Alexander Usyskin wrote: > From: Tomas Winkler > > Register the on-die spi device with the mtd subsystem. > Refcount spi object on _get and _put mtd callbacks. This is a MTD driver, it should be in drivers/mtd. > +static int intel_dg_spi_erase(struct m

[PATCH 2/2] drm/sched: clarify the documentation on drm_sched_entity_error

2024-09-18 Thread Christian König
Sima requested that in a discussion, just copy&paste my explanation from the mail. Signed-off-by: Christian König --- drivers/gpu/drm/scheduler/sched_entity.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/scheduler/sched_entity.c b/driver

Re: [PATCH] drm/vkms: Add missing check for CRTC initialization

2024-09-18 Thread Louis Chauvet
Le 17/09/24 - 18:02, José Expósito a écrit : > Hi Louis, > > > CRTC initialization call drm_mode_crtc_set_gamma_size without the proper > > checks, introduce this check to avoid issues. > > > > Signed-off-by: Louis Chauvet > > Reviewed-by: José Expósito > > > --- > > drivers/gpu/drm/vkms/vkm

[PATCH 1/2] drm/sched: add WARN_ON and BUG_ON to drm_sched_fini

2024-09-18 Thread Christian König
Tearing down the scheduler with jobs still on the pending list can lead to use after free issues. Add a warning if drivers try to destroy a scheduler which still has work pushed to the HW. When there are still entities with jobs the situation is even worse since the dma_fences for those jobs can n

Re: [PATCH 1/2] drm/sched: add WARN_ON and BUG_ON to drm_sched_fini

2024-09-18 Thread Jani Nikula
On Wed, 18 Sep 2024, "Christian König" wrote: > Tearing down the scheduler with jobs still on the pending list can > lead to use after free issues. Add a warning if drivers try to > destroy a scheduler which still has work pushed to the HW. > > When there are still entities with jobs the situation

Re: [PATCH v4 00/11] Preemption support for A7XX

2024-09-18 Thread Rob Clark
On Wed, Sep 18, 2024 at 12:46 AM Neil Armstrong wrote: > > Hi, > > On 17/09/2024 13:14, Antonino Maniscalco wrote: > > This series implements preemption for A7XX targets, which allows the GPU to > > switch to an higher priority ring when work is pushed to it, reducing > > latency > > for high pri

[PATCH] accel/qaic: Add crashdump to Sahara

2024-09-18 Thread Jeffrey Hugo
The Sahara protocol has a crashdump functionality. In the hello exchange, the device can advertise it has a memory dump available for the host to collect. Instead of the device making requests of the host, the host requests data from the device which can be later analyzed. Implement this functiona

Re: [PATCH] drm/xe/query: Refactor copy_to_user() usage in four functions

2024-09-18 Thread Jani Nikula
On Wed, 18 Sep 2024, Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 18 Sep 2024 09:43:07 +0200 > > Assign return values from copy_to_user() calls to additional local variables > so that four kfree() calls and return statements can be omitted accordingly. > > This issue was transformed

Re: [PATCH] drm/vkms: Remove index parameter from init_vkms_output

2024-09-18 Thread Louis Chauvet
Le 17/09/24 - 18:02, José Expósito a écrit : > Hi Louis, > > > VKMS currently supports only one CRTC, so it make no sense to have this > > index configurable. To avoid issues, replace this hardcoded index by > > drm_crtc_mask when applicable. > > > > There is no need to manually set a crtc mask o

Re: [PATCH v6 00/12] spi: add driver for Intel discrete graphics

2024-09-18 Thread Mark Brown
On Mon, Sep 16, 2024 at 04:49:16PM +0300, Alexander Usyskin wrote: > Add driver for access to Intel discrete graphics card > internal SPI device. > Expose device on auxiliary bus by i915 and Xe drivers and > provide spi driver to register this device with MTD framework. As far as I can tell this d

Re: [PATCH v3 0/4] drm/vkms: Switch all vkms object to DRM managed objects

2024-09-18 Thread Louis Chauvet
Le 17/09/24 - 18:02, José Expósito a écrit : > Hi Louis, > > Thanks for making this change even more atomic. > > > To simplify the memory managment this series replace all manual drm > > object managment by drm-managed one. This way the VKMS code don't have to > > manage it directly and the DRM

Re: [PATCH] drm/msm/a6xx+: Insert a fence wait before SMMU table update

2024-09-18 Thread Connor Abbott
On Fri, Sep 13, 2024 at 8:51 PM Rob Clark wrote: > > From: Rob Clark > > The CP_SMMU_TABLE_UPDATE _should_ be waiting for idle, but on some > devices (x1-85, possibly others), it seems to pass that barrier while > there are still things in the event completion FIFO waiting to be > written back to

[PATCH 1/2] drm/panthor: Add csg_priority to panthor_group

2024-09-18 Thread Mary Guillemard
Keep track of the csg priority in panthor_group when the group is scheduled/active. This is useful to know the actual priority in use in the firmware group slot. Signed-off-by: Mary Guillemard --- drivers/gpu/drm/panthor/panthor_sched.c | 18 +++--- 1 file changed, 15 insertions(+),

[PATCH 2/2] drm/panthor: Expose scheduler groups info in debugfs

2024-09-18 Thread Mary Guillemard
This adds a new debugfs file named "sched_groups" allowing a user to query information about all userspace clients scheduler groups. As we uses drm_device.filelist to achieve it, we also expose the client_id with the task information to differentiate one client from another inside the same task.

[PATCH 0/2] drm/panthor: Expose scheduler groups info in debugfs

2024-09-18 Thread Mary Guillemard
This patch series adds a new debugfs file named "sched_groups" allowing a user to query information about all userspace clients scheduler groups. This patch series assumes that [1] and [2] are applied. [1]https://lore.kernel.org/all/20240903144955.144278-2-mary.guillem...@collabora.com/ [2]https:

Re: [PATCH v1] drm/i915/hdmi: Convert comma to semicolon

2024-09-18 Thread Jani Nikula
On Wed, 18 Sep 2024, Shen Lichuan wrote: > To ensure code clarity and prevent potential errors, it's advisable > to employ the ';' as a statement separator, except when ',' are > intentionally used for specific purposes. > > Signed-off-by: Shen Lichuan Already fixed by commit 7cd1049a33ca ("drm/

RESEND Re: [RFC PATCH] dma-buf/dma-fence: Use a successful read_trylock() annotation for dma_fence_begin_signalling()

2024-09-18 Thread Thomas Hellström
Christian, Ping? On Wed, 2024-08-14 at 10:37 +0200, Thomas Hellström wrote: > Christian, > > Ack to merge this through drm-misc-next, or do you want to pick it up > for dma-buf? > > Thanks, > Thomas > > > On Wed, 2024-08-14 at 09:10 +0200, Daniel Vetter wrote: > > On Fri, May 26, 2023 at 01:

Re: [PATCH v1 3/3] misc: fastrpc: Skip reference for DMA handles

2024-09-18 Thread Ekansh Gupta
On 8/30/2024 3:03 PM, Dmitry Baryshkov wrote: > On Thu, Aug 22, 2024 at 04:29:33PM GMT, Ekansh Gupta wrote: >> If multiple dma handles are passed with same fd over a remote call >> the kernel driver takes a reference and expects that put for the >> map will be called as many times to free the ma

Re: [PATCH v4 00/11] Preemption support for A7XX

2024-09-18 Thread Antonino Maniscalco
On 9/18/24 9:46 AM, Neil Armstrong wrote: Hi, On 17/09/2024 13:14, Antonino Maniscalco wrote: This series implements preemption for A7XX targets, which allows the GPU to switch to an higher priority ring when work is pushed to it, reducing latency for high priority submissions. This series e

Re: [PATCH v10 1/7] drm/ttm: Balance ttm_resource_cursor_init() and ttm_resource_cursor_fini()

2024-09-18 Thread Christian König
Am 16.09.24 um 16:51 schrieb Thomas Hellström: Make the interface more symmetric by providing and using a ttm_resource_cursor_init(). v10: - Fix a stray newline (Matthew Brost) - Update kerneldoc (Matthew Brost) Signed-off-by: Thomas Hellström Reviewed-by: Matthew Brost Reviewed-by: Christi

[PATCH 1/2] dma-buf/dma-fence: remove unnecessary callbacks

2024-09-18 Thread Christian König
The fence_value_str and timeline_value_str callbacks were just an unnecessary abstraction in the SW sync implementation. The only caller of those callbacks already knew that the fence in questions is a timeline_fence. So print the values directly instead of using a redirection. Additional to that

[PATCH 2/2] dma-buf/dma-fence: add wrappers for driver and timeline name

2024-09-18 Thread Christian König
As discussed with Sima we want dma_fence objects to be able to outlive their backend ops. Because of this timeline and driver name shouldn't be queried any more after the fence has signaled. Add wrappers around the two queries and only return an empty string if the fence was already signaled. Ther

Re: [PATCH v5 01/10] drm/v3d: Fix the MMU flush order

2024-09-18 Thread Maíra Canal
Hi Iago, On 9/4/24 05:24, Iago Toral wrote: Hi Maira, El jue, 29-08-2024 a las 10:05 -0300, Maíra Canal escribió: We must first flush the MMU cache and then, flush the TLB, not the other way around. Currently, we can see a race condition between the MMU cache and the TLB when running multiple

Re: [PATCH v4 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-09-18 Thread Sascha Hauer
Hi, The driver has a few minor whitespace issues, please run through checkpatch.pl to catch them. Some more things inline. On Wed, Sep 18, 2024 at 09:03:08AM +, Hui-Ping Chen wrote: > Nuvoton MA35 SoCs NAND Flash Interface Controller > supports 2kiB, 4kiB and 8kiB page size, and up to > 8-bi

Re: [PATCH v4 08/27] mfd: max77693: remove unused declarations

2024-09-18 Thread Dzmitry Sankouski
пн, 16 сент. 2024 г. в 12:10, Krzysztof Kozlowski : > > On Fri, Sep 13, 2024 at 06:07:51PM +0300, Dzmitry Sankouski wrote: > > Remove `enum max77693_irq_source` declaration because unused. > > > > Signed-off-by: Dzmitry Sankouski > > --- > > include/linux/mfd/max77693-private.h | 11 --- >

Re: [PATCH 4/7] drm/ttm: move LRU walk defines into new internal header

2024-09-18 Thread Thomas Hellström
Sima, Christian I've updated the shrinker series now with a guarded for_each macro instead: https://patchwork.freedesktop.org/patch/614514/?series=131815&rev=9 (Note I forgot to remove the export of the previous LRU walker). so the midlayer argument is now not an issue anymore. The cleanup.h g

[PATCH v4 0/4] MIPI DSI Controller support for SAM9X75 series

2024-09-18 Thread Manikandan Muralidharan
This patch series adds support for the Microchip's MIPI DSI Controller wrapper driver that uses the Synopsys DesignWare MIPI DSI host controller bridge for SAM9X75 SoC series. Changelogs are available in respective patches. Manikandan Muralidharan (4): dt-bindings: display: bridge: add sam9x75-

[PATCH v4 2/4] drm/bridge: add Microchip DSI controller support for sam9x7 SoC series

2024-09-18 Thread Manikandan Muralidharan
Add the Microchip's DSI controller wrapper driver that uses the Synopsys DesignWare MIPI DSI host controller bridge. Signed-off-by: Manikandan Muralidharan --- changes in v4: - Fixed issues reported by kernel test robot - replaced syscon_regmap_lookup_by_phandle with syscon_regmap_lookup_by_compa

[PATCH v4 1/4] dt-bindings: display: bridge: add sam9x75-mipi-dsi binding

2024-09-18 Thread Manikandan Muralidharan
Add the 'sam9x75-mipi-dsi' compatible binding, which describes the Microchip's specific wrapper for the Synopsys DesignWare MIPI DSI HOST Controller for the sam9x75 series System-on-Chip (SoC) devices. Signed-off-by: Manikandan Muralidharan --- changes in v4: - Removed 'microchip,sfr' phandle pro

[PATCH v4 4/4] ARM: configs: at91: Enable Microchip's MIPI DSI Host Controller support

2024-09-18 Thread Manikandan Muralidharan
Enable the Microchip's DSI controller wrapper driver that uses the Synopsys DesignWare MIPI DSI host controller bridge. Signed-off-by: Manikandan Muralidharan --- arch/arm/configs/at91_dt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm

[PATCH v4 3/4] MAINTAINERS: add SAM9X7 SoC's Microchip's MIPI DSI host wrapper driver

2024-09-18 Thread Manikandan Muralidharan
Add the Microchip's DSI controller wrapper driver that uses the Synopsys DesignWare MIPI DSI host controller bridge for the SAM9X7 SoC series to the MAINTAINERS entry. Signed-off-by: Manikandan Muralidharan --- changes in v3: - Drop T: section --- MAINTAINERS | 7 +++ 1 file changed, 7 inser

[PATCH 6.1] drm/amdkfd: Skip handle mapping SVM range with no GPU access

2024-09-18 Thread Murad Masimov
From: Philip Yang commit 8c45b31909b730f9c7b146588e038f9c6553394d upstream. If the SVM range has no GPU access nor access-in-place attribute, validate and map to GPU should skip the range. Add NULL pointer check if find_first_bit(ctx->bitmap, MAX_GPU_INSTANCE) returns MAX_GPU_INSTANCE as gpuidx

Re: [PATCH v3] drm/mediatek: ovl: Add fmt_convert function pointer to driver data

2024-09-18 Thread AngeloGioacchino Del Regno
Il 17/09/24 18:44, Jason-JH.Lin ha scritto: OVL_CON_CLRFMT_MAN is a configuration for extending color format settings of DISP_REG_OVL_CON(n). It will change some of the original color format settings. Take the settings of (3 << 12) for example. - If OVL_CON_CLRFMT_MAN = 0 means OVL_CON_CLRFMT_RG

Re: [PATCH v3 1/4] dt-bindings: display: bridge: add sam9x75-mipi-dsi binding

2024-09-18 Thread Conor Dooley
On Wed, Sep 18, 2024 at 03:00:45AM +, manikanda...@microchip.com wrote: > On 17/09/24 6:08 pm, Conor Dooley wrote: > > On Tue, Sep 17, 2024 at 03:16:53AM +,manikanda...@microchip.com wrote: > >> Hi Conor, > >> > >> On 14/08/24 7:29 pm, Conor Dooley wrote: > >>> On Wed, Aug 14, 2024 at 04:2

Re: [GIT PULL] fbdev fixes and cleanups for v6.12-rc1

2024-09-18 Thread pr-tracker-bot
The pull request you sent on Tue, 17 Sep 2024 17:45:40 +0200: > http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git > tags/fbdev-for-6.12-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f4960b002ce81f8e51245bfad0fb7eb4103962ff Thank you! -- Dee

Re: [PATCH] drm/amd/display: Fix unnecessary cast warnings from checkpatch

2024-09-18 Thread Alex Deucher
Acked-by: Alex Deucher Applied. Thanks! On Tue, Sep 17, 2024 at 5:58 PM Rohit Chavan wrote: > > This patch addresses warnings produced by the checkpatch script > related to unnecessary casts that could potentially hide bugs. > > The specific warnings are as follows: > - Warning at drivers/gpu/

Re: [PATCH] gpu: host1x: Set up device DMA parameters

2024-09-18 Thread Jon Hunter
On 16/09/2024 15:58, Christoph Hellwig wrote: On Mon, Sep 16, 2024 at 03:33:20PM +0200, Thierry Reding wrote: From: Thierry Reding In order to store device DMA parameters, the DMA framework depends on the device's dma_parms field to point at a valid memory location. Add backing storage for t

Re: [PATCH v3 2/5] drm/i915/display: Compute the scaler filter coefficients

2024-09-18 Thread Jani Nikula
On Tue, 17 Sep 2024, Nemesa Garg wrote: > The sharpness property requires the use of one of the scaler > so need to set the sharpness scaler coefficient values. > These values are based on experiments and vary for different > tap value/win size. These values are normalized by taking the > sum of a

Re: [PATCH v2 4/5] drm/i915/display: Add registers and compute the strength

2024-09-18 Thread Jani Nikula
On Tue, 17 Sep 2024, Nemesa Garg wrote: > Add new registers and related bits. Compute the strength > value and tap value based on display mode. > > v2: Replace i915/dev_priv with display[Jani] This needs to be done harder. ;) > > Signed-off-by: Nemesa Garg > --- > drivers/gpu/drm/i915/display/

Re: [PATCH v2 4/5] drm/i915/display: Add registers and compute the strength

2024-09-18 Thread Jani Nikula
On Tue, 17 Sep 2024, Nemesa Garg wrote: > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h > index 84b05b57ad52..41c6c56d83d6 100644 > --- a/drivers/gpu/drm/i915/i915_reg.h > +++ b/drivers/gpu/drm/i915/i915_reg.h > @@ -2396,6 +2396,23 @@ > _ID(id

Re: [PATCH 1/1] mm/migrate: Trylock device page in do_swap_page

2024-09-18 Thread Alistair Popple
Matthew Brost writes: > On Wed, Sep 11, 2024 at 02:53:31PM +1000, Alistair Popple wrote: >> >> Matthew Brost writes: >> >> I haven't seen the same in the NVIDIA UVM driver (out-of-tree, I know) > > Still a driver. Indeed, and I'm happy to answer any questions about our implementation. >> b

Re: [PATCH v3 3/5] drm/i915/display: Enable the second scaler for sharpness

2024-09-18 Thread Jani Nikula
On Tue, 17 Sep 2024, Nemesa Garg wrote: > As only second scaler can be used for sharpness check if it > is available and also check if panel fitting is also not enabled, > then set the sharpness. Panel fitting will have the preference > over sharpness property. > > v2: Add the panel fitting check

[PATCH] drm/xe/query: Refactor copy_to_user() usage in four functions

2024-09-18 Thread Markus Elfring
From: Markus Elfring Date: Wed, 18 Sep 2024 09:43:07 +0200 Assign return values from copy_to_user() calls to additional local variables so that four kfree() calls and return statements can be omitted accordingly. This issue was transformed by using the Coccinelle software. Signed-off-by: Markus

Re: [PATCH 1/2] dt-bindings: display: panel-simple: Document support for Microchip AC69T88A

2024-09-18 Thread Krzysztof Kozlowski
On 18/09/2024 05:08, manikanda...@microchip.com wrote: > Hi Krzysztof, > > On 17/09/24 4:07 pm, Krzysztof Kozlowski wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> On 17/09/2024 11:53, Manikandan Muralidharan wrote: >>> Add Microchip A

[PATCH net-next] sfc: remove newlines in NL_SET_ERR_MSG_MOD

2024-09-18 Thread Chen Ni
Fix following coccicheck warning: ./drivers/net/ethernet/sfc/tc.c:1584:29-80: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD Signed-off-by: Chen Ni --- drivers/net/ethernet/sfc/tc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/sfc/tc.c b

Re: [PATCH] drm/xe/query: Refactor copy_to_user() usage in four functions

2024-09-18 Thread Markus Elfring
>> Assign return values from copy_to_user() calls to additional local variables >> so that four kfree() calls and return statements can be omitted accordingly. … >> +++ b/drivers/gpu/drm/xe/xe_query.c >> @@ -220,13 +220,11 @@ static int query_engines(struct xe_device *xe, >> >> engines->num_en

[PATCH 2/4] drm/ci: Upgrade requests requirement to 2.32.0

2024-09-18 Thread WangYuli
GitHub Dependabot has issued the following alert: "build(deps): bump requests from 2.31.0 to 2.32.2 in /drivers/gpu/drm/ci/xfails. When making requests through a Requests Session, if the first request is made with verify=False to disable cert verification, all subsequent requests to the same

[PATCH 3/4] drm/ci: Upgrade idna requirement to 3.7

2024-09-18 Thread WangYuli
GitHub Dependabot has issued the following alert: "build(deps): bump idna from 3.4 to 3.7 in /drivers/gpu/drm/ci/xfails. A specially crafted argument to the function could consume significant resources. This may lead to a denial-of-service. The function has been refined to reject such strings

[PATCH 0/4] drm/ci: Upgrade requirements because of bothering by GitHub Dependabot

2024-09-18 Thread WangYuli
GitHub Dependabot keeps bugging us about old, vulnerable Python packages. Until we figure out a way to make it calm, we're stuck updating our dependencies whenever it complains. I guess it's a good thing in the long run, though, right? Makes our CI a bit "more secure"... Signed-off-by: WangYuli

[PATCH 4/4] drm/ci: Upgrade certifi requirement to 2024.07.04

2024-09-18 Thread WangYuli
GitHub Dependabot has issued the following alert: "build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /drivers/gpu/drm/ci/xfails. Certifi 2024.07.04 removes root certificates from "GLOBALTRUST" from the root store. These are in the process of being removed from Mozilla's trust store. G

[PATCH 1/4] drm/ci: Upgrade urllib3 requirement to 2.2.2

2024-09-18 Thread WangYuli
GitHub Dependabot has issued the following alert: "build(deps): bump urllib3 from 2.0.7 to 2.2.2 in /drivers/gpu/drm/ci/xfails. When using urllib3's proxy support with, the header is only sent to the configured proxy, as expected. However, when sending HTTP requests without using urllib3's p

Re: RESEND Re: [RFC PATCH] dma-buf/dma-fence: Use a successful read_trylock() annotation for dma_fence_begin_signalling()

2024-09-18 Thread Christian König
Sorry, somehow completely missed that. Feel free to push it to drm-misc-next. Christian. Am 18.09.24 um 14:34 schrieb Thomas Hellström: Christian, Ping? On Wed, 2024-08-14 at 10:37 +0200, Thomas Hellström wrote: Christian, Ack to merge this through drm-misc-next, or do you want to pick it

[PATCH v7 00/10] drm/amd/display: Use drm_edid for more code

2024-09-18 Thread Mario Limonciello
This is the successor of Melissa's v5 series that was posted [1] as well as my series that was posted [2]. Melissa's patches are mostly unmodified from v5, but the series has been rebase on the new 6.10 based amd-staging-drm-next. As were both touching similar code for fetching the EDID, I've mer

[PATCH v7 02/10] drm/amd/display: switch to setting physical address directly

2024-09-18 Thread Mario Limonciello
From: Melissa Wen Connectors have source physical address available in display info. Use drm_dp_cec_attach() to use it instead of parsing the EDID again. Signed-off-by: Melissa Wen Signed-off-by: Mario Limonciello --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 6 +++--- 1 file change

[PATCH v7 06/10] drm/amd/display: parse display name from drm_eld

2024-09-18 Thread Mario Limonciello
From: Melissa Wen We don't need to parse dc_edid to get the display name since it's already set in drm_eld which in turn had it values updated when updating connector with the opaque drm_edid. Signed-off-by: Melissa Wen Signed-off-by: Mario Limonciello --- .../gpu/drm/amd/display/amdgpu_dm/am

[PATCH v7 03/10] drm/amd/display: always call connector_update when parsing freesync_caps

2024-09-18 Thread Mario Limonciello
From: Melissa Wen Update connector caps with drm_edid data before parsing info for freesync. Signed-off-by: Melissa Wen Signed-off-by: Mario Limonciello --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/dr

[PATCH v7 09/10] drm/amd/display: remove dc_edid handler from dm_helpers_parse_edid_caps

2024-09-18 Thread Mario Limonciello
From: Melissa Wen We can parse edid caps from drm_edid and drm_eld and any calls of dm_helpers_parse_edid_caps is made in a state that we have drm_edid set to amdgpu connector. Signed-off-by: Melissa Wen Co-developed-by: Mario Limonciello Signed-off-by: Mario Limonciello --- .../gpu/drm/amd/

[PATCH v7 04/10] drm/amd/display: remove redundant freesync parser for DP

2024-09-18 Thread Mario Limonciello
From: Melissa Wen When updating connector under drm_edid infrastructure, many calculations and validations are already done and become redundant inside AMD driver. Remove those driver-specific code in favor of the DRM common code. Signed-off-by: Melissa Wen Co-developed-by: Mario Limonciello S

[PATCH v7 07/10] drm/amd/display: get SAD from drm_eld when parsing EDID caps

2024-09-18 Thread Mario Limonciello
From: Melissa Wen drm_edid_connector_update() updates display info, filling ELD with audio info from Short-Audio Descriptors in the last step of update_dislay_info(). Our goal is stopping using raw edid, so we can extract SAD from drm_eld instead of access raw edid to get audio caps. Signed-off-

[PATCH v7 08/10] drm/amd/display: get SADB from drm_eld when parsing EDID caps

2024-09-18 Thread Mario Limonciello
From: Melissa Wen drm_edid_connector_update() updates display info, filling ELD with speaker allocation data in the last step of update_dislay_info(). Our goal is stopping using raw edid, so we can extract SADB from drm_eld instead of access raw edid to get audio caps. Signed-off-by: Melissa Wen

[PATCH v7 01/10] drm/amd/display: switch amdgpu_dm_connector to use struct drm_edid

2024-09-18 Thread Mario Limonciello
From: Melissa Wen Replace raw edid handling (struct edid) with the opaque EDID type (struct drm_edid) on amdgpu_dm_connector for consistency. It may also prevent mismatch of approaches in different parts of the driver code. Signed-off-by: Melissa Wen Co-developed-by: Mario Limonciello Signed-o

[PATCH v7 05/10] drm/amd/display: use drm_edid_product_id for parsing EDID product info

2024-09-18 Thread Mario Limonciello
From: Melissa Wen Since [1], we can use drm_edid_product_id to get debug info from drm_edid instead of directly parsing EDID. Link: https://lore.kernel.org/dri-devel/cover.1712655867.git.jani.nik...@intel.com/ [1] Signed-off-by: Melissa Wen Co-developed-by: Mario Limonciello Signed-off-by: M

[PATCH v7 10/10] drm/amd/display: Fetch the EDID from _DDC if available for eDP

2024-09-18 Thread Mario Limonciello
Some manufacturers have intentionally put an EDID that differs from the EDID on the internal panel on laptops. Attempt to fetch this EDID if it exists and prefer it over the EDID that is provided by the panel. If a user prefers to use the EDID from the panel, offer a DC debugging parameter that wo

Re: [PATCH v1 2/3] misc: fastrpc: Fix fastrpc_map_lookup operation

2024-09-18 Thread Ekansh Gupta
On 8/30/2024 3:01 PM, Dmitry Baryshkov wrote: > On Thu, Aug 22, 2024 at 04:29:32PM GMT, Ekansh Gupta wrote: >> Fastrpc driver creates maps for user allocated fd buffers. Before >> creating a new map, the map list is checked for any already existing >> maps using map fd. Checking with just map fd

RE: [PATCH v6 00/12] spi: add driver for Intel discrete graphics

2024-09-18 Thread Usyskin, Alexander
> On Mon, Sep 16, 2024 at 04:49:16PM +0300, Alexander Usyskin wrote: > > Add driver for access to Intel discrete graphics card > > internal SPI device. > > Expose device on auxiliary bus by i915 and Xe drivers and > > provide spi driver to register this device with MTD framework. > > As far as I c

Re: [PATCH v4 00/11] Preemption support for A7XX

2024-09-18 Thread Neil Armstrong
Hi, On 17/09/2024 13:14, Antonino Maniscalco wrote: This series implements preemption for A7XX targets, which allows the GPU to switch to an higher priority ring when work is pushed to it, reducing latency for high priority submissions. This series enables L1 preemption with skip_save_restore w

[PATCH] drm/fsl-dcu: Remove redundant dev_err()

2024-09-18 Thread Chen Ni
There is no need to call the dev_err() function directly to print a custom message when handling an error from platform_get_irq() function as it is going to display an appropriate error message in case of a failure. Signed-off-by: Chen Ni --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 4 +--- 1