Removes DEFINEs that should have been removed after they were
introduced to ObjectID.h by the commit abea57d70e90
("drm/amdgpu: Add BRACKET_LAYOUT_ENUMs to ObjectID.h")
Signed-off-by: Tales Aparecida
---
.../drm/amd/display/dc/bios/bios_parser2.c| 19 ---
1 file c
{
Signed-off-by: Tales Aparecida
---
drivers/gpu/drm/amd/display/dc/dml/calcs/bw_fixed.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dml/calcs/bw_fixed.c
b/drivers/gpu/drm/amd/display/dc/dml/calcs/bw_fixed.c
inde
ed-off-by: David Gow
Signed-off-by: Tales Aparecida
---
drivers/gpu/drm/amd/display/dc/dml/calcs/bw_fixed.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dml/calcs/bw_fixed.c
b/drivers/gpu/drm/amd/display/dc/dml/calcs/bw_fixed.c
/CABVgOSmkeybnR2sGEEgn1Cb0cR2eKxW=vhxkhjc5xcuhaxs...@mail.gmail.com/
David Gow (1):
drm/amd/display: fix overflow on MIN_I64 definition
Tales Aparecida (1):
drm/amd/display: fix minor codestyle problems
.../gpu/drm/amd/display/dc/dml/calcs/bw_fixed.c| 14 ++
1 file changed, 6 insertions(+), 8 deletions
From: Maíra Canal
Explain how to run the KUnit tests present in the AMDGPU's Display
Core and clarify which architectures and tools can be used to run
the tests. Moreover, explains how to add new tests to the existing
tests.
Signed-off-by: Maíra Canal
Signed-off-by: Tales Apar
From: Maíra Canal
Add unit test to the SubVP feature in order to avoid possible
regressions and assure the code robustness.
Signed-off-by: Maíra Canal
Signed-off-by: Tales Aparecida
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 4 +
.../amd/display/tests/dc/dc_dmub_srv_test.c | 285
From: Magali Lemes
This commit adds unit tests to the functions dcn20_cap_soc_clocks and
dcn21_update_bw_bounding_box from dcn20/dcn20_fpu.
Signed-off-by: Magali Lemes
Signed-off-by: Tales Aparecida
---
.../drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 4 +
.../tests/dc/dml/dcn20
about adding
bugs to the codebase.
Signed-off-by: Maíra Canal
Signed-off-by: Tales Aparecida
---
.../dc/dml/dcn20/display_mode_vba_20.c| 4 +
.../dc/dml/dcn20/display_mode_vba_20_test.c | 227 ++
2 files changed, 231 insertions(+)
create mode 100644
drivers/gpu/drm
From: Isabella Basso
This adds tests to the bit encoding format verification functions on the
file. They're meant to be simpler so as to provide a proof of concept on
testing DML code.
Signed-off-by: Isabella Basso
Signed-off-by: Tales Aparecida
---
.../dc/dml/dcn20/display_rq_dlg_calc
adding bugs
to the codebase.
Signed-off-by: Maíra Canal
Signed-off-by: Tales Aparecida
---
.../drm/amd/display/dc/dml/display_mode_vba.c | 3 +
.../tests/dc/dml/display_mode_vba_test.c | 741 ++
2 files changed, 744 insertions(+)
create mode 100644
drivers/gpu/drm/amd
\
--kunitconfig=drivers/gpu/drm/amd/display/tests/
Signed-off-by: Maíra Canal
Co-developed-by: Magali Lemes
Signed-off-by: Magali Lemes
Co-developed-by: Tales Aparecida
Signed-off-by: Tales Aparecida
---
drivers/gpu/drm/amd/display/Kconfig | 12 +
.../drm/amd/display/dc/dml/calcs
multiplication, conversion from fractional to fixed-point number,
and more. Use kunit_tool to run:
$ ./tools/testing/kunit/kunit.py run --arch=x86_64 \
--kunitconfig=drivers/gpu/drm/amd/display/tests/
Signed-off-by: Tales Aparecida
---
drivers/gpu/drm/amd/display/Kconfig | 13
it_test_suites")
commit 94681e289bf5 ("kunit: executor: Fix a memory leak on failure in
kunit_filter_tests")
You can get a for branch ready for compilation at
https://gitlab.freedesktop.org/isinyaaa/linux/-/tags/introduce-kunit-for-amd-v1
Thanks in advance for your time taking
From: Kees Cook
GCC 12 correctly reports a potential use-after-free condition in the
xrealloc helper. Fix the warning by avoiding an implicit "free(ptr)"
when size == 0:
In file included from help.c:12:
In function 'xrealloc',
inlined from 'add_cmdname' at help.c:24:2: subcmd-util.h:56:23: e
From: Sergei Trofimovich
On GCC 12, the build fails due to a possible truncated string:
check.c: In function 'validate_call':
check.c:2865:58: error: '%d' directive output may be truncated writing
between 1 and 10 bytes into a region of size 9 [-Werror=format-truncation=]
2865 |
Hello Alex,
I believe you are already working on a rebase right now, but could you please
cherry-pick these two commits from torvalds/master to fix compilation errors
raised by
GCC12 in the meantime?
SHA-1:82880283d7fcd0a1d20964a56d6d1a5cc0df0713
patch-id: 684ed745d944c90c2aae3c9eda5a4f5aa9c
16 matches
Mail list logo