[PATCH] drm/amd/display: Remove the repeated dpp1_full_bypass declaration

2021-06-17 Thread Shaokun Zhang
Function 'dpp1_full_bypass' is declared twice, so remove the repeated declaration and unnessary blank line. Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH] drm/amd/display: Remove the redundant initialization of local variable

2021-06-01 Thread Shaokun Zhang
Local variable 'i' and 'j' will be initialized in the for loop, so remove the redundant initialization. Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/amd/display/dc/core/dc.c | 17 - 1 file changed, 8 insertions(+), 9

[PATCH] drm/amd/display: Remove the repeated declaration

2021-05-25 Thread Shaokun Zhang
Function 'dc_power_down_on_boot' is declared twice, remove the repeated declaration. Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/amd/display/dc/dc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b

[PATCH] drm/radeon: remove the repeated declaration

2021-05-25 Thread Shaokun Zhang
Function 'r300_mc_wait_for_idle' and 'r600_mc_wait_for_idle' are declared twice, remove the repeated declaration. Cc: Alex Deucher Cc: "Christian König" Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/radeon/radeon_asic.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drive

[PATCH] drm/radeon/evergreen: Remove the repeated declaration

2021-05-25 Thread Shaokun Zhang
Function 'evergreen_print_gpu_status_regs' is declared twice, remove the repeated declaration. Cc: Alex Deucher Cc: "Christian König" Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/radeon/evergreen.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/ever

[PATCH -next] drm/amd/display: Fix the Wunused-function warning

2021-04-08 Thread Shaokun Zhang
: Log DMCUB trace buffer events") Cc: Leo (Hanghong) Ma Cc: Daniel Wheeler Cc: Harry Wentland Cc: Solomon Chiu Cc: Alex Deucher Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/g