[PATCH v2] drm/amd/display: fix documentation warnings for mpc.h

2024-05-10 Thread Marcelo Mendes Spessoto Junior
cs' ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:579: warning: Function parameter or struct member 'get_3dlut_fast_load_status' not described in 'mpc_funcs' ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:579: warning: Function parameter or struct member 'populate_lut'

[PATCH] drm/amd/display: fix documentation warnings for mpc.h

2024-04-27 Thread Marcelo Mendes Spessoto Junior
Fix most of the display documentation compile warnings by documenting struct mpc_funcs functions in dc/inc/hw/mpc.h file. Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 372 +++- 1 file changed, 369 insertions(+), 3 deletions

[PATCH 1/3] drm/amd/display: clean codestyle errors

2024-02-15 Thread Marcelo Mendes Spessoto Junior
Use flexible array members in dmub/inc/dmub_cmd.h Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h b/drivers/gpu/drm/amd

[PATCH 2/3] drm/amd/display: clean codestyle error

2024-02-15 Thread Marcelo Mendes Spessoto Junior
Use () for complex macro in dmub/src/dmub_dcn32.c Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c b/drivers/gpu/drm/amd

[PATCH 3/3] drm/amd/display: clean codestyle errors

2024-02-15 Thread Marcelo Mendes Spessoto Junior
Use () for macro and adjust initial brace for dmub/src/dmub_dcn35.c Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c b

[PATCH 0/3] drm/amd/display: fix codestyle for some dmub files

2024-02-15 Thread Marcelo Mendes Spessoto Junior
Marcelo Mendes Spessoto Junior (3): drm/amd/display: clean codestyle errors drm/amd/display: clean codestyle errors drm/amd/display: clean codestyle errors drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 6 +++--- drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c | 2 +- drivers/gpu

[PATCH 7/7] drm/amd/display: Fix power_helpers.c codestyle

2023-12-29 Thread Marcelo Mendes Spessoto Junior
Place define macro expression inside () in power_helpers.c file Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/modules/power

[PATCH 6/7] drm/amd/display: Fix hdcp_log.h codestyle

2023-12-29 Thread Marcelo Mendes Spessoto Junior
Place HDCP_EVENT_TRACE(hdcp, event) macro content inside do while loop to avoid if-else issues in hdcp_log.h file Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a

[PATCH 5/7] drm/amd/display: Fix hdcp2_execution.c codestyle

2023-12-29 Thread Marcelo Mendes Spessoto Junior
Remove braces for single statement if expressions and change comparison order for hdcp2_execution.c file Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 4/7] drm/amd/display: Fix hdcp_psp.h codestyle

2023-12-29 Thread Marcelo Mendes Spessoto Junior
Fix identation inside enum and place expressions in define macros inside () for hdcp_psp.h file Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 3/7] drm/amd/display: Fix freesync.c codestyle

2023-12-29 Thread Marcelo Mendes Spessoto Junior
Remove braces for single statement if expression for freesync.c file Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules/freesync

[PATCH 2/7] drm/amd/display: Fix hdcp_psp.c codestyle

2023-12-29 Thread Marcelo Mendes Spessoto Junior
Fix identation for hdcp_psp.c file Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c b/drivers/gpu/drm/amd/display

[PATCH 1/7] drm/amd/display: Fix hdcp1_execution.c codestyle

2023-12-29 Thread Marcelo Mendes Spessoto Junior
Remove braces from single statement if expression in hdcp1_execution.c file Signed-off-by: Marcelo Mendes Spessoto Junior --- drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules

[PATCH 0/7] drm/amd/display: Fix codestyle issues for modules

2023-12-29 Thread Marcelo Mendes Spessoto Junior
This patchset aims to fix most of codestyle issues present in the modules directory Marcelo Mendes Spessoto Junior (7): Fix hdcp1_execution.c codestyle Fix hdcp_psp.c codestyle Fix freesync.c codestyle Fix hdcp_psp.h codestyle Fix hdcp2_execution.c codestyle Fix hdcp_log.h codestyle

[PATCH v2] drm/amd/display: Removing duplicate copyright text

2023-12-28 Thread Marcelo Mendes Spessoto Junior
mod_freesync header file has duplicated copyright boilerplate. Drop the duplicate. Signed-off-by: Marcelo Mendes Spessoto Junior --- v2: fix the structure of the patch .../amd/display/modules/inc/mod_freesync.h| 28 --- 1 file changed, 28 deletions(-) diff --git a

[PATCH] Removing duplicate copyright text

2023-12-26 Thread Marcelo Mendes Spessoto Junior
Signed-off-by: Marcelo Mendes Spessoto Junior The file display/modules/inc/mod_freesync.h has two identical AMD Copyright texts. This simple patch aims to remove the duplicate one. --- .../amd/display/modules/inc/mod_freesync.h| 28 --- 1 file changed, 28 deletions(-) diff