[PATCH v1] drm/amdgpu: fix typo in the comment

2024-09-10 Thread Yan Zhen
t & replace 'Initiailize' with 'Initialize' in the comment & replace 'disble' with 'disable' in the comment & replace 'Disbale' with 'Disable' in the comment & replace 'enogh' with 'enough' in the com

[PATCH v1] drm/amd/display: fix typo in the comment

2024-09-12 Thread Yan Zhen
comment & replace 'Congiuration' with 'Configuration' in the comment & replace 'eanbled' with 'enabled' in the comment. Signed-off-by: Yan Zhen --- drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c | 2 +- drivers/gpu/drm/amd/display/dc/dml

[PATCH v1] drm/i915/display: fix typo in the comment

2024-09-12 Thread Yan Zhen
#x27; in the comment & replace 'harizontal' with 'horizontal' in the comment. Signed-off-by: Yan Zhen --- drivers/gpu/drm/i915/display/intel_display_debugfs.c | 2 +- drivers/gpu/drm/i915/display/intel_dpll.c| 2 +- drivers/gpu/drm/i915/display/intel_lvds.c

[PATCH v1] drm/i915: Fix typo in the comment

2024-09-13 Thread Yan Zhen
the comment & replace 'sacrifical' with 'sacrificial' in the comment. Signed-off-by: Yan Zhen --- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 2 +- drivers/gpu/drm/i915/gt/gen2_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_reset.c| 2 +- drivers/gpu/drm/i915/gt

[PATCH v1] drm/amd/pm: replace manual string choices with standard helpers

2025-06-17 Thread Yan Zhen
Use Linux kernel-provided helper functions from : - str_enabled_disabled() to replace manual ternary expressions like: enable ? "enabled" : "disabled" This improves code readability and ensures consistency with kernel coding style. No functional change. Signed-off-by: Ya