[PATCH v1] drivers:smumgr:Use min macro

2024-08-22 Thread Yang Ruibin
Instead of using the min() implementation of the ternary operator, use real macros. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c | 5 + drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c | 7 ++- drivers/g

[PATCH v1] drivers:smumgr:Variable names should be consistent

2024-08-22 Thread Yang Ruibin
The variable highest_pcie_level_enabled is named hightest_pcie_level_enabled in other modules. Please ensure the consistency of variable naming and use min macros instead of the triadic operator. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- .../drm/amd/pm/powerplay/smumgr/tonga_sm

[PATCH v1] drivers:smumgr:Variable names should be consistent with other modules

2024-08-22 Thread Yang Ruibin
The variable highest_pcie_level_enabled is named hightest_pcie_level_enabled in other modules. Please ensure the consistency of variable naming and use min macros instead of the triadic operator. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- .../amd/pm/powerplay/smumgr/iceland_sm

Re: [PATCH v1] drivers:smumgr:Use min macro

2024-08-22 Thread Yang Ruibin
Sorry, please ignore this patch. Because the corresponding header file is not included, there may be compilation errors. 在 2024/8/22 14:57, Yang Ruibin 写道: Instead of using the min() implementation of the ternary operator, use real macros. Signed-off-by: Yang Ruibin <11162...@vivo.

[PATCH v2] drivers:smumgr:fix up the misspellings

2024-08-23 Thread Yang Ruibin
Hightest is a typo. It should be highest.Please ensure the consistency of variable naming. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- Changes V2: - Replaced the word "hightest_pcie_level_enabled" with "hightest_pcie_level_enabled". --- .../drm/amd/pm/powe

[PATCH v3] fix up the misspellings

2024-08-25 Thread Yang Ruibin
Hightest is a typo. It should be highest.Please ensure the consistency of variable naming. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- Changes V3: -Updated the ignored misspellings --- .../drm/amd/pm/powerplay/smumgr/fiji_smumgr.c| 16 .../amd/pm/powerplay/

[PATCH v3] drivers:smumgr:fix up the misspellings

2024-08-25 Thread Yang Ruibin
Hightest is a typo. It should be highest.Please ensure the consistency of variable naming. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- Changes V4: -Adds some information in the subject -Updated the ignored misspellings --- .../drm/amd/pm/powerplay/smumgr/fiji_smumgr.c

Re: [PATCH v3] drivers:smumgr:fix up the misspellings

2024-08-25 Thread Yang Ruibin
Sorry, please ignore this patch for now.  As the wrong subject line.  This patch will be updated later. 在 2024/8/26 11:47, Yang Ruibin 写道: Hightest is a typo. It should be highest.Please ensure the consistency of variable naming. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- Chan

Re: [PATCH v3] fix up the misspellings

2024-08-25 Thread Yang Ruibin
Sorry, please ignore this patch for now.  As the wrong subject line.  This patch will be updated later. 在 2024/8/26 10:55, Yang Ruibin 写道: Hightest is a typo. It should be highest.Please ensure the consistency of variable naming. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- Chan

[PATCH v5] drivers: smumgr: fix up the misspellings

2024-08-25 Thread Yang Ruibin
Hightest is a typo. It should be highest.Please ensure the consistency of variable naming. Signed-off-by: Yang Ruibin <11162...@vivo.com> --- Changes v5: -Updated the ignored misspellings --- .../drm/amd/pm/powerplay/smumgr/fiji_smumgr.c| 16 .../amd/pm/powerplay/