Re: [RFC PATCH 20/30] vfio/pci: Do TSM Unbind before zapping bars

2025-06-01 Thread Aneesh Kumar K . V
Xu Yilun writes: > When device is TSM Bound, some of its MMIO regions are controlled by > secure firmware. E.g. TDX Connect would require these MMIO regions > mappeed in S-EPT and never unmapped until device Unbound. Zapping bars > irrespective of TSM Bound state may cause unexpected secure firmw

Re: [PATCH 01/12] mm: Remove PFN_MAP, PFN_SG_CHAIN and PFN_SG_LAST

2025-06-01 Thread Christoph Hellwig
On Thu, May 29, 2025 at 04:32:02PM +1000, Alistair Popple wrote: > The PFN_MAP flag is no longer used for anything, so remove it. The > PFN_SG_CHAIN and PFN_SG_LAST flags never appear to have been used so > also remove them. > > Signed-off-by: Alistair Popple > Reviewed-by: Christoph Hellwig FY

RE: [PATCH 11/12] mm: Remove callers of pfn_t functionality

2025-06-01 Thread Michael Kelley
From: Alistair Popple Sent: Wednesday, May 28, 2025 11:32 PM > > All PFN_* pfn_t flags have been removed. Therefore there is no longer > a need for the pfn_t type and all uses can be replaced with normal > pfns. > > Signed-off-by: Alistair Popple > Reviewed-by: Christoph Hellwig > --- > arch

Re: [PATCH v4] drm: add overview diagram for drm stack

2025-06-01 Thread Bagas Sanjaya
On Sun, Jun 01, 2025 at 06:18:47PM -0400, Abdulrasaq Lawani wrote: > Add an overview diagram of Linux DRM architecture for > graphics and compute to introduction.rst > > Signed-off-by: Abdulrasaq Lawani > --- > ... > diff --git a/Documentation/gpu/introduction.rst > b/Documentation/gpu/introduct

[PATCH AUTOSEL 6.15 034/110] drm/msm/a6xx: Increase HFI response timeout

2025-06-01 Thread Sasha Levin
From: Akhil P Oommen [ Upstream commit 5f02f5e78ec9688e29b6857813185b1181796abe ] When ACD feature is enabled, it triggers some internal calibrations which result in a pretty long delay during the first HFI perf vote. So, increase the HFI response timeout to match the downstream driver. Signed-

[PATCH AUTOSEL 6.12 19/93] drm/amdgpu/gfx11: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a9a8bccaa3ba64d509cf7df387cf0b5e1cd06499 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.4 03/22] drm/bridge: analogix_dp: Add irq flag IRQF_NO_AUTOEN instead of calling disable_irq()

2025-06-01 Thread Sasha Levin
From: Damon Ding [ Upstream commit efab13e7d13a641a22c7508cde6e1a5285161944 ] The IRQF_NO_AUTOEN can be used for the drivers that don't want interrupts to be enabled automatically via devm_request_threaded_irq(). Using this flag can provide be more robust compared to the way of calling disable_i

[PATCH AUTOSEL 6.12 57/93] drm/msm/dpu: don't select single flush for active CTL blocks

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit e93eee524bb78f3ee4b78654d0083382f98b3d23 ] In case of ACTIVE CTLs, a single CTL is being used for flushing all INTF blocks. Don't skip programming the CTL on those targets. Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov Patch

[PATCH AUTOSEL 6.1 33/58] drm/msm/dpu: don't select single flush for active CTL blocks

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit e93eee524bb78f3ee4b78654d0083382f98b3d23 ] In case of ACTIVE CTLs, a single CTL is being used for flushing all INTF blocks. Don't skip programming the CTL on those targets. Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov Patch

[PATCH AUTOSEL 5.15 13/43] drm/amdgpu/gfx10: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 683308af030cd9b8d3f1de5cbc1ee51788878feb ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.10 06/34] drm/msm/hdmi: add runtime PM calls to DDC transfer function

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit 531b4e2c206e5f7dead04d9da84dfa693ac57481 ] We must be sure that the HDMI controller is powered on, while performing the DDC transfer. Add corresponding runtime PM calls to msm_hdmi_i2c_xfer(). Reviewed-by: Jessica Zhang Signed-off-by: Dmitry Baryshkov

[PATCH AUTOSEL 5.4 14/22] drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB

2025-06-01 Thread Sasha Levin
From: Amber Lin [ Upstream commit ab9fcc6362e0699fc1150aa1d8503c40fce2c1e1 ] When submitting MQD to CP, set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB bit so it'll allow SDMA preemption if there is a massive command buffer of long-running SDMA commands. Signed-off-by: Amber Lin Acked-by: Alex Deucher

[PATCH AUTOSEL 5.4 08/22] drm/amdgpu/gfx10: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 683308af030cd9b8d3f1de5cbc1ee51788878feb ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.4 12/22] drm/amdgpu/gfx9: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a4a4c0ae6742ec7d6bf1548d2c6828de440814a0 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now I'll analyze the specific code cha

[PATCH AUTOSEL 5.4 06/22] drm/amd/display: Add NULL pointer checks in dm_force_atomic_commit()

2025-06-01 Thread Sasha Levin
From: Srinivasan Shanmugam [ Upstream commit 3f397cd203f247879c2f1a061e90d4c8d23655de ] This commit updates the dm_force_atomic_commit function to replace the usage of PTR_ERR_OR_ZERO with IS_ERR for checking error states after retrieving the Connector (drm_atomic_get_connector_state), CRTC (drm

[PATCH AUTOSEL 5.4 11/22] drm/amdgpu/gfx8: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit c8b8d7a4f1c5cdfbd61d75302fb3e3cdefb1a7ab ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.4 04/22] drm/msm/hdmi: add runtime PM calls to DDC transfer function

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit 531b4e2c206e5f7dead04d9da84dfa693ac57481 ] We must be sure that the HDMI controller is powered on, while performing the DDC transfer. Add corresponding runtime PM calls to msm_hdmi_i2c_xfer(). Reviewed-by: Jessica Zhang Signed-off-by: Dmitry Baryshkov

[PATCH AUTOSEL 5.4 09/22] drm/amdgpu/gfx7: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit be7652c23d833d1ab2c67b16e173b1a4e69d1ae6 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.4 07/22] drm/msm/a6xx: Increase HFI response timeout

2025-06-01 Thread Sasha Levin
From: Akhil P Oommen [ Upstream commit 5f02f5e78ec9688e29b6857813185b1181796abe ] When ACD feature is enabled, it triggers some internal calibrations which result in a pretty long delay during the first HFI perf vote. So, increase the HFI response timeout to match the downstream driver. Signed-

[PATCH AUTOSEL 6.12 09/93] drm/amd/display: DCN32 null data check

2025-06-01 Thread Sasha Levin
From: Yihan Zhu [ Upstream commit c9646e5a7e01c3ede286ec5edd4fcb2e1e80261d ] [WHY & HOW] Avoid null curve data structure used in the cm block for the potential issue. Reviewed-by: Charlene Liu Signed-off-by: Yihan Zhu Signed-off-by: Zaeem Mohamed Tested-by: Mark Broadworth Signed-off-by: Al

[PATCH AUTOSEL 5.4 01/22] drm/amdgpu/gfx6: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 8307ebc15c1ea98a8a0b7837af1faa6c01514577 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now let me understand what the bug is.

[PATCH AUTOSEL 5.10 23/34] drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB

2025-06-01 Thread Sasha Levin
From: Amber Lin [ Upstream commit ab9fcc6362e0699fc1150aa1d8503c40fce2c1e1 ] When submitting MQD to CP, set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB bit so it'll allow SDMA preemption if there is a massive command buffer of long-running SDMA commands. Signed-off-by: Amber Lin Acked-by: Alex Deucher

[PATCH AUTOSEL 5.10 22/34] drm/msm/dpu: don't select single flush for active CTL blocks

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit e93eee524bb78f3ee4b78654d0083382f98b3d23 ] In case of ACTIVE CTLs, a single CTL is being used for flushing all INTF blocks. Don't skip programming the CTL on those targets. Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov Patch

[PATCH AUTOSEL 5.10 19/34] drm/amdgpu/gfx8: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit c8b8d7a4f1c5cdfbd61d75302fb3e3cdefb1a7ab ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.10 20/34] drm/amdgpu/gfx9: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a4a4c0ae6742ec7d6bf1548d2c6828de440814a0 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now I'll analyze the specific code cha

[PATCH AUTOSEL 5.10 10/34] drm/amdgpu/gfx10: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 683308af030cd9b8d3f1de5cbc1ee51788878feb ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.10 12/34] drm/amdgpu/gfx7: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit be7652c23d833d1ab2c67b16e173b1a4e69d1ae6 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.10 01/34] drm/amdgpu/gfx6: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 8307ebc15c1ea98a8a0b7837af1faa6c01514577 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now let me understand what the bug is.

[PATCH AUTOSEL 5.10 09/34] drm/msm/a6xx: Increase HFI response timeout

2025-06-01 Thread Sasha Levin
From: Akhil P Oommen [ Upstream commit 5f02f5e78ec9688e29b6857813185b1181796abe ] When ACD feature is enabled, it triggers some internal calibrations which result in a pretty long delay during the first HFI perf vote. So, increase the HFI response timeout to match the downstream driver. Signed-

[PATCH AUTOSEL 5.10 08/34] drm/amd/display: Add NULL pointer checks in dm_force_atomic_commit()

2025-06-01 Thread Sasha Levin
From: Srinivasan Shanmugam [ Upstream commit 3f397cd203f247879c2f1a061e90d4c8d23655de ] This commit updates the dm_force_atomic_commit function to replace the usage of PTR_ERR_OR_ZERO with IS_ERR for checking error states after retrieving the Connector (drm_atomic_get_connector_state), CRTC (drm

[PATCH AUTOSEL 5.10 03/34] drm/bridge: analogix_dp: Add irq flag IRQF_NO_AUTOEN instead of calling disable_irq()

2025-06-01 Thread Sasha Levin
From: Damon Ding [ Upstream commit efab13e7d13a641a22c7508cde6e1a5285161944 ] The IRQF_NO_AUTOEN can be used for the drivers that don't want interrupts to be enabled automatically via devm_request_threaded_irq(). Using this flag can provide be more robust compared to the way of calling disable_i

[PATCH AUTOSEL 6.12 25/93] drm/msm/hdmi: add runtime PM calls to DDC transfer function

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit 531b4e2c206e5f7dead04d9da84dfa693ac57481 ] We must be sure that the HDMI controller is powered on, while performing the DDC transfer. Add corresponding runtime PM calls to msm_hdmi_i2c_xfer(). Reviewed-by: Jessica Zhang Signed-off-by: Dmitry Baryshkov

[PATCH AUTOSEL 5.15 28/43] drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB

2025-06-01 Thread Sasha Levin
From: Amber Lin [ Upstream commit ab9fcc6362e0699fc1150aa1d8503c40fce2c1e1 ] When submitting MQD to CP, set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB bit so it'll allow SDMA preemption if there is a massive command buffer of long-running SDMA commands. Signed-off-by: Amber Lin Acked-by: Alex Deucher

[PATCH AUTOSEL 5.15 27/43] drm/msm/dpu: don't select single flush for active CTL blocks

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit e93eee524bb78f3ee4b78654d0083382f98b3d23 ] In case of ACTIVE CTLs, a single CTL is being used for flushing all INTF blocks. Don't skip programming the CTL on those targets. Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov Patch

[PATCH AUTOSEL 5.15 11/43] drm/msm/a6xx: Increase HFI response timeout

2025-06-01 Thread Sasha Levin
From: Akhil P Oommen [ Upstream commit 5f02f5e78ec9688e29b6857813185b1181796abe ] When ACD feature is enabled, it triggers some internal calibrations which result in a pretty long delay during the first HFI perf vote. So, increase the HFI response timeout to match the downstream driver. Signed-

[PATCH AUTOSEL 5.15 25/43] drm/amdgpu/gfx9: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a4a4c0ae6742ec7d6bf1548d2c6828de440814a0 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now I'll analyze the specific code cha

[PATCH AUTOSEL 5.15 24/43] drm/amdgpu/gfx8: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit c8b8d7a4f1c5cdfbd61d75302fb3e3cdefb1a7ab ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.15 16/43] drm/amdgpu/gfx7: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit be7652c23d833d1ab2c67b16e173b1a4e69d1ae6 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 5.15 10/43] drm/amd/display: Add NULL pointer checks in dm_force_atomic_commit()

2025-06-01 Thread Sasha Levin
From: Srinivasan Shanmugam [ Upstream commit 3f397cd203f247879c2f1a061e90d4c8d23655de ] This commit updates the dm_force_atomic_commit function to replace the usage of PTR_ERR_OR_ZERO with IS_ERR for checking error states after retrieving the Connector (drm_atomic_get_connector_state), CRTC (drm

[PATCH AUTOSEL 5.15 01/43] drm/amdgpu/gfx6: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 8307ebc15c1ea98a8a0b7837af1faa6c01514577 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now let me understand what the bug is.

[PATCH AUTOSEL 5.15 08/43] drm/msm/hdmi: add runtime PM calls to DDC transfer function

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit 531b4e2c206e5f7dead04d9da84dfa693ac57481 ] We must be sure that the HDMI controller is powered on, while performing the DDC transfer. Add corresponding runtime PM calls to msm_hdmi_i2c_xfer(). Reviewed-by: Jessica Zhang Signed-off-by: Dmitry Baryshkov

[PATCH AUTOSEL 5.15 06/43] drm/bridge: anx7625: change the gpiod_set_value API

2025-06-01 Thread Sasha Levin
From: Ayushi Makhija [ Upstream commit 50935044e58e563cdcfd556d62f27bc8744dd64e ] Use gpiod_set_value_cansleep() instead of gpiod_set_value() to fix the below call trace in the boot log: [5.690534] Call trace: [5.690536] gpiod_set_value+0x40/0xa4 [5.690540] anx7625_runtime_pm_resu

[PATCH AUTOSEL 5.15 03/43] drm/bridge: analogix_dp: Add irq flag IRQF_NO_AUTOEN instead of calling disable_irq()

2025-06-01 Thread Sasha Levin
From: Damon Ding [ Upstream commit efab13e7d13a641a22c7508cde6e1a5285161944 ] The IRQF_NO_AUTOEN can be used for the drivers that don't want interrupts to be enabled automatically via devm_request_threaded_irq(). Using this flag can provide be more robust compared to the way of calling disable_i

[PATCH AUTOSEL 6.12 16/93] drm/panthor: Don't update MMU_INT_MASK in panthor_mmu_irq_handler()

2025-06-01 Thread Sasha Levin
From: Boris Brezillon [ Upstream commit 6c4a3fa26799785c1873aacabcfd9b2d27e8dc97 ] Interrupts are automatically unmasked in panthor_mmu_irq_threaded_handler() when the handler returns. Unmasking prematurely might generate spurious interrupts if the IRQ line is shared. Changes in v2: - New patch

[PATCH AUTOSEL 6.1 34/58] drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB

2025-06-01 Thread Sasha Levin
From: Amber Lin [ Upstream commit ab9fcc6362e0699fc1150aa1d8503c40fce2c1e1 ] When submitting MQD to CP, set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB bit so it'll allow SDMA preemption if there is a massive command buffer of long-running SDMA commands. Signed-off-by: Amber Lin Acked-by: Alex Deucher

[PATCH AUTOSEL 6.1 30/58] drm/amdgpu/gfx9: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a4a4c0ae6742ec7d6bf1548d2c6828de440814a0 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now I'll analyze the specific code cha

[PATCH AUTOSEL 6.1 32/58] drm/amd/display: Correct prefetch calculation

2025-06-01 Thread Sasha Levin
From: TungYu Lu [ Upstream commit 33bc89949b4366dff2dca30bc61ba1c0cbcd2ab2 ] [Why] The minimum value of the dst_y_prefetch_equ was not correct in prefetch calculation whice causes OPTC underflow. [How] Add the min operation of dst_y_prefetch_equ in prefetch calculation for legacy DML. Reviewed

[PATCH AUTOSEL 6.1 18/58] drm: panel-orientation-quirks: Add ZOTAC Gaming Zone

2025-06-01 Thread Sasha Levin
From: Vicki Pfau [ Upstream commit 96c85e428ebaeacd2c640eba075479ab92072ccd ] Add a panel orientation quirk for the ZOTAC Gaming Zone handheld gaming device. Signed-off-by: Vicki Pfau Reviewed-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20250313211643.860786-2...@en

[PATCH AUTOSEL 6.1 29/58] drm/amdgpu/gfx8: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit c8b8d7a4f1c5cdfbd61d75302fb3e3cdefb1a7ab ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.1 21/58] drm/amdgpu/gfx7: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit be7652c23d833d1ab2c67b16e173b1a4e69d1ae6 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.1 13/58] drm/amd/display: Add NULL pointer checks in dm_force_atomic_commit()

2025-06-01 Thread Sasha Levin
From: Srinivasan Shanmugam [ Upstream commit 3f397cd203f247879c2f1a061e90d4c8d23655de ] This commit updates the dm_force_atomic_commit function to replace the usage of PTR_ERR_OR_ZERO with IS_ERR for checking error states after retrieving the Connector (drm_atomic_get_connector_state), CRTC (drm

[PATCH AUTOSEL 6.1 17/58] drm/amdgpu/gfx10: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 683308af030cd9b8d3f1de5cbc1ee51788878feb ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.14 052/102] drm/amdgpu: Disallow partition query during reset

2025-06-01 Thread Sasha Levin
From: Lijo Lazar [ Upstream commit 75f138db48c5c493f0ac198c2579d52fc6a4c4a0 ] Reject queries to get current partition modes during reset. Also, don't accept sysfs interface requests to switch compute partition mode while in reset. Signed-off-by: Lijo Lazar Reviewed-by: Hawking Zhang Reviewed-

[PATCH AUTOSEL 6.1 14/58] drm/amd/display: Skip to enable dsc if it has been off

2025-06-01 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit 8b8a602c985e99074fa1d5233cd224b7bcfb9df2 ] [Why] It makes DSC enable when we commit the stream which need keep power off.And then it will skip to disable DSC if pipe reset at this situation as power has been off. It may cause the DSC unexpected enable on the pi

[PATCH AUTOSEL 6.14 060/102] drm/amd/display: Correct prefetch calculation

2025-06-01 Thread Sasha Levin
From: TungYu Lu [ Upstream commit 33bc89949b4366dff2dca30bc61ba1c0cbcd2ab2 ] [Why] The minimum value of the dst_y_prefetch_equ was not correct in prefetch calculation whice causes OPTC underflow. [How] Add the min operation of dst_y_prefetch_equ in prefetch calculation for legacy DML. Reviewed

[PATCH AUTOSEL 6.1 15/58] drm/msm/a6xx: Increase HFI response timeout

2025-06-01 Thread Sasha Levin
From: Akhil P Oommen [ Upstream commit 5f02f5e78ec9688e29b6857813185b1181796abe ] When ACD feature is enabled, it triggers some internal calibrations which result in a pretty long delay during the first HFI perf vote. So, increase the HFI response timeout to match the downstream driver. Signed-

[PATCH AUTOSEL 6.14 027/102] drm/msm/hdmi: add runtime PM calls to DDC transfer function

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit 531b4e2c206e5f7dead04d9da84dfa693ac57481 ] We must be sure that the HDMI controller is powered on, while performing the DDC transfer. Add corresponding runtime PM calls to msm_hdmi_i2c_xfer(). Reviewed-by: Jessica Zhang Signed-off-by: Dmitry Baryshkov

[PATCH AUTOSEL 6.15 001/110] drm/amd/display: disable DPP RCG before DPP CLK enable

2025-06-01 Thread Sasha Levin
From: Charlene Liu [ Upstream commit 1bcd679209420305a86833bc357d50021909edaf ] [why] DPP CLK enable needs to disable DPPCLK RCG first. The DPPCLK_en in dccg should always be enabled when the corresponding pipe is enabled. Reviewed-by: Hansen Dsouza Signed-off-by: Charlene Liu Signed-off-by:

[PATCH AUTOSEL 6.1 11/58] drm/msm/hdmi: add runtime PM calls to DDC transfer function

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit 531b4e2c206e5f7dead04d9da84dfa693ac57481 ] We must be sure that the HDMI controller is powered on, while performing the DDC transfer. Add corresponding runtime PM calls to msm_hdmi_i2c_xfer(). Reviewed-by: Jessica Zhang Signed-off-by: Dmitry Baryshkov

[PATCH AUTOSEL 6.1 02/58] drm/dp: add option to disable zero sized address only transactions.

2025-06-01 Thread Sasha Levin
From: Dave Airlie [ Upstream commit f0ddbb1eed1898286d2bd99fd6ab64ca9700d267 ] Some older NVIDIA and some newer NVIDIA hardware/firmware seems to have issues with address only transactions (firmware rejects them). Add an option to the core drm dp to avoid address only transactions, This just pu

[PATCH AUTOSEL 6.1 09/58] drm/amdgpu/gfx11: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a9a8bccaa3ba64d509cf7df387cf0b5e1cd06499 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.1 08/58] drm/bridge: anx7625: change the gpiod_set_value API

2025-06-01 Thread Sasha Levin
From: Ayushi Makhija [ Upstream commit 50935044e58e563cdcfd556d62f27bc8744dd64e ] Use gpiod_set_value_cansleep() instead of gpiod_set_value() to fix the below call trace in the boot log: [5.690534] Call trace: [5.690536] gpiod_set_value+0x40/0xa4 [5.690540] anx7625_runtime_pm_resu

[PATCH AUTOSEL 6.1 04/58] drm/amd/display: DCN32 null data check

2025-06-01 Thread Sasha Levin
From: Yihan Zhu [ Upstream commit c9646e5a7e01c3ede286ec5edd4fcb2e1e80261d ] [WHY & HOW] Avoid null curve data structure used in the cm block for the potential issue. Reviewed-by: Charlene Liu Signed-off-by: Yihan Zhu Signed-off-by: Zaeem Mohamed Tested-by: Mark Broadworth Signed-off-by: Al

[PATCH AUTOSEL 6.12 03/93] drm/amdgpu/gfx6: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 8307ebc15c1ea98a8a0b7837af1faa6c01514577 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now let me understand what the bug is.

[PATCH AUTOSEL 6.1 05/58] drm/bridge: analogix_dp: Add irq flag IRQF_NO_AUTOEN instead of calling disable_irq()

2025-06-01 Thread Sasha Levin
From: Damon Ding [ Upstream commit efab13e7d13a641a22c7508cde6e1a5285161944 ] The IRQF_NO_AUTOEN can be used for the drivers that don't want interrupts to be enabled automatically via devm_request_threaded_irq(). Using this flag can provide be more robust compared to the way of calling disable_i

[PATCH AUTOSEL 6.1 01/58] drm/amdgpu/gfx6: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 8307ebc15c1ea98a8a0b7837af1faa6c01514577 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now let me understand what the bug is.

[PATCH AUTOSEL 6.6 33/66] drm/amdgpu/gfx8: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit c8b8d7a4f1c5cdfbd61d75302fb3e3cdefb1a7ab ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.6 38/66] drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB

2025-06-01 Thread Sasha Levin
From: Amber Lin [ Upstream commit ab9fcc6362e0699fc1150aa1d8503c40fce2c1e1 ] When submitting MQD to CP, set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB bit so it'll allow SDMA preemption if there is a massive command buffer of long-running SDMA commands. Signed-off-by: Amber Lin Acked-by: Alex Deucher

[PATCH AUTOSEL 6.6 37/66] drm/msm/dpu: don't select single flush for active CTL blocks

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit e93eee524bb78f3ee4b78654d0083382f98b3d23 ] In case of ACTIVE CTLs, a single CTL is being used for flushing all INTF blocks. Don't skip programming the CTL on those targets. Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov Patch

[PATCH AUTOSEL 6.6 36/66] drm/amd/display: Correct prefetch calculation

2025-06-01 Thread Sasha Levin
From: TungYu Lu [ Upstream commit 33bc89949b4366dff2dca30bc61ba1c0cbcd2ab2 ] [Why] The minimum value of the dst_y_prefetch_equ was not correct in prefetch calculation whice causes OPTC underflow. [How] Add the min operation of dst_y_prefetch_equ in prefetch calculation for legacy DML. Reviewed

[PATCH AUTOSEL 6.14 034/102] drm/amd/display: Do Not Consider DSC if Valid Config Not Found

2025-06-01 Thread Sasha Levin
From: Fangzhi Zuo [ Upstream commit 146a4429b5674b7520a96aea34233949731c6086 ] [why] In the mode validation, mst dsc is considered for bw calculation after common dsc config is determined. Currently it considered common dsc config is found if max and min target bpp are non zero which is not accu

[PATCH AUTOSEL 6.6 34/66] drm/amdgpu/gfx9: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a4a4c0ae6742ec7d6bf1548d2c6828de440814a0 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now I'll analyze the specific code cha

[PATCH AUTOSEL 6.14 061/102] drm/amd/display: Restructure DMI quirks

2025-06-01 Thread Sasha Levin
From: Mario Limonciello [ Upstream commit de6485e3df24170d71706d6f2c55a496443c3803 ] [Why] DMI quirks are relatively big code that makes amdgpu_dm 200 lines larger. [How] Move DMI quirks into a dedicated source file and make all quirks variables for `struct amdgpu_display_manager`. Reviewed-by

[PATCH AUTOSEL 6.14 029/102] drm/amd/display: Add NULL pointer checks in dm_force_atomic_commit()

2025-06-01 Thread Sasha Levin
From: Srinivasan Shanmugam [ Upstream commit 3f397cd203f247879c2f1a061e90d4c8d23655de ] This commit updates the dm_force_atomic_commit function to replace the usage of PTR_ERR_OR_ZERO with IS_ERR for checking error states after retrieving the Connector (drm_atomic_get_connector_state), CRTC (drm

[PATCH AUTOSEL 6.14 064/102] drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB

2025-06-01 Thread Sasha Levin
From: Amber Lin [ Upstream commit ab9fcc6362e0699fc1150aa1d8503c40fce2c1e1 ] When submitting MQD to CP, set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB bit so it'll allow SDMA preemption if there is a massive command buffer of long-running SDMA commands. Signed-off-by: Amber Lin Acked-by: Alex Deucher

[PATCH AUTOSEL 6.14 073/102] drm/panel: simple: Add POWERTIP PH128800T004-ZZA01 panel entry

2025-06-01 Thread Sasha Levin
From: Antonin Godard [ Upstream commit 6374a1005f20c1c2f7bbcc1bc735c2be4910a685 ] Add support for the POWERTIP PH128800T004-ZZA01 10.1" (1280x800) LCD-TFT panel. Its panel description is very much like the POWERTIP PH128800T006-ZHC01 configured below this one, only its timings are different. Si

[PATCH AUTOSEL 6.6 17/66] drm/amd/display: Skip to enable dsc if it has been off

2025-06-01 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit 8b8a602c985e99074fa1d5233cd224b7bcfb9df2 ] [Why] It makes DSC enable when we commit the stream which need keep power off.And then it will skip to disable DSC if pipe reset at this situation as power has been off. It may cause the DSC unexpected enable on the pi

[PATCH AUTOSEL 6.6 25/66] drm/amdgpu/gfx7: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit be7652c23d833d1ab2c67b16e173b1a4e69d1ae6 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.6 22/66] drm: panel-orientation-quirks: Add ZOTAC Gaming Zone

2025-06-01 Thread Sasha Levin
From: Vicki Pfau [ Upstream commit 96c85e428ebaeacd2c640eba075479ab92072ccd ] Add a panel orientation quirk for the ZOTAC Gaming Zone handheld gaming device. Signed-off-by: Vicki Pfau Reviewed-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20250313211643.860786-2...@en

[PATCH AUTOSEL 6.6 21/66] drm/amdgpu/gfx10: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 683308af030cd9b8d3f1de5cbc1ee51788878feb ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.6 19/66] drm/amd/display: Do Not Consider DSC if Valid Config Not Found

2025-06-01 Thread Sasha Levin
From: Fangzhi Zuo [ Upstream commit 146a4429b5674b7520a96aea34233949731c6086 ] [why] In the mode validation, mst dsc is considered for bw calculation after common dsc config is determined. Currently it considered common dsc config is found if max and min target bpp are non zero which is not accu

[PATCH AUTOSEL 6.6 18/66] drm/msm/a6xx: Increase HFI response timeout

2025-06-01 Thread Sasha Levin
From: Akhil P Oommen [ Upstream commit 5f02f5e78ec9688e29b6857813185b1181796abe ] When ACD feature is enabled, it triggers some internal calibrations which result in a pretty long delay during the first HFI perf vote. So, increase the HFI response timeout to match the downstream driver. Signed-

[PATCH AUTOSEL 6.6 15/66] drm/amd/display: Add NULL pointer checks in dm_force_atomic_commit()

2025-06-01 Thread Sasha Levin
From: Srinivasan Shanmugam [ Upstream commit 3f397cd203f247879c2f1a061e90d4c8d23655de ] This commit updates the dm_force_atomic_commit function to replace the usage of PTR_ERR_OR_ZERO with IS_ERR for checking error states after retrieving the Connector (drm_atomic_get_connector_state), CRTC (drm

[PATCH AUTOSEL 6.6 13/66] drm/msm/hdmi: add runtime PM calls to DDC transfer function

2025-06-01 Thread Sasha Levin
From: Dmitry Baryshkov [ Upstream commit 531b4e2c206e5f7dead04d9da84dfa693ac57481 ] We must be sure that the HDMI controller is powered on, while performing the DDC transfer. Add corresponding runtime PM calls to msm_hdmi_i2c_xfer(). Reviewed-by: Jessica Zhang Signed-off-by: Dmitry Baryshkov

[PATCH AUTOSEL 6.6 05/66] drm/amd/display: DCN32 null data check

2025-06-01 Thread Sasha Levin
From: Yihan Zhu [ Upstream commit c9646e5a7e01c3ede286ec5edd4fcb2e1e80261d ] [WHY & HOW] Avoid null curve data structure used in the cm block for the potential issue. Reviewed-by: Charlene Liu Signed-off-by: Yihan Zhu Signed-off-by: Zaeem Mohamed Tested-by: Mark Broadworth Signed-off-by: Al

[PATCH AUTOSEL 6.6 11/66] drm/amdgpu/gfx11: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a9a8bccaa3ba64d509cf7df387cf0b5e1cd06499 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.6 01/66] drm/amdgpu/gfx6: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 8307ebc15c1ea98a8a0b7837af1faa6c01514577 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now let me understand what the bug is.

[PATCH AUTOSEL 6.6 10/66] drm/bridge: anx7625: change the gpiod_set_value API

2025-06-01 Thread Sasha Levin
From: Ayushi Makhija [ Upstream commit 50935044e58e563cdcfd556d62f27bc8744dd64e ] Use gpiod_set_value_cansleep() instead of gpiod_set_value() to fix the below call trace in the boot log: [5.690534] Call trace: [5.690536] gpiod_set_value+0x40/0xa4 [5.690540] anx7625_runtime_pm_resu

[PATCH AUTOSEL 6.6 06/66] drm/bridge: analogix_dp: Add irq flag IRQF_NO_AUTOEN instead of calling disable_irq()

2025-06-01 Thread Sasha Levin
From: Damon Ding [ Upstream commit efab13e7d13a641a22c7508cde6e1a5285161944 ] The IRQF_NO_AUTOEN can be used for the drivers that don't want interrupts to be enabled automatically via devm_request_threaded_irq(). Using this flag can provide be more robust compared to the way of calling disable_i

[PATCH AUTOSEL 6.6 03/66] drm/dp: add option to disable zero sized address only transactions.

2025-06-01 Thread Sasha Levin
From: Dave Airlie [ Upstream commit f0ddbb1eed1898286d2bd99fd6ab64ca9700d267 ] Some older NVIDIA and some newer NVIDIA hardware/firmware seems to have issues with address only transactions (firmware rejects them). Add an option to the core drm dp to avoid address only transactions, This just pu

[PATCH AUTOSEL 6.12 64/93] drm/xe/uc: Remove static from loop variable

2025-06-01 Thread Sasha Levin
From: Lucas De Marchi [ Upstream commit 75584c8213d341ddd5b7c72abf822e62f4b3ab27 ] The `entries` variable is used to loop through the array - it's supposed to be const, but not static. Reviewed-by: John Harrison Link: https://patchwork.freedesktop.org/patch/msgid/20250307-xe-per-gt-fw-v1-1-45

[PATCH AUTOSEL 6.12 66/93] drm/panel: simple: Add POWERTIP PH128800T004-ZZA01 panel entry

2025-06-01 Thread Sasha Levin
From: Antonin Godard [ Upstream commit 6374a1005f20c1c2f7bbcc1bc735c2be4910a685 ] Add support for the POWERTIP PH128800T004-ZZA01 10.1" (1280x800) LCD-TFT panel. Its panel description is very much like the POWERTIP PH128800T006-ZHC01 configured below this one, only its timings are different. Si

[PATCH AUTOSEL 6.12 58/93] drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB

2025-06-01 Thread Sasha Levin
From: Amber Lin [ Upstream commit ab9fcc6362e0699fc1150aa1d8503c40fce2c1e1 ] When submitting MQD to CP, set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB bit so it'll allow SDMA preemption if there is a massive command buffer of long-running SDMA commands. Signed-off-by: Amber Lin Acked-by: Alex Deucher

[PATCH AUTOSEL 6.12 54/93] drm/amdgpu/gfx9: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit a4a4c0ae6742ec7d6bf1548d2c6828de440814a0 ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- Now I'll analyze the specific code cha

[PATCH AUTOSEL 6.12 53/93] drm/amd/display: disable EASF narrow filter sharpening

2025-06-01 Thread Sasha Levin
From: Samson Tam [ Upstream commit c8d7e0be8183f4375a5cf5c3efd0c678129ea4de ] [Why & How] Default should be 1 to disable EASF narrow filter sharpening. Reviewed-by: Alvin Lee Signed-off-by: Samson Tam Signed-off-by: Ray Wu Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Signed-off-by

[PATCH AUTOSEL 6.12 52/93] drm/amdgpu/gfx8: fix CSIB handling

2025-06-01 Thread Sasha Levin
From: Alex Deucher [ Upstream commit c8b8d7a4f1c5cdfbd61d75302fb3e3cdefb1a7ab ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- **YES** This commit should be backport

[PATCH AUTOSEL 6.12 49/93] drm/amdgpu: Disallow partition query during reset

2025-06-01 Thread Sasha Levin
From: Lijo Lazar [ Upstream commit 75f138db48c5c493f0ac198c2579d52fc6a4c4a0 ] Reject queries to get current partition modes during reset. Also, don't accept sysfs interface requests to switch compute partition mode while in reset. Signed-off-by: Lijo Lazar Reviewed-by: Hawking Zhang Reviewed-

[PATCH AUTOSEL 6.12 48/93] drm/amdgpu: fix MES GFX mask

2025-06-01 Thread Sasha Levin
From: Arvind Yadav [ Upstream commit 9d3afcb7b9f950b9b7c58ceeeb9e71f3476e69ed ] Current MES GFX mask prevents FW to enable oversubscription. This patch does the following: - Fixes the mask values and adds a description for the same - Removes the central mask setup and makes it IP specific, as it

[PATCH AUTOSEL 6.12 44/93] drm/amd/display: Correct SSC enable detection for DCN351

2025-06-01 Thread Sasha Levin
From: Kevin Gao [ Upstream commit d01a7306e1bec9c02268793f58144e3e42695bf0 ] [Why] Due to very small clock register delta between DCN35 and DCN351, clock spread is being checked on the wrong register for DCN351, causing the display driver to believe that DPREFCLK downspread to be disabled when i

[PATCH AUTOSEL 6.15 032/110] drm/amdgpu: Add basic validation for RAS header

2025-06-01 Thread Sasha Levin
From: Lijo Lazar [ Upstream commit 5df0d6addb7e9b6f71f7162d1253762a5be9138e ] If RAS header read from EEPROM is corrupted, it could result in trying to allocate huge memory for reading the records. Add some validation to header fields. Signed-off-by: Lijo Lazar Reviewed-by: Hawking Zhang Sign

  1   2   3   >