[PATCH 1/4] drm/amd/display: Refactor AMD display KUnit tests configs

2024-04-20 Thread Joao Paulo Pereira da Silva
Configs in AMD display KUnit tests can be clarified. Remove unnecessary configs, rename configs to follow a pattern, and update config Help blocks. Signed-off-by: Joao Paulo Pereira da Silva --- drivers/gpu/drm/amd/display/Kconfig | 31 ++-

[PATCH 4/4] Documentation/gpu: Update AMD Display Core Unit Test documentation

2024-04-20 Thread Joao Paulo Pereira da Silva
Display Core unit tests documentation is a bit outdated, therefore update it to follow current configuration. Signed-off-by: Joao Paulo Pereira da Silva --- .../gpu/amdgpu/display/display-test.rst | 20 +-- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git

[PATCH 0/4] drm/amd/display: Update Display Core unit tests

2024-04-20 Thread Joao Paulo Pereira da Silva
Hey, I'm interested in contributing for display tests from this patch-set. I've noticed potential updates related to both refactoring and optimization. This patch-set applies these suggestions. [WHY] 1. The single test suite in the file test/kunit/dc/dml/calcs/bw_fixed_test.c,

[PATCH 2/4] drm/amd/display/test: Fix kunit test that is not running

2024-04-20 Thread Joao Paulo Pereira da Silva
The KUnit test file test/kunit/dc/dml/calcs/bw_fixed_test.c does not have the correct path relative to the file being tested, dc/basics/bw_fixed.c. Also, it is neither compiling nor running. Therefore, change the test file path and import it conditionally in the file dc/basics/bw_fixed.c to make

[PATCH 3/4] drm/amd/display/test: Optimize kunit test suite dml_dcn20_fpu_dcn21_update_bw_bounding_box_test

2024-04-20 Thread Joao Paulo Pereira da Silva
The KUnit init function of the suite dml_dcn20_fpu_dcn21_update_bw_bounding_box_test does not need to be executed before every test, but only once before the test suite, since it's just used to store backup copies of DCN global structures. So, turn it into a suite_init. Signed-off-by: Joao Paulo

[PATCH] drm/amdgpu/sdma5.2: use legacy HDP flush for SDMA2/3

2024-04-20 Thread Alex Deucher
This avoids a potential conflict with firmwares with the newer HDP flush mechanism. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2156 Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 26 +++--- 1 file changed, 15 insertions(+), 11

Re: [PATCH 0/4] drm/amd/display: Update Display Core unit tests

2024-04-20 Thread Tales
Em sáb., 20 de abr. de 2024 às 15:50, Joao Paulo Pereira da Silva escreveu: > > Hey, I'm interested in contributing for display tests from this patch-set. > I've noticed potential updates related to both refactoring and optimization. > This patch-set applies these suggestions. > Hi, It's great