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'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
16 matches
Mail list logo