Re: [PATCH v3 1/8] drm/amd/display: Introduce KUnit tests for fixed31_32 library

2022-10-19 Thread Magali Lemes
Em sex., 30 de set. de 2022 às 11:14, Harry Wentland escreveu: > > > > On 9/12/22 11:59, Maíra Canal wrote: > > From: Tales Aparecida > > > > The fixed31_32 library performs a lot of the mathematical operations > > involving fixed-point arithmetic and the conversion of integers to > >

[PATCH] drm/amd/display: remove unused header

2022-08-18 Thread Magali Lemes
dml_wrapper* files were removed in commit 724449e30433 ("drm/amd/display: Remove unused code"), as they are not used anywhere. However, the header file wasn't removed, so remove the header as well. Signed-off-by: Magali Lemes --- .../gpu/drm/amd/display/dc/inc/dml_wrapp

[PATCH] drm/amd/display: remove DML Makefile duplicate lines

2022-08-02 Thread Magali Lemes
guards. Signed-off-by: Magali Lemes --- drivers/gpu/drm/amd/display/dc/dml/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dml/Makefile b/drivers/gpu/drm/amd/display/dc/dml/Makefile index 359f6e9a1da0..41bb6c3cc2d8 100644 --- a/drivers/gpu/drm/amd/dis

[PATCH v2 3/3] drm/amd/display: include missing headers

2022-07-29 Thread Magali Lemes
t;drm/amd/display: move FPU related code from dcn316 to dml/dcn31 folder") Signed-off-by: Magali Lemes Reviewed-by: Maíra Canal Reviewed-by: Melissa Wen --- Changes in v2: - split commit (Melissa) - update the commit message accordingly - add Fixes and Reviewed-by tags. drivers/

[PATCH v2 2/3] drm/amd/display: remove header from source file

2022-07-29 Thread Magali Lemes
"', so that the necessary structs are visible to dcn20_clk_mgr.h. Signed-off-by: Magali Lemes Reviewed-by: Maíra Canal Reviewed-by: Melissa Wen --- Changes in v2: - split commit (Melissa). drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c | 3 +-- drivers/gpu/drm/amd/display/dc/cl

[PATCH v2 1/3] drm/amd/display: make variables static

2022-07-29 Thread Magali Lemes
older") Fixes: fa896297b31b ("drm/amd/display: move FPU related code from dcn315 to dml/dcn31 folder") Fixes: 3f8951cc123f ("drm/amd/display: move FPU related code from dcn316 to dml/dcn31 folder") Signed-off-by: Magali Lemes Reviewed-by: Maíra Canal Reviewed

Re: [PATCH 1/2] drm/amd/display: change variables type

2022-07-26 Thread Magali Lemes
On 7/25/22 20:38, Melissa Wen wrote: On 07/25, Magali Lemes wrote: On 7/25/22 16:42, André Almeida wrote: Hi Magali, Às 15:15 de 25/07/22, Magali Lemes escreveu: As "dcn3_15_soc" and "dcn3_16_soc" are of type "struct _vcs_dpi_soc_bounding_box_st", change their

Re: [PATCH 1/2] drm/amd/display: change variables type

2022-07-25 Thread Magali Lemes
On 7/25/22 16:42, André Almeida wrote: Hi Magali, Às 15:15 de 25/07/22, Magali Lemes escreveu: As "dcn3_15_soc" and "dcn3_16_soc" are of type "struct _vcs_dpi_soc_bounding_box_st", change their types accordingly. I can see that indeed this type change sense

[PATCH 2/2] drm/amd/display: include missing headers

2022-07-25 Thread Magali Lemes
? Signed-off-by: Magali Lemes --- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.h | 1 + drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 1 + drivers/gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.c| 1 + drivers/gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | 3 +++ 4

[PATCH 1/2] drm/amd/display: change variables type

2022-07-25 Thread Magali Lemes
As "dcn3_15_soc" and "dcn3_16_soc" are of type "struct _vcs_dpi_soc_bounding_box_st", change their types accordingly. Signed-off-by: Magali Lemes --- drivers/gpu/drm/amd/display/dc/dcn315/dcn315_resource.h | 2 +- drivers/gpu/drm/amd/display/dc/dcn316/dcn316_reso

[PATCH 4/4] drm/amd/display: Turn functions into static

2022-02-24 Thread Magali Lemes
( | ^~ Cc: Qingqing Zhuo (Lillian) Reported-by: kernel test robot Signed-off-by: Magali Lemes --- .../gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c| 2 +- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_smu.c| 4 ++-- .../gpu/drm/amd

[PATCH 1/4] drm/amd/display: Adjust functions documentation

2022-02-24 Thread Magali Lemes
for dc_process_dmub_aux_transfer_async(). Prototype was for dc_enable_dmub_notifications() instead This commit fixes the warning by placing the function documentations in their right place. Reported-by: kernel test robot Signed-off-by: Magali Lemes --- drivers/gpu/drm/amd/display/dc/core/dc.c | 6

[PATCH 2/4] drm/amd/display: Add conditional around function

2022-02-24 Thread Magali Lemes
test robot Signed-off-by: Magali Lemes --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c index

[PATCH 3/4] drm/amd/display: Use NULL instead of 0

2022-02-24 Thread Magali Lemes
pointer ../drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2725:84: sparse: warning: Using plain integer as NULL pointer ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1919:16: sparse: warning: Using plain integer as NULL pointer Signed-off-by: Magali Lemes

[PATCH 0/4] Address a few compilation warnings

2022-02-24 Thread Magali Lemes
This patchset addresses a few warnings reported by the Kernel Test Robot and sparse. Magali Lemes (4): drm/amd/display: Adjust functions documentation drm/amd/display: Add conditional around function drm/amd/display: Use NULL instead of 0 drm/amd/display: Turn functions into static

[PATCH] powerpc: Fix missing declaration of [en/dis]able_kernel_altivec()

2022-02-22 Thread Magali Lemes
one in commit bd73758803c2 regarding enable_kernel_vsx() and disable_kernel_vsx(). Reported-by: kernel test robot Signed-off-by: Magali Lemes --- arch/powerpc/include/asm/switch_to.h | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/include/asm/switch_to.h b/arch/powerpc/includ

[PATCH] drm/amd/display: Use NULL pointer instead of plain integer

2022-02-02 Thread Magali Lemes
. Reported-by: kernel test robot Signed-off-by: Magali Lemes --- drivers/gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.c b/drivers/gpu/drm/amd/display/dc/dml/dsc/rc_calc_fpu.c