[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

Re: [PATCH -next] drm/dp-mst: Fix unused variable warning

2019-10-15 Thread Shaokun Zhang
Please ignore this mail. I will resend it again. Thanks On 2019/10/14 15:41, Shaokun Zhang wrote: > diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c > b/drivers/gpu/drm/drm_dp_mst_topology.c > index 9364e4f42975..95e63309 100644 > --- a/drivers/gpu/drm/drm_dp_mst_topolo

[PATCH -next] drm/dp-mst: Fix unused variable warning

2019-10-15 Thread Shaokun Zhang
diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index 9364e4f42975..95e63309 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c @@ -4184,8 +4184,6 @@ EXPORT_SYMBOL(drm_dp_mst_topology_state_funcs); struct d

[RESEND][PATCH -next] drm/dp-mst: Fix unused variable warning

2019-10-15 Thread Shaokun Zhang
st: Drop connection_mutex check") Cc: Daniel Vetter Cc: Sean Paul Cc: Lyude Paul Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/drm_dp_mst_topology.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index

[PATCH -next] drm/pl111: Fix unused variable warning

2019-08-06 Thread Shaokun Zhang
t;) Cc: Linus Walleij Cc: Eric Anholt Cc: David Airlie Cc: Daniel Vetter Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/pl111/pl111_display.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/pl111/pl111_display.c b/drivers/gpu/drm/pl111/pl111_display.c index 8fe65969b7b8.

[PATCH] drm/i915: Remove the repeated declaration

2021-05-25 Thread Shaokun Zhang
Function 'intel_dbuf_init' is declared twice, remove the repeated declaration. Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/i915/intel_pm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.h

[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(-)

[PATCH] drm/vmwgfx: Remove the repeated declaration

2021-05-25 Thread Shaokun Zhang
Function 'vmw_context_binding_list' is declared twice, remove the repeated declaration. Cc: VMware Graphics Cc: Roland Scheidegger Cc: Zack Rusin Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/

[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/

[PATCH] drm/msm/dp: remove the repeated declaration

2021-05-25 Thread Shaokun Zhang
Function 'dp_catalog_audio_enable' is declared twice, remove the repeated declaration. Cc: Rob Clark Cc: Abhinav Kumar Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/msm/dp/dp_catalog.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.h b/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/r

[PATCH] drm/i915/gem: Remove the repeated declaration

2021-05-29 Thread Shaokun Zhang
Function 'i915_gem_object_truncate' is declared twice, so remove the repeated declaration. Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/i915/gem/i915_gem_object.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gp

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

2021-05-31 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

[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(-) di

[PATCH] drm/amd/display: Fix misleading buffer information

2018-11-06 Thread Shaokun Zhang
eo Li Signed-off-by: Shaokun Zhang --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index fb04a4a..5da2186 100644 --- a/drivers/gp