drm/amd/display: Introduce KUnit tests to the bw_fixed library
The bw_fixed library performs a lot of the mathematical operations involving fixed-point arithmetic and the conversion of integers to fixed-point representation. As fixed-point representation is the base foundation of the DML calcs operations, this unit tests intend to assure the proper functioning of the basic mathematical operations of fixed-point arithmetic, such as multiplication, conversion from fractional to fixed-point number, and more. Co-developed-by:Tales Aparecida <tales.aparecida@gmail.com> Signed-off-by:
Tales Aparecida <tales.aparecida@gmail.com> Signed-off-by:
Magali Lemes <magalilemes00@gmail.com> Co-developed-by:
Maíra Canal <maira.canal@usp.br> Signed-off-by:
Maíra Canal <maira.canal@usp.br>
Showing
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/Kconfig 12 additions, 0 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/tests/Kconfig
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile 4 additions, 0 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/tests/Makefile
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/calcs/bw_fixed_test.c 322 additions, 0 deletions...gpu/drm/amd/display/amdgpu_dm/tests/calcs/bw_fixed_test.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/dml_test.c 2 additions, 0 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/tests/dml_test.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/dml_test.h 8 additions, 0 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/tests/dml_test.h
Loading
Please register or sign in to comment