[PATCH 2/2] Revert "drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update"

2024-06-07 Thread ivlipski
From: Ivan Lipski [WHY] This patch is a dupplicate implementation of 14bcf29b, which we are reverting due to a regression with kms_plane_cursor IGT tests. This reverts commit 0d84450ae0db367780c3dd2e208fe4e6fe5565b8. Signed-off-by: Ivan Lipski --- .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane

[PATCH 1/2] Revert "drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor"

2024-06-07 Thread ivlipski
From: Ivan Lipski [WHY] This commit introduced a regression with kms_plane_cursor IGT tests, causing AMD Asics to fail these tests. This reverts commit 14bcf29b706f8ef423b86c9b783055b5b0c2cd35. Signed-off-by: Ivan Lipski --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c| 16 --

[PATCH 1/2] Revert "drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor"

2024-06-07 Thread ivlipski
From: Ivan Lipski [WHY] This commit introduced a regression with kms_plane_cursor IGT tests, causing AMD Asics to fail these tests. This reverts commit 14bcf29b706f8ef423b86c9b783055b5b0c2cd35. Signed-off-by: Ivan Lipski --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c| 16 --

[PATCH 1/1] Revert "drm/amd/display: fix bandwidth validation failure on DCN 2.1"

2024-01-05 Thread ivlipski
From: Ivan Lipski This commit causes dmesg-warn on several IGT tests on DCN 3.1.6: *ERROR* link_enc_cfg_validate: Invalid link encoder assignments - 0x1c Affected IGT tests include: amdgpu/[amd_assr|amd_plane|amd_hotplug] kms_atomic kms_color kms_flip kms_properties kms_universal_plane and some

[PATCH] Revert "drm/amdgpu: fix AGP init order"

2023-11-15 Thread ivlipski
From: Ivan Lipski This commit caused a page fault issue on RX7000 series GPU. It would occur when running different IGT tests, including kms_properties* kms_cursor_legacy* kms_prop_blob@blob* It would also occur on desttop after some time of idling. The easiest fix for it seems to revert it. T

[PATCH] drm/amdgpu/gmc11: fix logic typo in AGP check

2023-11-14 Thread ivlipski
From: Alex Deucher Should be && rather than ||. Fixes: b2e1cbe6281f ("drm/amdgpu/gmc11: disable AGP on GC 11.5") Acked-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH v2] Revert "drm/amd/display: Enable Replay for static screen use cases"

2023-10-02 Thread ivlipski
From: Ivan Lipski This reverts commit a92da5bc33ea99a861f6c422192af6072c145d2d. V2: Reword commit message [WHY] This commit caused regression in which eDP's with PSR support, but no Replay support (Sink support <= 0x03), failed enabling PSR and all IGT amd_psr tests. [HOW] Reverted the patch.

[PATCH] Revert "drm/amd/display: Enable Replay for static screen use cases"

2023-10-02 Thread ivlipski
From: Ivan Lipski This reverts commit a92da5bc33ea99a861f6c422192af6072c145d2d. It fixes amd_psr on eDP panel without Replay support (<=0x03 Sink support) Signed-off-by: Ivan Lipski --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 22 --- .../amd/display/amdgpu_dm/amdgpu_dm