[PATCH] drm/amdgpu/display: remove duplicate include header in link_dpms.c

2023-02-09 Thread ye.xingchen
From: Ye Xingchen link_hwss.h is included more than once. Signed-off-by: Ye Xingchen --- drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c index 9

[PATCH v2] drm/amd/display: remove duplicate include header

2023-02-09 Thread ye.xingchen
From: Ye Xingchen link_hwss.h is included more than once in link_dpms.c . Signed-off-by: Ye Xingchen --- v1 -> v2 Fix the U+00A0 non-breaking space in the subject line. drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/displa

[PATCH] drm/amdgpu: use sysfs_emit() to instead of scnprintf()

2022-11-30 Thread ye.xingchen
From: ye xingchen Replace the open-code with sysfs_emit() to simplify the code. Signed-off-by: ye xingchen --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgp

[PATCH] drm/amd/display: remove duplicate included header files

2023-01-18 Thread ye.xingchen
From: ye xingchen resource.h is included more than once. Signed-off-by: ye xingchen --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index

[PATCH] drm/amdgpu/display: remove duplicate include header in files

2023-01-30 Thread ye.xingchen
From: ye xingchen opp.h is included more than once. Signed-off-by: ye xingchen --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 - 1 file changed, 1 deletion(-) 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 6475664baa8a.