[PATCH] Documentation/gpu: remove duplicate entries in different glossaries

2025-02-26 Thread Alex Deucher
Some items were defined in both the general and DC glossaries. Remove the duplicate entries. Fixes: 2df30ae0ba0b ("Documentation/gpu: Add acronyms for some firmware components") Reported-by: Stephen Rothwell Cc: Rodrigo Siqueira Signed-off-by: Alex Deucher --- Documentation/gpu/amdgpu/display

[PATCH 2/2] drm/amdgpu: Fix core reset sequence for JPEG5_0_1

2025-02-26 Thread Sathishkumar S
For cores 1 through 9 repair the core reset sequence by adjusting offsets to access the expected registers. Signed-off-by: Sathishkumar S --- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/jpe

Re: [PATCH v2] drm/amd/display: fix type mismatch in CalculateDynamicMetadataParameters()

2025-02-26 Thread Alex Hung
On 2/26/25 04:10, Vitaliy Shevtsov wrote: There is a type mismatch between what CalculateDynamicMetadataParameters() takes and what is passed to it. Currently this function accepts several args as signed long but it's called with unsigned integers. On some systems where long is 32 bits and one

Re: [PATCH v2] drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params

2025-02-26 Thread Alex Hung
Reviewed-by: Alex Hung On 2/26/25 01:37, Ma Ke wrote: Null pointer dereference issue could occur when pipe_ctx->plane_state is null. The fix adds a check to ensure 'pipe_ctx->plane_state' is not null before accessing. This prevents a null pointer dereference. Found by code review. Cc: sta...@

Re: [PATCH v2] drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params

2025-02-26 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Feb 26, 2025 at 2:04 PM Alex Hung wrote: > > Reviewed-by: Alex Hung > > On 2/26/25 01:37, Ma Ke wrote: > > Null pointer dereference issue could occur when pipe_ctx->plane_state > > is null. The fix adds a check to ensure 'pipe_ctx->plane_state' is not > > null bef

Re: [PATCH] drm/amdgpu: Create a debug option to disable ring reset

2025-02-26 Thread Alex Deucher
Applied. Thanks! On Wed, Feb 26, 2025 at 8:11 AM André Almeida wrote: > > Prior to the addition of ring reset, the debug option > `debug_disable_soft_recovery` could be used to force a full device > reset. Now that we have ring reset, create a debug option to disable > them in amdgpu, forcing th

[PATCH 1/2] drm/amdkfd: Add pm_config_dequeue_wait_counts API

2025-02-26 Thread Harish Kasiviswanathan
Update pm_update_grace_period() to more cleaner pm_config_dequeue_wait_counts(). Previously, grace_period variable was overloaded as a variable and a macro, making it inflexible to configure additional dequeue wait times. pm_config_dequeue_wait_counts() now takes in a cmd / variable. This allows f

[PATCH 2/2] drm/amdgpu: Reduce dequeue retry timeout for gfx9 family

2025-02-26 Thread Harish Kasiviswanathan
Dequeue retry timeout controls the interval between checks for unmet conditions. On MI series, reduce this from 0x40 to 0x1 (~ 1 uS). The cost of additional bandwidth consumed by CP when polling memory shouldn't be substantial. Signed-off-by: Harish Kasiviswanathan --- .../drm/amd/amdgpu/amdgpu_

[pull] amdgpu, amdkfd drm-fixes-6.14

2025-02-26 Thread Alex Deucher
Hi Dave, Simona, Fixes for 6.14. The following changes since commit d082ecbc71e9e0bf49883ee4afd435a77a5101b6: Linux 6.14-rc4 (2025-02-23 12:32:57 -0800) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.14-2025-02-26 for you to fe

[PATCH] drm/amdgpu: Create a debug option to disable ring reset

2025-02-26 Thread André Almeida
Prior to the addition of ring reset, the debug option `debug_disable_soft_recovery` could be used to force a full device reset. Now that we have ring reset, create a debug option to disable them in amdgpu, forcing the driver to go with the full device reset path again when both options are combined

[PATCH][next] drm/amdgpu: Fix spelling mistake "initiailize" -> "initialize" and grammar

2025-02-26 Thread Colin Ian King
There is a spelling mistake and a grammatical error in a dev_err message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c b/drivers/gpu/drm/amd/amdgpu/

Re: [PATCH][next] drm/amdgpu: Fix spelling mistake "initiailize" -> "initialize" and grammar

2025-02-26 Thread Alex Deucher
Applied. Thanks! On Wed, Feb 26, 2025 at 4:13 AM Zhou1, Tao wrote: > > [AMD Official Use Only - AMD Internal Distribution Only] > > Reviewed-by: Tao Zhou > > > -Original Message- > > From: Colin Ian King > > Sent: Wednesday, February 26, 2025 4:58 PM > > To: Deucher, Alexander ; Koenig

Re: [PATCH] Documentation/gpu: remove duplicate entries in different glossaries

2025-02-26 Thread Rodrigo Siqueira
On 02/26, Alex Deucher wrote: > Some items were defined in both the general and DC glossaries. > Remove the duplicate entries. > > Fixes: 2df30ae0ba0b ("Documentation/gpu: Add acronyms for some firmware > components") > Reported-by: Stephen Rothwell > Cc: Rodrigo Siqueira > Signed-off-by: Alex

[PATCH] drm/amd/pm: add fan abnormal detection

2025-02-26 Thread Kenneth Feng
add fan abnormal detection on smu v14.0.2&smu v14.0.3 Signed-off-by: Kenneth Feng --- .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c| 52 +++ 1 file changed, 52 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c b/drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v1

RE: [PATCH] drm/amd/pm: add fan abnormal detection

2025-02-26 Thread Wang, Yang(Kevin)
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Yang Wang Best Regards, Kevin -Original Message- From: Kenneth Feng Sent: Thursday, February 27, 2025 10:16 To: amd-gfx@lists.freedesktop.org Cc: Wang, Yang(Kevin) ; Feng, Kenneth Subject: [PATCH] drm/amd/pm: add f

[PATCH 1/2] drm/amdgpu: Fix core reset sequence for JPEG4_0_3

2025-02-26 Thread Sathishkumar S
For cores 1 through 7 repair the core reset sequence by adjusting offsets to access the expected registers. Signed-off-by: Sathishkumar S --- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/jpe

[PATCH 4/5] drm/amdkfd: Fix pqm_destroy_queue race with GPU reset

2025-02-26 Thread Philip Yang
If GPU in reset, destroy_queue return -EIO, pqm_destroy_queue should delete the queue from process_queue_list and free the resource. Signed-off-by: Philip Yang Reviewed-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[PATCH 3/5] drm/amdkfd: Fix mode1 reset crash issue

2025-02-26 Thread Philip Yang
If HW scheduler hangs and mode1 reset is used to recover GPU, KFD signal user space to abort the processes. After process abort exit, user queues still use the GPU to access system memory before h/w is reset while KFD cleanup worker free system memory and free VRAM. There is use-after-free race bu

[PATCH 5/5] drm/amdkfd: debugfs hang_hws skip GPU with MES

2025-02-26 Thread Philip Yang
debugfs hang_hws is used by GPU reset test with HWS, for MES this crash the kernel with NULL pointer access because dqm->packet_mgr is not setup for MES path. Skip GPU with MES for now, MES hang_hws debugfs interface will be supported later. Signed-off-by: Philip Yang Reviewed-by: Kent Russell

[PATCH 2/5] drm/amdkfd: KFD release_work possible circular locking

2025-02-26 Thread Philip Yang
If waiting for gpu reset done in KFD release_work, thers is WARNING: possible circular locking dependency detected #2 kfd_create_process kfd_process_mutex flush kfd release work #1 kfd release work wait for amdgpu reset work #0 amdgpu_device_gpu_reset k

[PATCH 1/5] drm/amdkfd: Remove kfd_process_hw_exception worker

2025-02-26 Thread Philip Yang
With GPU reset-domain worker implemented, KFD hw_exception worker is not needed any more, just call amdgpu_amdkfd_gpu_reset directly from kfd_hws_hang. Suggested-by: Felix Kuehling Signed-off-by: Philip Yang Reviewed-by: Lijo Lazar --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 11

[PATCH 0/5] Fix mode1 reset test failures

2025-02-26 Thread Philip Yang
mode1 reset test running with compute applications trigger many different failures, such as machine reboot, kernel crash with general protection fault, NULL pointer access or cpu page fault etc from random calling backtrace. With KASAN and slub_debug enabled kernel, we capture slub left-redzone ov

[PATCH v3] drm/amd/display: fix type mismatch in CalculateDynamicMetadataParameters()

2025-02-26 Thread Vitaliy Shevtsov
There is a type mismatch between what CalculateDynamicMetadataParameters() takes and what is passed to it. Currently this function accepts several args as signed long but it's called with unsigned integers and integer. On some systems where long is 32 bits and one of these unsigned int params is gr

Re: [PATCH 0/5] Fix mode1 reset test failures

2025-02-26 Thread Felix Kuehling
The series is Reviewed-by: Felix Kuehling On 2025-02-26 12:14, Philip Yang wrote: mode1 reset test running with compute applications trigger many different failures, such as machine reboot, kernel crash with general protection fault, NULL pointer access or cpu page fault etc from random calli

[PATCH 2/2] drm/amdkfd: flag per-sdma queue reset supported to user space

2025-02-26 Thread Jonathan Kim
Similar to compute queue reset, flag SDMA queue reset capabilities to user space for safe testing. Signed-off-by: Jonathan Kim --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 5 + drivers/gpu/drm/amd/amdkfd/kfd_topology.h | 1 + include/uapi/linux/kfd_sysfs.h| 3 +++ 3 files chan

[PATCH 1/2] drm/amdkfd: implement per queue sdma reset for gfx 9.4+

2025-02-26 Thread Jonathan Kim
To reset hung SDMA queues on GFX 9.4+ for the GFX9 family, a soft reset must be issued through SMU. Since soft resets will reset an entire SDMA engine, use a common KGD call to do the reset as the KGD will handle avoiding a reset of in flight GFX and paging queues on that engine. In addition, cre

RE: [PATCH] drm/amdkfd: clamp queue size to minimum

2025-02-26 Thread Kasiviswanathan, Harish
[AMD Official Use Only - AMD Internal Distribution Only] A minor comment. With that Reviewed-by: Harish Kasiviswanathan Please add pr_debug() comment stating that the size is incorrect. -Original Message- From: Cornwall, Jay Sent: Wednesday, February 26, 2025 3:55 PM To: Yat Sin, Davi

Re: [PATCH] drm/amdkfd: clamp queue size to minimum

2025-02-26 Thread Jay Cornwall
On 2/25/2025 20:41, David Yat Sin wrote: If queue size is less than minimum, clamp it to minimum to prevent underflow when writing queue mqd. Signed-off-by: David Yat Sin Reviewed-by: Jay Cornwall

Re: [PATCH v3] drm/amd/display: fix type mismatch in CalculateDynamicMetadataParameters()

2025-02-26 Thread Alex Hung
Reviewed-by: Alex Hung On 2/26/25 13:28, Vitaliy Shevtsov wrote: There is a type mismatch between what CalculateDynamicMetadataParameters() takes and what is passed to it. Currently this function accepts several args as signed long but it's called with unsigned integers and integer. On some sys

RE: [PATCH] drm/amdkfd: remove kfd_pasid.c from amdgpu driver build

2025-02-26 Thread Chen, Xiaogang
[AMD Official Use Only - AMD Internal Distribution Only] ping -Original Message- From: Xiaogang.Chen Sent: Monday, February 24, 2025 5:00 PM To: amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Chen, Xiaogang Subject: [PATCH] drm/amdkfd: remove kfd_pasid.c from amdgpu driver build

Re: [PATCH] drm/amdkfd: clamp queue size to minimum

2025-02-26 Thread Philip Yang
On 2025-02-25 21:41, David Yat Sin wrote: If queue size is less than minimum, clamp it to minimum to prevent underflow when writing queue mqd. Signed-off-by: David Yat Sin --- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 4 include/uapi/linux/kfd_ioctl.h | 2 ++ 2 files chang

Re: [PATCH] drm/amdkfd: remove kfd_pasid.c from amdgpu driver build

2025-02-26 Thread Felix Kuehling
On 2025-02-24 17:59, Xiaogang.Chen wrote: From: Xiaogang Chen Since kfd uses pasid values from graphic driver now do not need use kfd pasid fucntions. Signed-off-by: Xiaogang Chen Reviewed-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/Makefile| 1 - drivers/gpu/drm/amd/amdkf

[PATCH] drm/amd/pm: disable gfxoff on the specific sku

2025-02-26 Thread Kenneth Feng
disable gfxoff on the specific sku based on the requirement Signed-off-by: Kenneth Feng --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu

Re: [PATCH] drm/amd/pm: disable gfxoff on the specific sku

2025-02-26 Thread Lazar, Lijo
On 2/26/2025 1:37 PM, Kenneth Feng wrote: > disable gfxoff on the specific sku based on the requirement > > Signed-off-by: Kenneth Feng Reviewed-by: Lijo Lazar Thanks, Lijo > --- > drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 5 + > 1 file changed, 5 insertions(+) > > diff

[PATCH v2] drm/amd/display: fix type mismatch in CalculateDynamicMetadataParameters()

2025-02-26 Thread Vitaliy Shevtsov
There is a type mismatch between what CalculateDynamicMetadataParameters() takes and what is passed to it. Currently this function accepts several args as signed long but it's called with unsigned integers. On some systems where long is 32 bits and one of these input params is greater than INT_MAX

[PATCH 0/3] Fit two IB struct amdgpu_job into a 512 byte slab

2025-02-26 Thread Tvrtko Ursulin
A lot of the workloads create jobs with just one to two IBs, and if we re-order some struct members and shrink some others we can stop those allocations spilling into the 1k SLAB bucket. Before: sizeof(struct amdgpu_job) + 2 * sizeof(struct amdgpu_ib) = 480 + 80 = 560 After: sizeof(struct a

[PATCH 2/3] drm/amdgpu: Reduce holes in struct amdgpu_job

2025-02-26 Thread Tvrtko Ursulin
Lets group same width types closer together to reduce the number and size of the holes in the struct. Before: /* size: 480, cachelines: 8, members: 30 */ /* sum members: 469, holes: 3, sum holes: 11 */ /* forced alignments: 1 */ /* last cacheline: 32 bytes */ Afte

[PATCH 1/3] drm/amdgpu: Remove hole from struct amdgpu_ib

2025-02-26 Thread Tvrtko Ursulin
Group the 32- vs 64- members together to remove hole from the struct. Before: /* size: 40, cachelines: 1, members: 5 */ /* sum members: 32, holes: 1, sum holes: 4 */ /* padding: 4 */ /* last cacheline: 40 bytes */ After: /* size: 32, cachelines: 1, members

[PATCH 3/3] drm/amdgpu: Shrink struct amdgpu_job further

2025-02-26 Thread Tvrtko Ursulin
By moving the booleans to flags and shrinking some fields we can stop spilling job allocation into the 1k SLAB even with two appended indirect buffers. End result for struct amdgpu_job: /* size: 448, cachelines: 7, members: 24 */ /* forced alignments: 1 */ So appending two IB buf

[PATCH v2] drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params

2025-02-26 Thread Ma Ke
Null pointer dereference issue could occur when pipe_ctx->plane_state is null. The fix adds a check to ensure 'pipe_ctx->plane_state' is not null before accessing. This prevents a null pointer dereference. Found by code review. Cc: sta...@vger.kernel.org Fixes: 3be5262e353b ("drm/amd/display: Ren

RE: [PATCH][next] drm/amdgpu: Fix spelling mistake "initiailize" -> "initialize" and grammar

2025-02-26 Thread Zhou1, Tao
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Tao Zhou > -Original Message- > From: Colin Ian King > Sent: Wednesday, February 26, 2025 4:58 PM > To: Deucher, Alexander ; Koenig, Christian > ; David Airlie ; Simona Vetter > ; Zhou1, Tao ; amd- > g...@lists.freede

[PATCH] drm/amdgpu/mes: remove unused functions

2025-02-26 Thread Alex Deucher
Leftover from the MES self tests that were removed previously. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 800 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 41 -- 2 files changed, 841 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdg

[PATCH 1/2] drm/amdgpu/gfx11: don't read registers in mqd init

2025-02-26 Thread Alex Deucher
Just use the default values. There's not need to get the value from hardware and it could cause problems if we do that at runtime and gfxoff is active. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 47 ++ 1 file changed, 32 insertions(+), 15 de

[PATCH 2/2] drm/amdgpu: validate user queue parameters

2025-02-26 Thread Alex Deucher
Make sure these are set properly to ensure compatibility if we ever update the IOCTL interface. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c b/drive

[PATCH 1/2] drm/amdgpu/userq: handle runtime pm

2025-02-26 Thread Alex Deucher
Take a reference when we create a queue and drop it when we destroy the queue. We need to keep the device active while user queues are active. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --

[PATCH 2/2] drm/amdgpu/gfx12: don't read registers in mqd init

2025-02-26 Thread Alex Deucher
Just use the default values. There's not need to get the value from hardware and it could cause problems if we do that at runtime and gfxoff is active. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 48 ++ 1 file changed, 33 insertions(+), 15 de

[PATCH 1/3] drm/amdgpu: fix typos

2025-02-26 Thread Alexandre Demers
Found some typos while exploring amdgpu code. Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +- drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 3 ++- drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 2 +- 4 files changed,

[PATCH 3/3] drm/amdgpu: fix typos in SI

2025-02-26 Thread Alexandre Demers
Fix typos Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/si.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c index d1c06d0d6a2d..68f6f4ec8a47 100644 --- a/drivers/gpu/drm/amd/amdgpu/si.c

[PATCH 2/3] drm/radeon: fix typos

2025-02-26 Thread Alexandre Demers
Found some typos while exploring radeon code. Signed-off-by: Alexandre Demers --- drivers/gpu/drm/radeon/radeon_device.c | 6 +++--- drivers/gpu/drm/radeon/radeon_fence.c | 2 +- drivers/gpu/drm/radeon/si.c| 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/driver

[PATCH 3/6] drm/amdgpu: complete dce_v6_0_set_crtc_vline_interrupt_state() in DCE6

2025-02-26 Thread Alexandre Demers
dce_v6_0_set_crtc_vline_interrupt_state() was empty without any info to inform the user. Based on DCE8 and DCE10 code. Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 44 +++ 1 file changed, 44 insertions(+) diff --git a/drivers/gpu/drm/amd/a

[PATCH 0/6] add missing DCE6 functions and uniformize value definitions

2025-02-26 Thread Alexandre Demers
This series uniformizes some value definitions between DCE6, 8 and 10. It also adds missing code for dce_v6_0_soft_reset() and dce_v6_0_set_crtc_vline_interrupt_state() Alexandre Demers (6): drm/amdgpu: add or move defines for DCE6 in sid.h drm/amdgpu: add dce_v6_0_soft_reset() to DCE6 drm/

[PATCH 1/6] drm/amdgpu: add or move defines for DCE6 in sid.h

2025-02-26 Thread Alexandre Demers
For coherence with DCE8 et DCE10, add or move some values under sid.h. Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 63 ++- drivers/gpu/drm/amd/amdgpu/si_enums.h | 7 --- drivers/gpu/drm/amd/amdgpu/sid.h | 29 +--- 3 files chan

[PATCH 5/6] dmr/amdgpu: fix style in DCE6

2025-02-26 Thread Alexandre Demers
A few returns not where they should be. Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index fd2eb454a5d8..

[PATCH 4/6] drm/amdgpu: add some comments in DCE6

2025-02-26 Thread Alexandre Demers
Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index e805c4f9222c..fd2eb454a5d8 100644 --- a/drivers/gp

[PATCH 2/6] drm/amdgpu: add dce_v6_0_soft_reset() to DCE6

2025-02-26 Thread Alexandre Demers
DCE6 was missing soft reset, but it was easily identifiable under radeon. This should be it, pretty much as it is done under DCE8 and DCE10. Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 62 --- 1 file changed, 57 insertions(+), 5 deletions(-

[PATCH 6/6] drm/amdgpu: add defines for pin_offsets in DCE8

2025-02-26 Thread Alexandre Demers
Define pin_offsets values in the same way it is done in DCE8 Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/cikd.h | 9 + drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 14 +++--- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/amd/am