[PATCH -next] drm/amdgpu: Improve documentation for amdgpu_sdma_register_on_reset_callbacks

2025-04-07 Thread Yang Li
://bugzilla.openanolis.cn/show_bug.cgi?id=20167 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c index 529c9696c2f3..add252368dc2 100644 --- a

[PATCH -next v2] drm/msm: Remove unneeded semicolon

2024-09-17 Thread Yang Li
: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9852 Signed-off-by: Yang Li --- drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c index

[PATCH -next] drm/msm: Remove unneeded semicolon

2024-09-02 Thread Yang Li
./drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c:282:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9852 Signed-off-by: Yang Li --- drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH -next] drm/amd/display: Remove unnecessary semicolon after switch statement

2024-08-22 Thread Yang Li
This commit removes the unnecessary semicolon (`;`) following the closing brace of the switch statement in the function 'dml2_core_utils_get_tile_block_size_bytes'. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9804 Signed-off-by: Yang Li --- .../a

[PATCH -next] drm/amdgpu: Fix kernel-doc param for amdgpu_vm_is_bo_always_valid

2024-05-20 Thread Yang Li
Make @abo to @bo to silence the kernel-doc warning. Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index b9cca51356b1

[PATCH -next] drm/amd/display: Update optc35_set_odm_combine doc to match kernel-doc spec

2024-05-17 Thread Yang Li
This patch updates the function documentation comment for optc35_set_odm_combine to conform to the kernel-doc specification. Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/optc/dcn35/dcn35_optc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH -next 2/2] drm/xe: Remove unneeded semicolon

2024-03-01 Thread Yang Li
This patch removes the unnecessary semicolons at the end of the switch-case statements which cleans up the code and ensures consistency with the rest of the kernel coding style. Signed-off-by: Yang Li --- drivers/gpu/drm/xe/xe_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH -next 1/2] drm/dp: Remove unneeded semicolon

2024-03-01 Thread Yang Li
This patch removes the unnecessary semicolons at the end of the for statements which cleans up the code and ensures consistency with the rest of the kernel coding style. Signed-off-by: Yang Li --- drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH -next] drm/xe/kunit: Remove duplicated include in xe_pci.c

2024-01-02 Thread Yang Li
The header files test-bug.h is included twice in xe_pci.c, so one inclusion can be removed. ./drivers/gpu/drm/xe/tests/xe_pci.c: kunit/test-bug.h is included more than once. Signed-off-by: Yang Li --- drivers/gpu/drm/xe/tests/xe_pci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers

[PATCH -next] drm/xe: Remove unneeded semicolon

2024-01-02 Thread Yang Li
./drivers/gpu/drm/xe/xe_rtp.c:168:2-3: Unneeded semicolon Signed-off-by: Yang Li --- drivers/gpu/drm/xe/xe_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_rtp.c b/drivers/gpu/drm/xe/xe_rtp.c index fb44cc7521d8..316ed2f6d1f0 100644 --- a/drivers

[PATCH -next] drm/amd/pm: Remove unneeded semicolon

2023-12-13 Thread Yang Li
./drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:1418:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7743 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH -next] drm/imagination: Remove unneeded semicolon

2023-12-07 Thread Yang Li
./drivers/gpu/drm/imagination/pvr_fw_trace.c:251:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7694 Signed-off-by: Yang Li --- drivers/gpu/drm/imagination/pvr_fw_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH -next] drm/imagination: Remove unneeded semicolon

2023-11-26 Thread Yang Li
./drivers/gpu/drm/imagination/pvr_free_list.c:258:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7635 Signed-off-by: Yang Li --- drivers/gpu/drm/imagination/pvr_free_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH -next] drm/nouveau/fifo: Remove duplicated include in chan.c

2023-11-21 Thread Yang Li
./drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c: chid.h is included more than once. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7603 Signed-off-by: Yang Li --- drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH -next] drm/amd/display: Remove duplicated include in dcn201_resource.c

2023-11-20 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/resource/dcn201/dcn201_resource.c: dcn201/dcn201_hubbub.h is included more than once. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7583 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/resource/dcn201

[PATCH -next 2/2] drm/amd/display: clean up one inconsistent indenting

2023-10-18 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml2_policy.c:206 dml2_policy_build_synthetic_soc_states() warn: inconsistent indenting Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6933 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml2

[PATCH -next 1/2] drm/amd/display: clean up one inconsistent indenting

2023-10-18 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_util.c:150 dml_max() warn: inconsistent indenting Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6933 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c | 2 +- 1 file

[PATCH -next] drm/amd/display: Simplify bool conversion

2023-10-17 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c:4802:84-89: WARNING: conversion to bool not needed here Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6901 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c | 2 +- 1

[PATCH -next] drm/amd/display: Remove unneeded semicolon

2023-10-17 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c:464:3-4: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6900 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c | 2 +- 1 file changed, 1

[PATCH -next] drm/amd/display: Remove duplicated include in dce110_hwseq.c

2023-10-17 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c: dce110_hwseq.h is included more than once. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6897 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 2 -- 1 file

[PATCH -next] drm/amd/display: clean up some inconsistent indentings

2023-09-27 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn35/dcn35_fpu.c:261 dcn35_update_bw_bounding_box_fpu() warn: inconsistent indenting Signed-off-by: Yang Li --- .../drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 144 +- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a

[PATCH -next] drm/bridge: clean up some inconsistent indentings

2023-09-19 Thread Yang Li
drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c:336 dw_hdmi_cec_suspend() warn: inconsistent indenting Signed-off-by: Yang Li --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c

[PATCH -next 4/5] drm/amd/display: clean up some inconsistent indentings

2023-08-31 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c:288 dcn35_update_clocks() warn: inconsistent indenting Signed-off-by: Yang Li --- .../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 28 +-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a

[PATCH -next 5/5] drm/amd/display: clean up one inconsistent indenting

2023-08-31 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn35/dcn35_fpu.c:260 dcn35_update_bw_bounding_box_fpu() warn: inconsistent indenting Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu

[PATCH -next 3/5] drm/amd/display: clean up some inconsistent indentings

2023-08-31 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn35/dcn35_hwseq.c:159 dcn35_init_hw() warn: inconsistent indentig Signed-off-by: Yang Li --- .../drm/amd/display/dc/dcn35/dcn35_hwseq.c| 32 +-- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/amd

[PATCH -next 2/5] drm/amd/display: clean up one inconsistent indenting

2023-08-31 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn35/dcn35_resource.c:1877 dcn35_resource_construct() warn: inconsistent indenting Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd

[PATCH -next 1/5] drm/amd/display: clean up one inconsistent indenting

2023-08-31 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:355 dmub_srv_hw_setup() warn: inconsistent indenting Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dmub/src

[PATCH -next 3/4] drm/amd/display: Remove duplicated include in dcn35_hwseq.c

2023-08-31 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c: clk_mgr.h is included more than once. Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hwseq.c b/drivers/gpu/drm/amd

[PATCH -next 4/4] drm/amd/display: Remove duplicated include in dcn35_clk_mgr.c

2023-08-31 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c: dcn35_clk_mgr.h is included more than once. Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35

[PATCH -next 2/4] drm/amd/display: Remove duplicated include in dcn35_optc.c

2023-08-31 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c: dcn35_optc.h is included more than once. Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c b/drivers/gpu/drm/amd

[PATCH -next 1/4] drm/amd/display: Remove duplicated include in dcn35_resource.c

2023-08-31 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c: dcn31/dcn31_dio_link_encoder.h is included more than once. Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn35

[PATCH -next] drm/amd/display: Simplify bool conversion

2023-08-15 Thread Yang Li
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c:94:102-107: WARNING: conversion to bool not needed here ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c:102:72-77: WARNING: conversion to bool not needed here Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/amdgpu_dm

[PATCH -next] drm: bridge: dw_hdmi: clean up some inconsistent indentings

2023-08-06 Thread Yang Li
drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c:332 dw_hdmi_cec_suspend() warn: inconsistent indenting Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6101 Signed-off-by: Yang Li --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c | 6 +++--- 1 file changed, 3

[PATCH -next] drm/tests: Fix one kernel-doc comment

2023-08-01 Thread Yang Li
: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6073 Signed-off-by: Yang Li --- drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c

[PATCH -next] drm/amdgpu: Fix one kernel-doc comment

2023-07-30 Thread Yang Li
gzilla.openanolis.cn/show_bug.cgi?id=6031 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index dc0e5227119b..83f52227f9dc 100644 --- a/driver

[PATCH -next] drm/amdgpu: clean up some inconsistent indentings

2023-07-26 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:622 amdgpu_gfx_enable_kcq() warn: inconsistent indenting Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5992 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH -next] drm/amdgpu: Fix one kernel-doc comment

2023-07-19 Thread Yang Li
Use colon to separate parameter name from their specific meaning. silence the warning: drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c:793: warning: Function parameter or member 'adev' not described in 'amdgpu_vm_pte_update_noretry_flags' Signed-off-by: Yang Li --- driver

[PATCH -next] drm/meson: Remove unneeded semicolon

2023-06-02 Thread Yang Li
./drivers/gpu/drm/meson/meson_dw_mipi_dsi.c:117:2-3: Unneeded semicolon ./drivers/gpu/drm/meson/meson_dw_mipi_dsi.c:231:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5392 Signed-off-by: Yang Li --- drivers/gpu/drm/meson

[PATCH -next] drm/i915: remove unreachable code

2023-05-30 Thread Yang Li
Signed-off-by: Yang Li --- drivers/gpu/drm/i915/display/intel_color.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_color.c b/drivers/gpu/drm/i915/display/intel_color.c index 8966e6560516..0bfebac1e3e2 100644 --- a/drivers/gpu/drm/i915/display

[PATCH -next] drm/amdkfd: clean up one inconsistent indenting

2023-05-30 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:1036 kgd2kfd_interrupt() warn: inconsistent indenting Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu

[PATCH -next 10/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../amd/display/dc/dcn315/dcn315_resource.c | 27 --- 1 file changed, 27 deletions(-)

[PATCH -next 13/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
lay: Clean FPGA code in dc") Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn201/dcn201_resource.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_resource.c b/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_resource.

[PATCH -next 07/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../amd/display/dc/dcn302/dcn302_resource.c | 25 --- 1 file changed, 25 deletions(-)

[PATCH -next 09/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
lay: Clean FPGA code in dc") Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.

[PATCH -next 08/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../amd/display/dc/dcn303/dcn303_resource.c | 24 --- 1 file changed, 24 deletions(-)

[PATCH -next 06/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../amd/display/dc/dcn301/dcn301_resource.c | 24 --- 1 file changed, 24 deletions(-)

[PATCH -next 11/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../amd/display/dc/dcn316/dcn316_resource.c | 27 --- 1 file changed, 27 deletions(-)

[PATCH -next 12/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../amd/display/dc/dcn321/dcn321_resource.c | 30 --- 1 file changed, 30 deletions(-)

[PATCH -next 04/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../drm/amd/display/dc/dcn31/dcn31_resource.c | 27 --- 1 file changed, 27 deletions(-) di

[PATCH -next 05/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../drm/amd/display/dc/dcn32/dcn32_resource.c | 29 --- 1 file changed, 29 deletions(-) di

[PATCH -next 03/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../drm/amd/display/dc/dcn30/dcn30_resource.c | 25 --- 1 file changed, 25 deletions(-) di

[PATCH -next 01/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
lay: Clean FPGA code in dc") Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c index a06252

[PATCH -next 02/13] drm/amd/display: remove unused definition

2023-05-23 Thread Yang Li
s' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5296 Fixes: 00df97e1df57 ("drm/amd/display: Clean FPGA code in dc") Signed-off-by: Yang Li --- .../drm/amd/display/dc/dcn21/dcn21_resource.c | 23 --- 1 file changed, 23 deletions(-) di

[PATCH -next] drm/bridge: tc358768: Remove unneeded semicolon

2023-05-15 Thread Yang Li
./drivers/gpu/drm/bridge/tc358768.c:955:2-3: Unneeded semicolon Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4948 Signed-off-by: Yang Li --- drivers/gpu/drm/bridge/tc358768.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH -next] habanalabs: Fix some kernel-doc comments

2023-05-11 Thread Yang Li
parameter 'regs_range_array' description in 'hl_init_pb_ranges_single_dcore' drivers/accel/habanalabs/common/security.c:506: warning: Excess function parameter 'regs_range_array_size' description in 'hl_init_pb_ranges_single_dcore' Reported-by: Abaci Robot

[PATCH -next] drm/tve200: Use devm_platform_ioremap_resource()

2023-04-21 Thread Yang Li
Convert platform_get_resource(),devm_ioremap_resource() to a single call to devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/tve200/tve200_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers

[PATCH -next] drm/arc: Use devm_platform_ioremap_resource()

2023-04-21 Thread Yang Li
Convert platform_get_resource(),devm_ioremap_resource() to a single call to devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/tiny/arcpgu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu

[PATCH -next] drm/tegra: dpaux: Use devm_platform_ioremap_resource()

2023-04-21 Thread Yang Li
Convert platform_get_resource(),devm_ioremap_resource() to a single call to devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/tegra/dpaux.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu

[PATCH -next] drm/stm: dsi: Use devm_platform_ioremap_resource()

2023-04-21 Thread Yang Li
Convert platform_get_resource(),devm_ioremap_resource() to a single call to devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a

[PATCH -next] drm/rockchip: dsi: Use devm_platform_get_and_ioremap_resource()

2023-04-21 Thread Yang Li
Convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions

[PATCH -next 3/3] drm/mediatek: Use devm_platform_ioremap_resource()

2023-04-11 Thread Yang Li
Remove variable 'res' and convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 4 +--- 1 file changed, 1 inser

[PATCH -next 2/3] drm/mediatek: Use devm_platform_ioremap_resource()

2023-04-11 Thread Yang Li
Remove variable 'res' and convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 4 +--- 1 file changed, 1 inser

[PATCH -next 1/3] drm/mediatek: Use devm_platform_ioremap_resource()

2023-04-11 Thread Yang Li
Remove variable 'res' and convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/mediatek/mtk_cec.c | 4 +--- 1 file changed, 1 inser

[PATCH -next] drm: bridge: samsung-dsim: fix platform_no_drv_owner.cocci warning

2023-03-29 Thread Yang Li
./drivers/gpu/drm/bridge/samsung-dsim.c:1957:6-11: No need to set .owner here. The core will do it. Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4640 Signed-off-by: Yang Li --- drivers/gpu/drm/bridge/samsung-dsim.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH -next] drm/i915/wm: Fix some kernel-doc comments

2023-03-16 Thread Yang Li
parameter 'dev_priv' description in 'intel_update_watermarks' Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4546 Signed-off-by: Yang Li --- drivers/gpu/drm/i915/display/intel_wm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

[PATCH -next 1/2] drm/arm/malidp: Use devm_platform_get_and_ioremap_resource()

2023-03-14 Thread Yang Li
rm_device *pdev = to_platform_device(dev)', 'pdev->dev' is equivalent to 'dev'. Signed-off-by: Yang Li --- drivers/gpu/drm/arm/malidp_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/arm/malidp_drv.c b/drivers/gpu/drm/arm/ma

[PATCH -next 2/2] drm/arm/hdlcd: Use devm_platform_ioremap_resource()

2023-03-14 Thread Yang Li
rm_device *pdev = to_platform_device(drm->dev)', 'drm->dev' is equivalent to 'pdev->deva'. Signed-off-by: Yang Li --- drivers/gpu/drm/arm/hdlcd_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hd

[PATCH -next 2/3] video: fbdev: wm8505fb: Use devm_platform_ioremap_resource()

2023-03-13 Thread Yang Li
According to commit 7945f929f1a7 ("drivers: provide devm_platform_ioremap_resource()"), convert platform_get_resource(), devm_ioremap_resource() to a single call to Use devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/v

[PATCH -next 3/3] video: fbdev: xilinxfb: Use devm_platform_get_and_ioremap_resource()

2023-03-13 Thread Yang Li
According to commit 890cc39a8799 ("drivers: provide devm_platform_get_and_ioremap_resource()"), convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --

[PATCH -next 1/3] video: fbdev: pxa3xx-gcu: Use devm_platform_get_and_ioremap_resource()

2023-03-13 Thread Yang Li
According to commit 890cc39a8799 ("drivers: provide devm_platform_get_and_ioremap_resource()"), convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --

[PATCH -next] fbdev/clps711x-fb: Use devm_platform_get_and_ioremap_resource()

2023-03-07 Thread Yang Li
According to commit 890cc39a8799 ("drivers: provide devm_platform_get_and_ioremap_resource()"), convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --

[PATCH -next] drm/bridge: analogix_dp: Use devm_platform_ioremap_resource()

2023-02-17 Thread Yang Li
Convert platform_get_resource(), devm_ioremap_resource() to a single call to Use devm_platform_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Yang Li --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 + 1 file changed, 1 insertion(+), 4 deletions

[PATCH -next] drm/amd/display: clean up some inconsistent indentings

2023-02-09 Thread Yang Li
/show_bug.cgi?id=4026 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/link/link_factory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/link/link_factory.c b/drivers/gpu/drm/amd/display/dc/link/link_factory.c index 13a766273755

[PATCH -next] drm/amd/display: Simplify bool conversion

2023-02-09 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c:1610:68-73: WARNING: conversion to bool not needed here Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4025 Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/link/protocols

[PATCH -next] drm/amdgpu: clean up some inconsistent indentings

2023-01-05 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:65 amdgpu_gem_fault() warn: inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3639 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH -next] drm/msm/dpu: Fix some kernel-doc comments

2022-11-14 Thread Yang Li
ription in 'dpu_encoder_phys_wb_init' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3067 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm

[PATCH -next] drm/nouveau/fifo: Remove duplicated include in chan.c

2022-11-10 Thread Yang Li
./drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c: chid.h is included more than once. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3014 Fixes: 67059b9fb899 ("drm/nouveau/fifo: add chan start()/stop()") Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/no

[PATCH -next] drm/nouveau/gr/gf100-: Remove unneeded semicolon

2022-11-10 Thread Yang Li
./drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:423:31-32: Unneeded semicolon Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3013 Fixes: 78a43c7e3b2f ("drm/nouveau/gr/gf100-: make global attrib_cb actually global") Reported-by: Abaci Robot Signed-off-by: Yang Li --- drive

[PATCH -next] drm/i915: Fix some kernel-doc comments

2022-11-07 Thread Yang Li
: expecting prototype for intel_engines_cleanup_common(). Prototype was for intel_engine_cleanup_common() instead Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2741 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 4 ++-- 1 file changed, 2

[PATCH -next] drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram()

2022-10-25 Thread Yang Li
./drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:985:58-62: ERROR: p is NULL but dereferenced. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2549 Reported-by: Abaci Robot Signed-off-by: Yang Li --- change in v2: According to Felix's suggestion, move the pr_debug up befor

[PATCH -next] drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram()

2022-10-25 Thread Yang Li
./drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:985:58-62: ERROR: p is NULL but dereferenced. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2549 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[PATCH -next] drm/amdkfd: clean up some inconsistent indentings

2022-10-24 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c:331 svm_migrate_copy_to_vram() warn: inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2537 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 3 +-- 1 file changed, 1

[PATCH -next] nouveau/dmem: Remove duplicated include in nouveau_dmem.c

2022-10-16 Thread Yang Li
./drivers/gpu/drm/nouveau/nouveau_dmem.c: nvif/if000c.h is included more than once. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2404 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers

[PATCH -next] drm/amd/display: Simplify bool conversion

2022-10-10 Thread Yang Li
The result of 'pwr_status == 0' is Boolean, and the question mark expression is redundant. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2354 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 2 +- 1 file changed, 1 inser

[PATCH -next] drm/i915/gvt: remove unneeded semicolon

2022-10-06 Thread Yang Li
Remove the redundant semicolon Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2333 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/i915/gvt/vgpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm

[PATCH -next 2/2] drm/amd/display: clean up one inconsistent indenting

2022-09-29 Thread Yang Li
clean up one inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2321 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd

[PATCH -next 1/2] drm/amd/display: clean up one inconsistent indenting

2022-09-29 Thread Yang Li
clean up one inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2238 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd

[PATCH -next] drm/amd/display: clean up one inconsistent indenting

2022-09-20 Thread Yang Li
clean up one inconsistent indenting https://bugzilla.openanolis.cn/show_bug.cgi?id=2238 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc

[PATCH -next 5/6] drm/amd/display: clean up some inconsistent indentings

2022-09-14 Thread Yang Li
clean up some inconsistent indentings Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2181 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH -next 2/6] drm/amd/display: clean up some inconsistent indentings

2022-09-14 Thread Yang Li
clean up some inconsistent indentings Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2178 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/amd

[PATCH -next 6/6] drm/amd/display: clean up some inconsistent indentings

2022-09-14 Thread Yang Li
clean up some inconsistent indentings Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2182 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH -next 3/6] drm/amd/display: clean up some inconsistent indentings

2022-09-14 Thread Yang Li
clean up some inconsistent indentings Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2179 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm

[PATCH -next 4/6] drm/amd/display: clean up some inconsistent indentings

2022-09-14 Thread Yang Li
clean up some inconsistent indentings Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2180 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../amd/display/dc/dcn321/dcn321_resource.c | 26 +-- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers

[PATCH -next 1/6] drm/amd/display: clean up some inconsistent indentings

2022-09-14 Thread Yang Li
clean up some inconsistent indentings Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2177 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu

[PATCH -next] drm/amd/display: remove possible condition with no effect (if == else)

2022-09-01 Thread Yang Li
Conditional statements have no effect to next process.So remove it. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2028 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c | 4 1 file changed, 4 deletions(-) diff --git

[PATCH -next] drm/amd/display: Simplify bool conversion

2022-09-01 Thread Yang Li
The result of relational operation is Boolean, and the question mark expression is redundant. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2027 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c | 2 +- 1 file changed, 1

[PATCH -next] drm/amd/display: clean up some inconsistent indentings

2022-09-01 Thread Yang Li
This if statement is the content of the for statement above it. It should be indented. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2026 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 4 ++-- 1 file changed, 2 insertions

[PATCH -next 2/4 RESEND] drm/amd/display: clean up some inconsistent indentings

2022-08-29 Thread Yang Li
The indentation of statements in the same curly bracket should be consistent. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1886 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c | 13 - 1 file changed, 8 insertions(+), 5

[PATCH -next 3/4 RESEND] drm/amd/display: clean up some inconsistent indentings

2022-08-29 Thread Yang Li
The indentation of statements in the same curly bracket should be consistent. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1890 Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1891 Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../amd/display/dc/dcn10/dcn10_hw_sequencer.c

[PATCH -next 4/4 RESEND] drm/amd/display: clean up some inconsistent indentings

2022-08-29 Thread Yang Li
The indentation of statements in the same curly bracket should be consistent. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1892 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 6 +++--- 1 file changed, 3 insertions(+), 3

  1   2   >