[PATCH] drm/amdgpu: Drop redundant parameter in amdgpu_gfx_kiq_init_ring

2024-02-18 Thread Ma Jun
Drop redundant parameters in function amdgpu_gfx_kiq_init_ring to simplify the code Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 6 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 +--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 5 ++--- drivers/gpu/drm/amd/amdgpu/gfx_v1

Re: [PATCH] drm/buddy: Modify duplicate list_splice_tail call

2024-02-18 Thread Arunpravin Paneer Selvam
Hi Christian, On 2/16/2024 5:29 PM, Christian König wrote: Am 16.02.24 um 12:46 schrieb Arunpravin Paneer Selvam: On 2/16/2024 4:41 PM, Matthew Auld wrote: On 16/02/2024 10:00, Arunpravin Paneer Selvam wrote: Remove the duplicate list_splice_tail call when the total_allocated < size condi

[PATCH 2/2] drm/amdgpu: add new aca_smu_type support

2024-02-18 Thread Yang Wang
Add new types to distinguish between ACA error type and smu mca type. e.g.: the ACA_ERROR_TYPE_DEFERRED is not matched any smu mca valid bank channel, so add new type 'aca_smu_type' to distinguish aca error type and smu mca type. Signed-off-by: Yang Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ac

[PATCH 1/2] drm/amdgpu: fix bank error type

2024-02-18 Thread Yang Wang
fix bank error type issue. Fixes: ecee078c8d169 ("drm/amdgpu: implement RAS ACA driver framework") Signed-off-by: Yang Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/driver

Re: [PATCH] drm/amdgpu: add UTCL2 RAS poison query for gfx 9.4.3

2024-02-18 Thread Lazar, Lijo
On 2/18/2024 12:26 PM, Tao Zhou wrote: > Add help function to query and reset RAS UTCL2 poison status. > > Signed-off-by: Tao Zhou > --- > drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c

Re: [PATCH v2 2/2] drm/tests/drm_buddy: add alloc_contiguous test

2024-02-18 Thread Guenter Roeck
On Wed, Feb 14, 2024 at 06:48:53PM +0530, Arunpravin Paneer Selvam wrote: > From: Matthew Auld > > Sanity check DRM_BUDDY_CONTIGUOUS_ALLOCATION. > > v2: Fix checkpatch warnings. > > Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3097 > Signed-off-by: Matthew Auld > Cc: Arunpravin Pane

[PATCH] drm/amd/display: clean unnecessary braces

2024-02-18 Thread Túlio Fernandes
Clean unnecessary braces in dc/dcn32/dcn32_resource_helpers.c and dc/dcn32/dcn201_link_encoder.c Signed-off-by: Túlio Fernandes --- .../display/dc/dcn32/dcn32_resource_helpers.c| 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/display/d