drm: fix typos and repeated words in comments
Subsystems (6)
cover drm: fix typos and repeated words in comments
This corrects 3 misspellings and repeated words in comments. Each is a separate patch so that any one of them can be dropped without touching the rest.
Nothing outside comments changes. Every touched C file was checked by dropping its comments, replacing each string literal with a placeholder and collapsing whitespace; what remained was identical before and after, so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in scripts/spelling.txt. The scanning, the edits and the changelogs were produced with Cursor running the claude-opus-5 model, from a request to find and fix spelling mistakes across the tree, and every correction was then re-checked by the comparison described above. Words that name an identifier were left alone deliberately, even when they read as typos, because correcting the prose would make the comment disagree with the code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which is clean. Nothing else was built, so any patch touching code that x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (3):
drm: fix typos in comments
drm/amd: fix repeated words in comments
drm/amdgpu: fix typo in log message
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 2 +- drivers/gpu/drm/amd/amdgpu/cik.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v11_5_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/ih_v6_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/ih_v6_1.c | 2 +- drivers/gpu/drm/amd/amdgpu/ih_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/mes_v12_1.c | 4 +- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 2 +- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 4 +- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c | 4 +- drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h | 4 +- drivers/gpu/drm/amd/amdgpu/ta_xgmi_if.h | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v6_1.h | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v6_7.c | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v6_7.h | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v8_10.h | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v8_7.h | 2 +- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 2 +- drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vce_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vi.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h | 2 +- .../amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c | 2 +- .../display/dc/clk_mgr/dcn301/vg_clk_mgr.c | 2 +- .../display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 2 +- .../dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 2 +- .../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 2 +- .../gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 2 +- .../gpu/drm/amd/display/dc/dce/dce_audio.c | 8 +-- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 2 +- .../drm/amd/display/dc/dce/dce_link_encoder.h | 2 +- drivers/gpu/drm/amd/display/dc/dce/dce_opp.c | 4 +- .../amd/display/dc/dce/dce_stream_encoder.c | 4 +- .../dc/dce110/dce110_timing_generator.c | 2 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c | 2 +- .../display/dc/dio/dcn10/dcn10_link_encoder.h | 2 +- .../drm/amd/display/dc/dml/calcs/dcn_calcs.c | 2 +- .../dc/dml/dcn30/display_mode_vba_30.c | 2 +- .../dc/dml/dcn31/display_mode_vba_31.c | 4 +- .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 2 +- .../dc/dml2_0/display_mode_core_structs.h | 2 +- .../dml2_0/dml21/dml21_translation_helper.c | 2 +- .../display/dc/dml2_0/dml21/dml21_wrapper.h | 2 +- .../dc/dml2_0/dml21/inc/dml_top_types.h | 2 +- .../src/dml2_core/dml2_core_dcn4_calcs.c | 12 ++-- .../dml2_core/dml2_core_dcn5_calcs_dchub.c | 8 +-- .../dml2_core_dcn5_calcs_dsc_latency.c | 8 +-- .../dml2_0/dml21/src/dml2_mcg/dml2_mcg_dcn4.c | 2 +- .../alternate_pstate_shared_lib.c | 4 +- .../dml21/src/dml2_top/dml2_top_soc15.c | 4 +- .../dml2_0/dml21/src/dml2_top/dml2_top_utm.c | 2 +- .../src/inc/dml2_internal_shared_types.h | 2 +- .../amd/display/dc/dml2_0/dml2_mall_phantom.c | 2 +- .../dc/gpio/dcn315/hw_factory_dcn315.c | 2 +- .../display/dc/gpio/dcn32/hw_factory_dcn32.c | 2 +- .../amd/display/dc/hubp/dcn401/dcn401_hubp.c | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 8 +-- .../dc/link/protocols/link_dp_capability.c | 4 +- .../link/protocols/link_edp_panel_control.c | 4 +- .../drm/amd/display/dc/opp/dcn10/dcn10_opp.c | 2 +- .../amd/display/dc/optc/dcn401/dcn401_optc.c | 2 +- .../dc/resource/dcn20/dcn20_resource.c | 2 +- .../dc/resource/dcn30/dcn30_resource.c | 2 +- .../dc/resource/dcn301/dcn301_resource.c | 2 +- .../dc/resource/dcn302/dcn302_resource.c | 2 +- .../dc/resource/dcn303/dcn303_resource.c | 2 +- .../dc/resource/dcn31/dcn31_resource.c | 2 +- .../dc/resource/dcn314/dcn314_resource.c | 2 +- .../dc/resource/dcn315/dcn315_resource.c | 4 +- .../dc/resource/dcn316/dcn316_resource.c | 2 +- .../dc/resource/dcn32/dcn32_resource.c | 4 +- .../dc/resource/dcn321/dcn321_resource.c | 2 +- .../dc/resource/dcn35/dcn35_resource.c | 2 +- .../dc/resource/dcn351/dcn351_resource.c | 2 +- .../dc/resource/dcn36/dcn36_resource.c | 2 +- .../dc/resource/dcn401/dcn401_resource.c | 2 +- .../dc/resource/dcn60/dcn60_resource.c | 6 +- .../gpu/drm/amd/display/dmub/src/dmub_srv.c | 4 +- .../display/include/grph_object_ctrl_defs.h | 2 +- drivers/gpu/drm/amd/include/atombios.h | 56 +++++++++---------- drivers/gpu/drm/amd/include/atomfirmware.h | 2 +- drivers/gpu/drm/amd/include/mes_v11_api_def.h | 2 +- drivers/gpu/drm/amd/include/pptable.h | 2 +- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 16 +++--- .../gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c | 2 +- .../amd/pm/powerplay/hwmgr/hardwaremanager.c | 4 +- .../drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 2 +- .../drm/amd/pm/powerplay/smumgr/ci_smumgr.c | 2 +- .../pm/powerplay/smumgr/polaris10_smumgr.c | 2 +- .../drm/amd/pm/powerplay/smumgr/smu7_smumgr.c | 4 +- .../amd/pm/powerplay/smumgr/tonga_smumgr.c | 4 +- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 6 +- .../inc/pmfw_if/smu11_driver_if_arcturus.h | 2 +- .../inc/pmfw_if/smu11_driver_if_navi10.h | 2 +- .../inc/pmfw_if/smu13_driver_if_v13_0_0.h | 4 +- .../swsmu/inc/pmfw_if/smu14_driver_if_v14_0.h | 4 +- .../inc/pmfw_if/smu15_driver_if_v15_0_8.h | 2 +- .../gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 2 +- .../drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 +- .../drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 2 +- .../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +- .../drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 2 +- drivers/gpu/drm/radeon/atombios.h | 34 +++++------ drivers/gpu/drm/radeon/cik.c | 14 ++--- drivers/gpu/drm/radeon/evergreen.c | 4 +- drivers/gpu/drm/radeon/pptable.h | 2 +- drivers/gpu/drm/radeon/r600.c | 6 +- drivers/gpu/drm/radeon/r600_dpm.c | 2 +- drivers/gpu/drm/radeon/radeon.h | 2 +- drivers/gpu/drm/radeon/radeon_cs.c | 2 +- drivers/gpu/drm/radeon/radeon_device.c | 16 +++--- drivers/gpu/drm/radeon/radeon_display.c | 2 +- drivers/gpu/drm/radeon/radeon_drv.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 4 +- drivers/gpu/drm/radeon/radeon_gem.c | 2 +- drivers/gpu/drm/radeon/radeon_legacy_crtc.c | 4 +- drivers/gpu/drm/radeon/radeon_uvd.c | 2 +- drivers/gpu/drm/radeon/radeon_vm.c | 2 +- drivers/gpu/drm/radeon/rs690.c | 4 +- drivers/gpu/drm/radeon/rs780_dpm.c | 2 +- drivers/gpu/drm/radeon/rv770.c | 2 +- drivers/gpu/drm/radeon/si.c | 2 +- drivers/gpu/drm/radeon/uvd_v1_0.c | 4 +- 160 files changed, 281 insertions(+), 281 deletions(-)
Signature · 1 line
2.48.1
PATCH 1/3 drm: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 2 +- drivers/gpu/drm/amd/amdgpu/cik.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v11_5_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/ih_v6_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/ih_v6_1.c | 2 +- drivers/gpu/drm/amd/amdgpu/ih_v7_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/mes_v12_1.c | 4 +- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 2 +- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 4 +- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c | 4 +- drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h | 4 +- drivers/gpu/drm/amd/amdgpu/ta_xgmi_if.h | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v6_1.h | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v6_7.c | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v6_7.h | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v8_10.h | 2 +- drivers/gpu/drm/amd/amdgpu/umc_v8_7.h | 2 +- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 2 +- drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vce_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vi.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h | 2 +- .../amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c | 2 +- .../display/dc/clk_mgr/dcn301/vg_clk_mgr.c | 2 +- .../display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 2 +- .../dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 2 +- .../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 2 +- .../gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 2 +- .../gpu/drm/amd/display/dc/dce/dce_audio.c | 8 +-- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 2 +- .../drm/amd/display/dc/dce/dce_link_encoder.h | 2 +- drivers/gpu/drm/amd/display/dc/dce/dce_opp.c | 4 +- .../amd/display/dc/dce/dce_stream_encoder.c | 4 +- .../dc/dce110/dce110_timing_generator.c | 2 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c | 2 +- .../display/dc/dio/dcn10/dcn10_link_encoder.h | 2 +- .../drm/amd/display/dc/dml/calcs/dcn_calcs.c | 2 +- .../dc/dml/dcn30/display_mode_vba_30.c | 2 +- .../dc/dml/dcn31/display_mode_vba_31.c | 4 +- .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 2 +- .../dc/dml2_0/display_mode_core_structs.h | 2 +- .../dml2_0/dml21/dml21_translation_helper.c | 2 +- .../display/dc/dml2_0/dml21/dml21_wrapper.h | 2 +- .../dc/dml2_0/dml21/inc/dml_top_types.h | 2 +- .../src/dml2_core/dml2_core_dcn4_calcs.c | 10 ++-- .../dml2_core/dml2_core_dcn5_calcs_dchub.c | 6 +- .../dml2_core_dcn5_calcs_dsc_latency.c | 6 +- .../dml2_0/dml21/src/dml2_mcg/dml2_mcg_dcn4.c | 2 +- .../alternate_pstate_shared_lib.c | 2 +- .../dml21/src/dml2_top/dml2_top_soc15.c | 4 +- .../dml2_0/dml21/src/dml2_top/dml2_top_utm.c | 2 +- .../src/inc/dml2_internal_shared_types.h | 2 +- .../amd/display/dc/dml2_0/dml2_mall_phantom.c | 2 +- .../dc/gpio/dcn315/hw_factory_dcn315.c | 2 +- .../display/dc/gpio/dcn32/hw_factory_dcn32.c | 2 +- .../amd/display/dc/hubp/dcn401/dcn401_hubp.c | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 8 +-- .../dc/link/protocols/link_dp_capability.c | 4 +- .../link/protocols/link_edp_panel_control.c | 4 +- .../drm/amd/display/dc/opp/dcn10/dcn10_opp.c | 2 +- .../amd/display/dc/optc/dcn401/dcn401_optc.c | 2 +- .../dc/resource/dcn20/dcn20_resource.c | 2 +- .../dc/resource/dcn30/dcn30_resource.c | 2 +- .../dc/resource/dcn301/dcn301_resource.c | 2 +- .../dc/resource/dcn302/dcn302_resource.c | 2 +- .../dc/resource/dcn303/dcn303_resource.c | 2 +- .../dc/resource/dcn31/dcn31_resource.c | 2 +- .../dc/resource/dcn314/dcn314_resource.c | 2 +- .../dc/resource/dcn315/dcn315_resource.c | 4 +- .../dc/resource/dcn316/dcn316_resource.c | 2 +- .../dc/resource/dcn32/dcn32_resource.c | 4 +- .../dc/resource/dcn321/dcn321_resource.c | 2 +- .../dc/resource/dcn35/dcn35_resource.c | 2 +- .../dc/resource/dcn351/dcn351_resource.c | 2 +- .../dc/resource/dcn36/dcn36_resource.c | 2 +- .../dc/resource/dcn401/dcn401_resource.c | 2 +- .../dc/resource/dcn60/dcn60_resource.c | 6 +- .../gpu/drm/amd/display/dmub/src/dmub_srv.c | 4 +- .../display/include/grph_object_ctrl_defs.h | 2 +- drivers/gpu/drm/amd/include/atombios.h | 56 +++++++++---------- drivers/gpu/drm/amd/include/atomfirmware.h | 2 +- drivers/gpu/drm/amd/include/mes_v11_api_def.h | 2 +- drivers/gpu/drm/amd/include/pptable.h | 2 +- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 16 +++--- .../gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c | 2 +- .../amd/pm/powerplay/hwmgr/hardwaremanager.c | 4 +- .../drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 2 +- .../drm/amd/pm/powerplay/smumgr/ci_smumgr.c | 2 +- .../pm/powerplay/smumgr/polaris10_smumgr.c | 2 +- .../drm/amd/pm/powerplay/smumgr/smu7_smumgr.c | 4 +- .../amd/pm/powerplay/smumgr/tonga_smumgr.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 6 +- .../inc/pmfw_if/smu13_driver_if_v13_0_0.h | 4 +- .../swsmu/inc/pmfw_if/smu14_driver_if_v14_0.h | 4 +- .../inc/pmfw_if/smu15_driver_if_v15_0_8.h | 2 +- .../gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 2 +- .../drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 +- .../drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 2 +- .../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +- .../drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 2 +- drivers/gpu/drm/radeon/atombios.h | 34 +++++------ drivers/gpu/drm/radeon/cik.c | 14 ++--- drivers/gpu/drm/radeon/evergreen.c | 4 +- drivers/gpu/drm/radeon/pptable.h | 2 +- drivers/gpu/drm/radeon/r600.c | 6 +- drivers/gpu/drm/radeon/r600_dpm.c | 2 +- drivers/gpu/drm/radeon/radeon.h | 2 +- drivers/gpu/drm/radeon/radeon_cs.c | 2 +- drivers/gpu/drm/radeon/radeon_device.c | 16 +++--- drivers/gpu/drm/radeon/radeon_display.c | 2 +- drivers/gpu/drm/radeon/radeon_drv.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 4 +- drivers/gpu/drm/radeon/radeon_gem.c | 2 +- drivers/gpu/drm/radeon/radeon_legacy_crtc.c | 4 +- drivers/gpu/drm/radeon/radeon_uvd.c | 2 +- drivers/gpu/drm/radeon/radeon_vm.c | 2 +- drivers/gpu/drm/radeon/rs690.c | 4 +- drivers/gpu/drm/radeon/rs780_dpm.c | 2 +- drivers/gpu/drm/radeon/rv770.c | 2 +- drivers/gpu/drm/radeon/si.c | 2 +- drivers/gpu/drm/radeon/uvd_v1_0.c | 4 +- 158 files changed, 274 insertions(+), 274 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c +1 -1
@@ -1903,7 +1903,7 @@ void amdgpu_atombios_fini(struct amdgpu_device *adev)* * Initializes the driver info and register access callbacks for the * ATOM interpreter (r4xx+). -* Returns 0 on sucess, -ENOMEM on failure. +* Returns 0 on success, -ENOMEM on failure. * Called at driver startup. */ int amdgpu_atombios_init (struct amdgpu_device *adev)
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +2 -2
@@ -532,7 +532,7 @@ static int amdgpu_ctx_query(struct amdgpu_device *adev, out->state.flags =0x0 ; out->state.hangs =0x0 ; -/* determine if a GPU reset has occured since the last call */ +/* determine if a GPU reset has occurred since the last call */ reset_counter =atomic_read (&adev->gpu_reset_counter);/* TODO: this should ideally return NO, GUILTY, or INNOCENT. */ if (ctx->reset_counter_query == reset_counter)
@@ -922,7 +922,7 @@ void amdgpu_ctx_mgr_usage(struct amdgpu_ctx_mgr *mgr,/* * This is a little bit racy because it can be that a ctx or a fence are * destroyed just in the moment we try to account them. But that is ok -* since exactly that case is explicitely allowed by the interface. +* since exactly that case is explicitly allowed by the interface. */ for (hw_ip =0 ; hw_ip <AMDGPU_HW_IP_NUM ; ++hw_ip) {uint64_t ns =atomic64_read (&mgr->time_spend[hw_ip]);
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c +1 -1
@@ -70,7 +70,7 @@* Allocate the dummy page used by the driver (all asics). * This dummy page is used by the driver as a filler for gart entries * when pages are taken out of the GART -* Returns 0 on sucess, -ENOMEM on failure. +* Returns 0 on success, -ENOMEM on failure. */ static int amdgpu_gart_dummy_page_init (struct amdgpu_device *adev) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +1 -1
@@ -2425,7 +2425,7 @@ int amdgpu_gfx_reset_mes_compute(struct amdgpu_device *adev,*/ if (!num_hung && queue_input && !ring) {/* MES suspend_all is successful means this bad queue is -* preempted successfuly. Remove it before resume all so it +* preempted successfully. Remove it before resume all so it * doesn't get mapped back */ if (!down_read_trylock (&adev->reset_domain->sem)) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -1
@@ -297,7 +297,7 @@ void amdgpu_gmc_set_gart_size(struct amdgpu_device *adev, u64 default_size)* @gart_placement: GART placement policy with respect to VRAM * * Function will try to place GART before or after VRAM. -* If GART size is bigger than space left then we ajust GART size. +* If GART size is bigger than space left then we adjust GART size. * Thus function will never fails. */ void amdgpu_gmc_gart_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc,
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +2 -2
@@ -228,12 +228,12 @@ void amdgpu_pasid_free_delayed(struct dma_resv *resv,*/ /** -* amdgpu_vmid_had_gpu_reset - check if reset occured since last use +* amdgpu_vmid_had_gpu_reset - check if reset occurred since last use * * @adev: amdgpu_device pointer * @id: VMID structure * -* Check if GPU reset occured since last use of the VMID. +* Check if GPU reset occurred since last use of the VMID. */ bool amdgpu_vmid_had_gpu_reset (struct amdgpu_device *adev,struct amdgpu_vmid *id)
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c +1 -1
@@ -203,7 +203,7 @@ int amdgpu_ih_wait_on_checkpoint_process_ts(struct amdgpu_device *adev,* @adev: amdgpu_device pointer * @ih: ih ring to process * -* Interrupt hander (VI), walk the IH ring. +* Interrupt handler (VI), walk the IH ring. * Returns irq process return code. */ int amdgpu_ih_process (struct amdgpu_device *adev,struct amdgpu_ih_ring *ih)
drivers/gpu/drm/amd/amdgpu/amdgpu_job.h +1 -1
@@ -31,7 +31,7 @@#define AMDGPU_PREAMBLE_IB_PRESENT (1 << 0)/* bit set means preamble IB is first presented in belonging context */ #define AMDGPU_PREAMBLE_IB_PRESENT_FIRST (1 << 1) -/* bit set means context switch occured */ +/* bit set means context switch occurred */ #define AMDGPU_HAVE_CTX_SWITCH (1 << 2)/* bit set means IB is preempted */ #define AMDGPU_IB_PREEMPTED (1 << 3)
drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c +1 -1
@@ -105,7 +105,7 @@ static void amdgpu_pll_get_fb_ref_div(struct amdgpu_device *adev, unsigned int n }/** -* amdgpu_pll_compute - compute PLL paramaters +* amdgpu_pll_compute - compute PLL parameters * * @adev: amdgpu_device pointer * @pll: information about the PLL
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +2 -2
@@ -3670,8 +3670,8 @@ static int psp_load_fw(struct amdgpu_device *adev) failed:/* * all cleanup jobs (xgmi terminate, ras terminate, -* ring destroy, cmd/fence/fw buffers destory, -* psp->cmd destory) are delayed to psp_hw_fini +* ring destroy, cmd/fence/fw buffers destroy, +* psp->cmd destroy) are delayed to psp_hw_fini */ psp_ring_destroy (psp,PSP_RING_TYPE__KM );return ret;
drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c +1 -1
@@ -64,7 +64,7 @@ static ssize_t amdgpu_rap_debugfs_write(struct file *f, const char __user *buf,return ret; } -/* make sure gfx core is on, RAP TA cann't handle +/* make sure gfx core is on, RAP TA can't handle * GFX OFF case currently. */ amdgpu_gfx_off_ctrl (adev, false);
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2 -2
@@ -1627,7 +1627,7 @@ static int amdgpu_ras_query_error_count_helper(struct amdgpu_device *adev, *ue_count += query_info->ue_count;/* some hardware/IP supports read to clear -* no need to explictly reset the err status after the query call */ +* no need to explicitly reset the err status after the query call */ if (amdgpu_ip_version (adev,MP0_HWIP ,0 ) !=IP_VERSION (11 ,0 ,2 ) &&amdgpu_ip_version (adev,MP0_HWIP ,0 ) !=IP_VERSION (11 ,0 ,4 )) {if (amdgpu_ras_reset_error_status (adev, query_info->head.block))
@@ -3419,7 +3419,7 @@ static void amdgpu_ras_query_poison_mode(struct amdgpu_device *adev)/* * check hardware's ras ability which will be saved in hw_supported. -* if hardware does not support ras, we can skip some ras initializtion and +* if hardware does not support ras, we can skip some ras initialization and * forbid some ras operations from IP. * if software itself, say boot parameter, limit the ras ability. We still * need allow IP do some limited operations, like disable. In such case,
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c +1 -1
@@ -44,7 +44,7 @@ static int amdgpu_reset_xgmi_reset_on_init_suspend(struct amdgpu_device *adev) adev->ip_blocks[i].status.hw = false; } -/* VCN FW shared region is in frambuffer, there are some flags +/* VCN FW shared region is in framebuffer, there are some flags * initialized in that region during sw_init. Make sure the region is * backed up. */
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h +1 -1
@@ -105,7 +105,7 @@ struct amdgpu_umc {/* Total number of umc node instance including harvest one */ uint32_t node_inst_num; -/* UMC regiser per channel offset */ +/* UMC register per channel offset */ uint32_t channel_offs;/* how many pages are retired in one UE */ uint32_t retire_unit;
drivers/gpu/drm/amd/amdgpu/cik.c +1 -1
@@ -1032,7 +1032,7 @@ static bool cik_read_bios_from_rom(struct amdgpu_device *adev,/* set rom index to 0 */ WREG32 (mmSMC_IND_INDEX_0, ixROM_INDEX);WREG32 (mmSMC_IND_DATA_0,0 ); -/* set index to data for continous read */ +/* set index to data for continuous read */ WREG32 (mmSMC_IND_INDEX_0, ixROM_DATA);for (i =0 ; i < length_dw; i++) dw_ptr[i] =RREG32 (mmSMC_IND_DATA_0);
drivers/gpu/drm/amd/amdgpu/cik_sdma.c +1 -1
@@ -213,7 +213,7 @@ static void cik_sdma_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)* cik_sdma_ring_emit_ib - Schedule an IB on the DMA engine * * @ring: amdgpu ring pointer -* @job: job to retrive vmid from +* @job: job to retrieve vmid from * @ib: IB object to schedule * @flags: unused *
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +1 -1
@@ -6221,7 +6221,7 @@ static void gfx_v11_0_ring_emit_gfx_shadow(struct amdgpu_ring *ring,/* * The logic here isn't easy to understand because we need to keep state -* accross multiple executions of the function as well as between the +* across multiple executions of the function as well as between the * CPU and GPU. The general idea is that the newly written GPU command * has a condition on the previous one and only executed if really * necessary.
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +1 -1
@@ -2342,7 +2342,7 @@ static int gfx_v7_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)* ME - Micro Engine * CE - Constant Engine * The PFP and ME make up what is considered the Drawing Engine (DE). -* The CE is an asynchronous engine used for updating buffer desciptors +* The CE is an asynchronous engine used for updating buffer descriptors * used by the DE so that they can be loaded into cache in parallel * while the DE is processing state update packets. *
drivers/gpu/drm/amd/amdgpu/gfxhub_v11_5_0.c +1 -1
@@ -356,7 +356,7 @@ static int gfxhub_v11_5_0_gart_enable(struct amdgpu_device *adev) {if (amdgpu_sriov_vf (adev)) {/* -* GCMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, becuase they are +* GCMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, because they are * VF copy registers so vbios post doesn't program them, for * SRIOV driver need to program them */
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c +1 -1
@@ -361,7 +361,7 @@ static int gfxhub_v12_0_gart_enable(struct amdgpu_device *adev) {if (amdgpu_sriov_vf (adev)) {/* -* GCMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, becuase they are +* GCMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, because they are * VF copy registers so vbios post doesn't program them, for * SRIOV driver need to program them */
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c +1 -1
@@ -358,7 +358,7 @@ static int gfxhub_v2_1_gart_enable(struct amdgpu_device *adev) {if (amdgpu_sriov_vf (adev)) {/* -* GCMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, becuase they are +* GCMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, because they are * VF copy registers so vbios post doesn't program them, for * SRIOV driver need to program them */
drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.c +1 -1
@@ -353,7 +353,7 @@ static int gfxhub_v3_0_gart_enable(struct amdgpu_device *adev) {if (amdgpu_sriov_vf (adev)) {/* -* GCMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, becuase they are +* GCMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, because they are * VF copy registers so vbios post doesn't program them, for * SRIOV driver need to program them */
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c +1 -1
@@ -330,7 +330,7 @@ static int gmc_v7_0_mc_init(struct amdgpu_device *adev)u32 tmp;int chansize, numchan; -/* Get VRAM informations */ +/* Get VRAM information */ tmp =RREG32 (mmMC_ARB_RAMCFG);if (REG_GET_FIELD (tmp,MC_ARB_RAMCFG ,CHANSIZE )) chansize =64 ;
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c +1 -1
@@ -478,7 +478,7 @@ static int gmc_v8_0_mc_init(struct amdgpu_device *adev)if (!adev->gmc.vram_width) {int chansize, numchan; -/* Get VRAM informations */ +/* Get VRAM information */ tmp =RREG32 (mmMC_ARB_RAMCFG);if (REG_GET_FIELD (tmp,MC_ARB_RAMCFG ,CHANSIZE )) chansize =64 ;
drivers/gpu/drm/amd/amdgpu/ih_v6_0.c +1 -1
@@ -366,7 +366,7 @@ static int ih_v6_0_irq_init(struct amdgpu_device *adev)WREG32_SOC15 (OSSSYS ,0 , regIH_INT_FLOOD_CNTL, tmp);/* GC/MMHUB UTCL2 page fault interrupts are configured as -* MSI storm capable interrupts by deafult. The delay is +* MSI storm capable interrupts by default. The delay is * used to avoid ISR being called too frequently * when page fault happens on several continuous page * and thus avoid MSI storm */
drivers/gpu/drm/amd/amdgpu/ih_v6_1.c +1 -1
@@ -337,7 +337,7 @@ static int ih_v6_1_irq_init(struct amdgpu_device *adev)WREG32_SOC15 (OSSSYS ,0 , regIH_INT_FLOOD_CNTL, tmp);/* GC/MMHUB UTCL2 page fault interrupts are configured as -* MSI storm capable interrupts by deafult. The delay is +* MSI storm capable interrupts by default. The delay is * used to avoid ISR being called too frequently * when page fault happens on several continuous page * and thus avoid MSI storm */
drivers/gpu/drm/amd/amdgpu/ih_v7_0.c +1 -1
@@ -360,7 +360,7 @@ static int ih_v7_0_irq_init(struct amdgpu_device *adev)WREG32_SOC15 (OSSSYS ,0 , regIH_INT_FLOOD_CNTL, tmp);/* GC/MMHUB UTCL2 page fault interrupts are configured as -* MSI storm capable interrupts by deafult. The delay is +* MSI storm capable interrupts by default. The delay is * used to avoid ISR being called too frequently * when page fault happens on several continuous page * and thus avoid MSI storm */
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
@@ -1350,7 +1350,7 @@ static int mes_v11_0_load_microcode(struct amdgpu_device *adev,WREG32_SOC15 (GC ,0 , regCP_MES_PRGRM_CNTR_START_HI,upper_32_bits (ucode_addr)); -/* set ucode fimrware address */ +/* set ucode firmware address */ WREG32_SOC15 (GC ,0 , regCP_MES_IC_BASE_LO,lower_32_bits (adev->mes.ucode_fw_gpu_addr[pipe])); WREG32_SOC15(GC, 0, regCP_MES_IC_BASE_HI,
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +2 -2
@@ -1421,7 +1421,7 @@ static int mes_v12_0_load_microcode(struct amdgpu_device *adev,WREG32_SOC15 (GC ,0 , regCP_MES_IC_BASE_CNTL,0 ); -/* set ucode fimrware address */ +/* set ucode firmware address */ WREG32_SOC15 (GC ,0 , regCP_MES_IC_BASE_LO,lower_32_bits (adev->mes.ucode_fw_gpu_addr[pipe])); WREG32_SOC15(GC, 0, regCP_MES_IC_BASE_HI,
@@ -1585,7 +1585,7 @@ static int mes_v12_0_mqd_init(struct amdgpu_ring *ring)/* * Set CP_HQD_GFX_CONTROL.DB_UPDATED_MSG_EN[15] to enable unmapped * doorbell handling. This is a reserved CP internal register can -* not be accesss by others +* not be access by others */ mqd->reserved_184 =BIT (15 );
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c +2 -2
@@ -1176,7 +1176,7 @@ static int mes_v12_1_load_microcode(struct amdgpu_device *adev,WREG32_SOC15 (GC ,GET_INST (GC , xcc_id), regCP_MES_IC_BASE_CNTL,0 ); -/* set ucode fimrware address */ +/* set ucode firmware address */ WREG32_SOC15 (GC ,GET_INST (GC , xcc_id), regCP_MES_IC_BASE_LO,lower_32_bits (adev->mes.ucode_fw_gpu_addr[inst])); WREG32_SOC15(GC, GET_INST(GC, xcc_id), regCP_MES_IC_BASE_HI,
@@ -1361,7 +1361,7 @@ static int mes_v12_1_mqd_init(struct amdgpu_ring *ring)/* * Set CP_HQD_GFX_CONTROL.DB_UPDATED_MSG_EN[15] to enable unmapped * doorbell handling. This is a reserved CP internal register can -* not be accesss by others +* not be access by others */ mqd->cp_hqd_gfx_control =BIT (15 );
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +1 -1
@@ -363,7 +363,7 @@ static int mmhub_v1_0_gart_enable(struct amdgpu_device *adev) {if (amdgpu_sriov_vf (adev)) {/* -* MC_VM_FB_LOCATION_BASE/TOP is NULL for VF, becuase they are +* MC_VM_FB_LOCATION_BASE/TOP is NULL for VF, because they are * VF copy registers so vbios post doesn't program them, for * SRIOV driver need to program them */
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c +1 -1
@@ -338,7 +338,7 @@ static int mmhub_v2_3_gart_enable(struct amdgpu_device *adev) {if (amdgpu_sriov_vf (adev)) {/* -* MMMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, becuase they are +* MMMC_VM_FB_LOCATION_BASE/TOP is NULL for VF, because they are * VF copy registers so vbios post doesn't program them, for * SRIOV driver need to program them */
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c +2 -2
@@ -45,7 +45,7 @@ static void xgpu_ai_mailbox_set_valid(struct amdgpu_device *adev, bool val) }/* -* this peek_msg could *only* be called in IRQ routine becuase in IRQ routine +* this peek_msg could *only* be called in IRQ routine because in IRQ routine * RCV_MSG_VALID filed of BIF_BX_PF0_MAILBOX_CONTROL must already be set to 1 * by host. *
@@ -126,7 +126,7 @@ static void xgpu_ai_mailbox_trans_msg (struct amdgpu_device *adev,* clear TRN_MSG_VALID valid to clear host's RCV_MSG_ACK * and with host's RCV_MSG_ACK cleared hw automatically clear host's RCV_MSG_ACK * which lead to VF's TRN_MSG_ACK cleared, otherwise below xgpu_ai_poll_ack() -* will return immediatly +* will return immediately */ do { xgpu_ai_mailbox_set_valid(adev, false);
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c +2 -2
@@ -44,7 +44,7 @@ static void xgpu_nv_mailbox_set_valid(struct amdgpu_device *adev, bool val) }/* -* this peek_msg could *only* be called in IRQ routine becuase in IRQ routine +* this peek_msg could *only* be called in IRQ routine because in IRQ routine * RCV_MSG_VALID filed of BIF_BX_PF_MAILBOX_CONTROL must already be set to 1 * by host. *
@@ -146,7 +146,7 @@ static void xgpu_nv_mailbox_trans_msg (struct amdgpu_device *adev,* clear TRN_MSG_VALID valid to clear host's RCV_MSG_ACK * and with host's RCV_MSG_ACK cleared hw automatically clear host's RCV_MSG_ACK * which lead to VF's TRN_MSG_ACK cleared, otherwise below xgpu_nv_poll_ack() -* will return immediatly +* will return immediately */ do { xgpu_nv_mailbox_set_valid(adev, false);
drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h +2 -2
@@ -98,7 +98,7 @@ enum psp_gfx_cmd_idGFX_CMD_ID_DESTROY_VMR =0x0000000A ,/* destroy VMR region */ GFX_CMD_ID_PROG_REG =0x0000000B ,/* program regs */ GFX_CMD_ID_GET_FW_ATTESTATION =0x0000000F ,/* Query GPUVA of the Fw Attestation DB */ -/* IDs upto 0x1F are reserved for older programs (Raven, Vega 10/12/20) */ +/* IDs up to 0x1F are reserved for older programs (Raven, Vega 10/12/20) */ GFX_CMD_ID_LOAD_TOC =0x00000020 ,/* Load TOC and obtain TMR size */ GFX_CMD_ID_AUTOLOAD_RLC =0x00000021 ,/* Indicates all graphics fw loaded, start RLC autoload */ GFX_CMD_ID_BOOT_CFG = 0x00000022, /* Boot Config */
@@ -505,7 +505,7 @@ struct psp_gfx_rb_frameuint32_t sid_lo;/* +24 bits [31:0] of SID value (used only for RBI frames) */ uint32_t sid_hi;/* +28 bits [63:32] of SID value (used only for RBI frames) */ uint8_t vmid;/* +32 VMID value used for mapping of all addresses for this frame */ -uint8_t frame_type;/* +33 1: destory context frame, 0: all other frames; used only for RBI frames */ +uint8_t frame_type;/* +33 1: destroy context frame, 0: all other frames; used only for RBI frames */ uint8_t reserved1[2 ];/* +34 reserved, must be 0 */ uint32_t reserved2[7 ];/* +36 reserved, must be 0 */ /* total 64 bytes */
drivers/gpu/drm/amd/amdgpu/ta_xgmi_if.h +1 -1
@@ -167,7 +167,7 @@ struct ta_xgmi_shared_memory {* the second set */ uint8_t flag_extend_link_record; -/* bit0: port_num info support flag for GET_EXTEND_PEER_LINKS commmand */ +/* bit0: port_num info support flag for GET_EXTEND_PEER_LINKS command */ uint8_t caps_flag;uint8_t reserved[2 ];union ta_xgmi_cmd_input xgmi_in_message;
drivers/gpu/drm/amd/amdgpu/umc_v6_1.h +1 -1
@@ -34,7 +34,7 @@#define UMC_V6_1_UMC_INSTANCE_NUM 8/* total channel instances in one umc block */ #define UMC_V6_1_TOTAL_CHANNEL_NUM (UMC_V6_1_CHANNEL_INSTANCE_NUM * UMC_V6_1_UMC_INSTANCE_NUM) -/* UMC regiser per channel offset */ +/* UMC register per channel offset */ #define UMC_V6_1_PER_CHANNEL_OFFSET_VG20 0x800#define UMC_V6_1_PER_CHANNEL_OFFSET_ARCT 0x400
drivers/gpu/drm/amd/amdgpu/umc_v6_7.c +1 -1
@@ -50,7 +50,7 @@ static inline uint32_t get_umc_v6_7_reg_offset(struct amdgpu_device *adev,uint32_t index = umc_inst * adev->umc.channel_inst_num + ch_inst;/* adjust umc and channel index offset, -* the register address is not linear on each umc instace */ +* the register address is not linear on each umc instance */ umc_inst = index /4 ; ch_inst = index %4 ;
drivers/gpu/drm/amd/amdgpu/umc_v6_7.h +1 -1
@@ -51,7 +51,7 @@#define UMC_V6_7_PA_C2_BIT 17/* The R14 bit in SOC physical address */ #define UMC_V6_7_PA_R14_BIT 34 -/* UMC regiser per channel offset */ +/* UMC register per channel offset */ #define UMC_V6_7_PER_CHANNEL_OFFSET 0x400/* XOR bit 20, 25, 34 of PA into CH4 bit (bit 12 of PA),
drivers/gpu/drm/amd/amdgpu/umc_v8_10.h +1 -1
@@ -36,7 +36,7 @@ (UMC_V8_10_CHANNEL_INSTANCE_NUM *UMC_V8_10_UMC_INSTANCE_NUM * \ (adev)->gmc.num_umc -hweight32 ((adev)->gmc.m_half_use) *2 ) -/* UMC regiser per channel offset */ +/* UMC register per channel offset */#define UMC_V8_10_PER_CHANNEL_OFFSET 0x400/* EccErrCnt max value */
drivers/gpu/drm/amd/amdgpu/umc_v8_7.h +1 -1
@@ -34,7 +34,7 @@#define UMC_V8_7_UMC_INSTANCE_NUM 8/* total channel instances in one umc block */ #define UMC_V8_7_TOTAL_CHANNEL_NUM (UMC_V8_7_CHANNEL_INSTANCE_NUM * UMC_V8_7_UMC_INSTANCE_NUM) -/* UMC regiser per channel offset */ +/* UMC register per channel offset */ #define UMC_V8_7_PER_CHANNEL_OFFSET_SIENNA 0x400/* EccErrCnt max value */
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c +1 -1
@@ -373,7 +373,7 @@ static int uvd_v4_2_start(struct amdgpu_device *adev)return r; } -/* enable interupt */ +/* enable interrupt */ WREG32_P (mmUVD_MASTINT_EN,3 <<1 , ~(3 <<1 ));WREG32_P (mmUVD_STATUS,0 , ~(1 <<2 ));
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c +1 -1
@@ -333,7 +333,7 @@ static int uvd_v5_0_start(struct amdgpu_device *adev)uvd_v5_0_mc_resume (adev); -/* disable interupt */ +/* disable interrupt */ WREG32_P (mmUVD_MASTINT_EN,0 , ~(1 <<1 ));/* stall UMC and register bus before resetting VCPU */
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +2 -2
@@ -742,7 +742,7 @@ static int uvd_v6_0_start(struct amdgpu_device *adev)uvd_v6_0_mc_resume (adev); -/* disable interupt */ +/* disable interrupt */ WREG32_FIELD (UVD_MASTINT_EN ,VCPU_EN ,0 );/* stall UMC and register bus before resetting VCPU */
@@ -1045,7 +1045,7 @@ static void uvd_v6_0_ring_emit_ib(struct amdgpu_ring *ring,* uvd_v6_0_enc_ring_emit_ib - enc execute indirect buffer * * @ring: amdgpu_ring pointer -* @job: job to retrive vmid from +* @job: job to retrieve vmid from * @ib: indirect buffer to execute * @flags: unused *
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c +3 -3
@@ -870,7 +870,7 @@ static int uvd_v7_0_sriov_start(struct amdgpu_device *adev)MMSCH_V1_0_INSERT_DIRECT_RD_MOD_WT (SOC15_REG_OFFSET (UVD , i, mmUVD_CGC_CTRL), ~UVD_CGC_CTRL__DYN_CLOCK_MODE_MASK ,0 ); -/* disable interupt */ +/* disable interrupt */ MMSCH_V1_0_INSERT_DIRECT_RD_MOD_WT (SOC15_REG_OFFSET (UVD , i, mmUVD_MASTINT_EN), ~UVD_MASTINT_EN__VCPU_EN_MASK ,0 );
@@ -983,7 +983,7 @@ static int uvd_v7_0_start(struct amdgpu_device *adev)WREG32_P (SOC15_REG_OFFSET (UVD , k, mmUVD_CGC_CTRL),0 , ~UVD_CGC_CTRL__DYN_CLOCK_MODE_MASK ); -/* disable interupt */ +/* disable interrupt */ WREG32_P (SOC15_REG_OFFSET (UVD , k, mmUVD_MASTINT_EN),0 , ~UVD_MASTINT_EN__VCPU_EN_MASK );
@@ -1347,7 +1347,7 @@ static void uvd_v7_0_ring_emit_ib(struct amdgpu_ring *ring,* uvd_v7_0_enc_ring_emit_ib - enc execute indirect buffer * * @ring: amdgpu_ring pointer -* @job: job to retrive vmid from +* @job: job to retrieve vmid from * @ib: indirect buffer to execute * @flags: unused *
drivers/gpu/drm/amd/amdgpu/vce_v1_0.c +1 -1
@@ -537,7 +537,7 @@ static int vce_v1_0_early_init(struct amdgpu_ip_block *ip_block)* Ensure that the VCPU BO has a 32-bit GPU address, * or return an error code when that isn't possible. * -* To accomodate that, we put GART to the LOW address range +* To accommodate that, we put GART to the LOW address range * and reserve some GART pages where we map the VCPU BO, * so that it gets a 32-bit address. *
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +3 -3
@@ -856,7 +856,7 @@ static int vcn_v1_0_start_spg_mode(struct amdgpu_vcn_inst *vinst)/* disable clock gating */ vcn_v1_0_disable_clock_gating (vinst); -/* disable interupt */ +/* disable interrupt */ WREG32_P (SOC15_REG_OFFSET (UVD ,0 , mmUVD_MASTINT_EN),0 , ~UVD_MASTINT_EN__VCPU_EN_MASK );
@@ -1044,7 +1044,7 @@ static int vcn_v1_0_start_dpg_mode(struct amdgpu_vcn_inst *vinst) tmp |=UVD_VCPU_CNTL__MIF_WR_LOW_THRESHOLD_BP_MASK ;WREG32_SOC15_DPG_MODE_1_0 (UVD ,0 , mmUVD_VCPU_CNTL, tmp,0xFFFFFFFF ,0 ); -/* disable interupt */ +/* disable interrupt */ WREG32_SOC15_DPG_MODE_1_0 (UVD ,0 , mmUVD_MASTINT_EN,0 ,UVD_MASTINT_EN__VCPU_EN_MASK ,0 );
@@ -1742,7 +1742,7 @@ static void vcn_v1_0_enc_ring_insert_end(struct amdgpu_ring *ring)* vcn_v1_0_enc_ring_emit_ib - enc execute indirect buffer * * @ring: amdgpu_ring pointer -* @job: job to retrive vmid from +* @job: job to retrieve vmid from * @ib: indirect buffer to execute * @flags: unused *
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c +2 -2
@@ -879,7 +879,7 @@ static int vcn_v2_0_start_dpg_mode(struct amdgpu_vcn_inst *vinst, bool indirect)WREG32_SOC15_DPG_MODE (0 ,SOC15_DPG_MODE_OFFSET (UVD ,0 , mmUVD_VCPU_CNTL), tmp,0 , indirect); -/* disable master interupt */ +/* disable master interrupt */ WREG32_SOC15_DPG_MODE (0 ,SOC15_DPG_MODE_OFFSET (UVD ,0 , mmUVD_MASTINT_EN),0 ,0 , indirect);
@@ -1740,7 +1740,7 @@ void vcn_v2_0_enc_ring_insert_end(struct amdgpu_ring *ring)* vcn_v2_0_enc_ring_emit_ib - enc execute indirect buffer * * @ring: amdgpu_ring pointer -* @job: job to retrive vmid from +* @job: job to retrieve vmid from * @ib: indirect buffer to execute * @flags: unused *
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +1 -1
@@ -1025,7 +1025,7 @@ static int vcn_v2_5_start_dpg_mode(struct amdgpu_vcn_inst *vinst, bool indirect)WREG32_SOC15_DPG_MODE (inst_idx,SOC15_DPG_MODE_OFFSET (VCN ,0 , mmUVD_VCPU_CNTL), tmp,0 , indirect); -/* disable master interupt */ +/* disable master interrupt */ WREG32_SOC15_DPG_MODE (inst_idx,SOC15_DPG_MODE_OFFSET (VCN ,0 , mmUVD_MASTINT_EN),0 ,0 , indirect);
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c +1 -1
@@ -1056,7 +1056,7 @@ static int vcn_v3_0_start_dpg_mode(struct amdgpu_vcn_inst *vinst, bool indirect)WREG32_SOC15_DPG_MODE (inst_idx,SOC15_DPG_MODE_OFFSET (VCN , inst_idx, mmUVD_VCPU_CNTL), tmp,0 , indirect); -/* disable master interupt */ +/* disable master interrupt */ WREG32_SOC15_DPG_MODE (inst_idx,SOC15_DPG_MODE_OFFSET (VCN , inst_idx, mmUVD_MASTINT_EN),0 ,0 , indirect);
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c +1 -1
@@ -1023,7 +1023,7 @@ static int vcn_v4_0_start_dpg_mode(struct amdgpu_vcn_inst *vinst, bool indirect)WREG32_SOC15_DPG_MODE (inst_idx,SOC15_DPG_MODE_OFFSET (VCN , inst_idx, regUVD_VCPU_CNTL), tmp,0 , indirect); -/* disable master interupt */ +/* disable master interrupt */ WREG32_SOC15_DPG_MODE (inst_idx,SOC15_DPG_MODE_OFFSET (VCN , inst_idx, regUVD_MASTINT_EN),0 ,0 , indirect);
drivers/gpu/drm/amd/amdgpu/vi.c +1 -1
@@ -654,7 +654,7 @@ static bool vi_read_bios_from_rom(struct amdgpu_device *adev,/* set rom index to 0 */ WREG32 (mmSMC_IND_INDEX_11, ixROM_INDEX);WREG32 (mmSMC_IND_DATA_11,0 ); -/* set index to data for continous read */ +/* set index to data for continuous read */ WREG32 (mmSMC_IND_INDEX_11, ixROM_DATA);for (i =0 ; i < length_dw; i++) dw_ptr[i] =RREG32 (mmSMC_IND_DATA_11);
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +1 -1
@@ -3630,7 +3630,7 @@ static long kfd_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)/* * Versions of docker shipped in Ubuntu 18.xx and 20.xx do not support * CAP_CHECKPOINT_RESTORE, so we also allow access if CAP_SYS_ADMIN as CAP_SYS_ADMIN is a -* more priviledged access. +* more privileged access. */ if (unlikely (ioctl->flags &KFD_IOC_FLAG_CHECKPOINT_RESTORE )) { if (!capable(CAP_CHECKPOINT_RESTORE) &&
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
@@ -2314,7 +2314,7 @@ static int initialize_plane(struct amdgpu_display_manager *dm,/* * In this architecture, the association * connector -> encoder -> crtc -* id not really requried. The crtc and connector will hold the +* id not really required. The crtc and connector will hold the * display_index as an abstraction to use with DAL component * * Returns 0 on success
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h +1 -1
@@ -63,7 +63,7 @@ void amdgpu_dm_irq_fini(struct amdgpu_device *adev);* * @adev: AMD DRM device * @int_params: parameters for the irq -* @ih: pointer to the irq hander function +* @ih: pointer to the irq handler function * @handler_args: arguments which will be passed to ih * * Returns:
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c +1 -1
@@ -270,7 +270,7 @@ static int get_vco_frequency_from_reg(struct clk_mgr_internal *clk_mgr)/* * since fractional part is only 16 bit in register definition but is 32 bit -* in our fix point definiton, need to shift left by 16 to obtain correct value +* in our fix point definition, need to shift left by 16 to obtain correct value */ pll_req.value |= fbmult_frac_val <<16 ;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c +1 -1
@@ -202,7 +202,7 @@ static int get_vco_frequency_from_reg(struct clk_mgr_internal *clk_mgr)/* * since fractional part is only 16 bit in register definition but is 32 bit -* in our fix point definiton, need to shift left by 16 to obtain correct value +* in our fix point definition, need to shift left by 16 to obtain correct value */ pll_req.value |= fbmult_frac_val <<16 ;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c +1 -1
@@ -277,7 +277,7 @@ static int get_vco_frequency_from_reg(struct clk_mgr_internal *clk_mgr)/* * since fractional part is only 16 bit in register definition but is 32 bit -* in our fix point definiton, need to shift left by 16 to obtain correct value +* in our fix point definition, need to shift left by 16 to obtain correct value */ pll_req.value |= fbmult_frac_val <<16 ;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c +1 -1
@@ -356,7 +356,7 @@ static int get_vco_frequency_from_reg(struct clk_mgr_internal *clk_mgr)/* * since fractional part is only 16 bit in register definition but is 32 bit -* in our fix point definiton, need to shift left by 16 to obtain correct value +* in our fix point definition, need to shift left by 16 to obtain correct value */ pll_req.value |= fbmult_frac_val <<16 ;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c +1 -1
@@ -568,7 +568,7 @@ static int get_vco_frequency_from_reg(struct clk_mgr_internal *clk_mgr)/* * since fractional part is only 16 bit in register definition but is 32 bit -* in our fix point definiton, need to shift left by 16 to obtain correct value +* in our fix point definition, need to shift left by 16 to obtain correct value */ pll_req.value |= fbmult_frac_val <<16 ;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +1 -1
@@ -4682,7 +4682,7 @@ enum dc_status dc_validate_with_context(struct dc *dc,* @dsc_padding_params: Pointer to the DSC padding parameters structure. * * This function updated the pix_clk for dsc with padding stored in pipe_ctx -* such that the OTG h_active time fits withing the expected compressed active +* such that the OTG h_active time fits within the expected compressed active * time calculated according to HDMI spec. H_total is then increased to * maintain the same OTG line time as before the increased pix_clk. */
drivers/gpu/drm/amd/display/dc/dc.h +1 -1
@@ -3027,7 +3027,7 @@ bool dc_link_get_pr_state(const struct dc_link *link, uint64_t *state);*/ bool dc_link_wait_for_t12 (struct dc_link *link); -/* Determine if dp trace has been initialized to reflect upto date result * +/* Determine if dp trace has been initialized to reflect up to date result * * return - true if trace is initialized and has valid data. False dp trace * doesn't have valid result. */
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c +1 -1
@@ -1054,7 +1054,7 @@ static void dc_build_cursor_update_payload0( }/* Payload: Cursor Rect is built from position & attribute -* x & y are obtained from postion +* x & y are obtained from position */ payload->cursor_rect.x = hubp->cur_rect.x; payload->cursor_rect.y = hubp->cur_rect.y;
drivers/gpu/drm/amd/display/dc/dc_types.h +1 -1
@@ -276,7 +276,7 @@ struct dc_mode_flags {enum dc_timing_source {TIMING_SOURCE_UNDEFINED , -/* explicitly specifed by user, most important*/ +/* explicitly specified by user, most important*/ TIMING_SOURCE_USER_FORCED ,TIMING_SOURCE_USER_OVERRIDE ,TIMING_SOURCE_CUSTOM ,
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c +4 -4
@@ -185,7 +185,7 @@ static void check_audio_bandwidth_hdmi(/* @todo do it after deep color is implemented * 8xx - deep color bandwidth scaling -* Extra bandwidth is avaliable in deep color b/c link runs faster than +* Extra bandwidth is available in deep color b/c link runs faster than * pixel rate. This has the effect of allowing more tmds characters to * be transmitted during blank */
@@ -1188,9 +1188,9 @@ void dce_aud_hw_init(if (audio->inst !=0 )return ; -/* Suport R5 - 32khz -* Suport R6 - 44.1khz -* Suport R7 - 48khz +/* Support R5 - 32khz +* Support R6 - 44.1khz +* Support R7 - 48khz */ /*disable clock gating before write to endpoint register*/ value =AZ_REG_READ (AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL );
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c +1 -1
@@ -390,7 +390,7 @@ static bool dcn10_dmcu_init(struct dmcu *dmcu)PERF_TRACE ();/* Definition of DC_DMCU_SCRATCH -* 0 : firmare not loaded +* 0 : firmware not loaded * 1 : PSP load DMCU FW but not initialized * 2 : Firmware already initialized */
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h +1 -1
@@ -229,7 +229,7 @@ bool dce110_link_encoder_validate_output_with_stream(/****************** HW programming ************************/ -/* initialize HW */ /* why do we initialze aux in here? */ +/* initialize HW */ /* why do we initialize aux in here? */ void dce110_link_encoder_hw_init (struct link_encoder *enc);void dce110_link_encoder_destroy (struct link_encoder **enc);
drivers/gpu/drm/amd/display/dc/dce/dce_opp.c +2 -2
@@ -357,7 +357,7 @@ static void set_temporal_dither(* 1 for 8 bpc * 2 for 10 bpc * 3 for 12 bpc -* 7 for programable +* 7 for programmable * 2) Enable clamp if Limited range requested */ void dce110_opp_set_clamping(
@@ -417,7 +417,7 @@ void dce110_opp_set_clamping(* 1 for 8 bpc * 2 for 10 bpc * 3 for 12 bpc -* 7 for programable +* 7 for programmable * 2) Enable clamp if Limited range requested */ static void dce60_opp_set_clamping(
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c +2 -2
@@ -475,7 +475,7 @@ static void dce110_stream_encoder_dp_set_stream_attribute( h_back_porch = h_blank - hw_crtc_timing.h_front_porch - hw_crtc_timing.h_sync_width; -/* start at begining of left border */ +/* start at beginning of left border */ h_active_start = hw_crtc_timing.h_sync_width + h_back_porch;
@@ -484,7 +484,7 @@ static void dce110_stream_encoder_dp_set_stream_attribute( hw_crtc_timing.v_front_porch; -/* start at begining of left border */ +/* start at beginning of left border */ if (REG (DP_MSA_TIMING_PARAM2 )) REG_SET_2(DP_MSA_TIMING_PARAM2, 0, DP_MSA_HSTART, h_active_start,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c +1 -1
@@ -2070,7 +2070,7 @@ void dce110_tg_set_colors(struct timing_generator *tg, }/* Gets first line of blank region of the display timing for CRTC -* and programms is as a trigger to fire vertical interrupt +* and programs is as a trigger to fire vertical interrupt */ bool dce110_arm_vert_intr (struct timing_generator *tg,uint8_t width) {
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c +1 -1
@@ -46,7 +46,7 @@ static void dcn20_wait_for_vmid_ready(struct dcn20_vmid *vmid)/* According the hardware spec, we need to poll for the lowest * bit of PAGE_TABLE_BASE_ADDR_LO32 = 1 any time a GPUVM * context is updated. We can't use REG_WAIT here since we -* don't have a seperate field to wait on. +* don't have a separate field to wait on. * * TODO: Confirm timeout / poll interval with hardware team */
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_link_encoder.h +1 -1
@@ -584,7 +584,7 @@ bool dcn10_link_encoder_validate_output_with_stream(/****************** HW programming ************************/ -/* initialize HW */ /* why do we initialze aux in here? */ +/* initialize HW */ /* why do we initialize aux in here? */ void dcn10_link_encoder_hw_init (struct link_encoder *enc);void dcn10_link_encoder_destroy (struct link_encoder **enc);
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c +1 -1
@@ -342,7 +342,7 @@ static void pipe_ctx_to_e2e_pipe_params ( input->src.viewport_height = pipe->plane_res.scl_data.viewport.height; input->src.data_pitch = pipe->plane_res.scl_data.viewport.width; input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width; - input->src.cur0_src_width =128 ;/* TODO: Cursor calcs, not curently stored */ + input->src.cur0_src_width =128 ;/* TODO: Cursor calcs, not currently stored */ input->src.cur0_bpp =32 ; input->src.macro_tile_size =swizzle_mode_to_macro_tile_size (pipe->plane_state->tiling_info.gfx9.swizzle);
drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c +1 -1
@@ -1805,7 +1805,7 @@ static void DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerforman v->DISPCLKWithRamping =0 ; v->DISPCLKWithoutRamping =0 ; v->GlobalDPPCLK =0.0 ; -/* DAL custom code: need to update ReturnBW in case min dcfclk is overriden */ +/* DAL custom code: need to update ReturnBW in case min dcfclk is overridden */ v->IdealSDPPortBandwidthPerState[v->VoltageLevel][v->maxMpcComb] = dml_min3( v->ReturnBusWidth * v->DCFCLK, v->DRAMSpeedPerState[v->VoltageLevel] * v->NumberOfChannels * v->DRAMChannelWidth,
drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c +2 -2
@@ -50,7 +50,7 @@// For DML-C changes that hasn't been propagated to VBA yet //#define __DML_VBA_ALLOW_DELTA__ -// Move these to ip paramaters/constant +// Move these to ip parameters/constant // At which vstartup the DML start to try if the mode can be supported #define __DML_VBA_MIN_VSTARTUP__ 9
@@ -2045,7 +2045,7 @@ static void DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerforman v->DISPCLKWithRamping =0 ; v->DISPCLKWithoutRamping =0 ; v->GlobalDPPCLK =0.0 ; -/* DAL custom code: need to update ReturnBW in case min dcfclk is overriden */ +/* DAL custom code: need to update ReturnBW in case min dcfclk is overridden */ { double IdealFabricAndSDPPortBandwidthPerState = dml_min( v->ReturnBusWidth * v->DCFCLKState[v->VoltageLevel][v->maxMpcComb],
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c +1 -1
@@ -1076,7 +1076,7 @@ static bool subvp_validate_static_schedulability(struct dc *dc,// Static schedulability check for SubVP + SubVP case schedulable =subvp_subvp_admissable (dc, context) &&subvp_subvp_schedulable (dc, context); }else if (subvp_count ==1 && non_subvp_pipes ==0 ) { -// Single SubVP configs will be supported by default as long as it's suppported by DML +// Single SubVP configs will be supported by default as long as it's supported by DML schedulable = true; }else if (subvp_count ==1 && non_subvp_pipes ==1 ) {if (dcn32_subvp_drr_admissable (dc, context))
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core_structs.h +1 -1
@@ -519,7 +519,7 @@ struct SOCParametersList {dml_float_t SMNLatency; }; -/// @brief Struct that represent Plane configration of a display cfg +/// @brief Struct that represent Plane configuration of a display cfg struct dml_plane_cfg_st {// // Pipe/Surface Parameters
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c +1 -1
@@ -977,7 +977,7 @@ bool dml21_map_dc_state_into_dml_display_cfg(const struct dc *in_dc, struct dc_svoid dml21_copy_clocks_to_dc_state (struct dml2_context *in_ctx,struct dc_state *context) { -/* TODO these should be the max of active, svp prefetch and idle should be tracked seperately */ +/* TODO these should be the max of active, svp prefetch and idle should be tracked separately */ context->bw_ctx.bw.dcn.clk.dispclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.dispclk_khz; context->bw_ctx.bw.dcn.clk.dcfclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.active.dcfclk_khz; context->bw_ctx.bw.dcn.clk.dramclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.active.uclk_khz;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_wrapper.h +1 -1
@@ -54,7 +54,7 @@ struct dc_mcache_params {unsigned int num_mcaches_plane1;/* * Generally, plane0/1 slices must use a disjoint set of caches -* but in some cases the final segement of the two planes can +* but in some cases the final segment of the two planes can * use the same cache. If plane0_plane1 is set, then this is * allowed. *
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h +1 -1
@@ -187,7 +187,7 @@ struct dml2_mcache_surface_allocation {/* * Generally, plane0/1 slices must use a disjoint set of caches -* but in some cases the final segement of the two planes can +* but in some cases the final segment of the two planes can * use the same cache. If plane0_plane1 is set, then this is * allowed. *
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +5 -5
@@ -1495,7 +1495,7 @@ static unsigned int dscceComputeDelay( cycles_per_group =6 ; else cycles_per_group =3 ; -//delay of the bit stream contruction layer in pixels is the sum of: +//delay of the bit stream construction layer in pixels is the sum of: //1. number of pixel containers in a slice line multipled by the number of lines required to reach initial transmit delay multipled by number of slices to the left of the last horizontal slice //2. number of pixel containers required to reach initial transmit delay (specifically, in the last horizontal slice) //3. additional group of delay if initial transmit delay is reached exactly in a group
@@ -1757,7 +1757,7 @@ static unsigned int CalculateVMAndRowBytes(struct dml2_core_shared_calculate_vm_ *p->vmpg_height = *p->PixelPTEReqHeight; *p->vmpg_width = *p->PixelPTEReqWidth; }else { -// default for rest of calculation to go through, when vm is disable, the calulated pte related values shouldnt be used anyways +// default for rest of calculation to go through, when vm is disable, the calulated pte related values shouldn't be used anyways *p->PixelPTEReqHeight = p->MacroTileHeight; *p->PixelPTEReqWidth =8 *1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); *p->PTERequestSize =64 ;
@@ -2827,7 +2827,7 @@ static noinline_for_stack void calculate_bandwidth_available(DML_LOG_VERBOSE ("DML::%s: fclk_mhz = %f\n" , __func__, fclk_mhz);DML_LOG_VERBOSE ("DML::%s: dram_bw_mbps = %f\n" , __func__, dram_bw_mbps); -// Calculate all the bandwidth availabe +// Calculate all the bandwidth available for (m =0 ; m < dml2_core_internal_soc_state_max; m++) {for (n =0 ; n < dml2_core_internal_bw_max; n++) { avg_bandwidth_available[m][n] = dml_get_return_bandwidth_available(soc,
@@ -3199,7 +3199,7 @@ static void CalculateVMRowAndSwath(struct dml2_core_internal_scratch *scratch, p->dpte_row_bytes_per_row_l[k] = s->PixelPTEBytesPerRowY[k]; p->dpte_row_bytes_per_row_c[k] = s->PixelPTEBytesPerRowC[k]; -// if one row of dPTEs is meant to span the entire frame, then for these calculations, we will pretend like that one big row is fetched in two halfs +// if one row of dPTEs is meant to span the entire frame, then for these calculations, we will pretend like that one big row is fetched in two halves if (p->use_one_row_for_frame[k]) p->PixelPTEBytesPerRow[k] = p->PixelPTEBytesPerRow[k] /2 ;
@@ -11030,7 +11030,7 @@ static bool dml_core_mode_programming(struct dml2_core_calcs_mode_programming_ex s->num_active_planes); } -// Calculate all the bandwidth availabe +// Calculate all the bandwidth available calculate_bandwidth_available( mode_lib->mp.avg_bandwidth_available_min, mode_lib->mp.avg_bandwidth_available,
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn5_calcs_dchub.c +3 -3
@@ -1222,7 +1222,7 @@ unsigned int dcn5_calculate_vm_and_row_bytes(struct dml2_core_shared_calculate_v *p->vmpg_height = *p->PixelPTEReqHeight; *p->vmpg_width = *p->PixelPTEReqWidth; }else { -// default for rest of calculation to go through, when vm is disable, the calulated pte related values shouldnt be used anyways +// default for rest of calculation to go through, when vm is disable, the calulated pte related values shouldn't be used anyways *p->PixelPTEReqHeight = p->MacroTileHeight; *p->PixelPTEReqWidth =8 *1024 * p->GPUVMMinPageSizeKBytes / (p->MacroTileHeight * p->BytePerPixel); *p->PTERequestSize =64 ;
@@ -1586,7 +1586,7 @@ void dcn5_calculate_vm_row_and_swath(struct dml2_core_internal_scratch *scratch, p->dpte_row_bytes_per_row_l[k] = s->PixelPTEBytesPerRowY[k]; p->dpte_row_bytes_per_row_c[k] = s->PixelPTEBytesPerRowC[k]; -// if one row of dPTEs is meant to span the entire frame, then for these calculations, we will pretend like that one big row is fetched in two halfs +// if one row of dPTEs is meant to span the entire frame, then for these calculations, we will pretend like that one big row is fetched in two halves if (p->use_one_row_for_frame[k]) p->PixelPTEBytesPerRow[k] = p->PixelPTEBytesPerRow[k] /2 ;
@@ -3079,7 +3079,7 @@ bool dcn5_calculate_prefetch_schedule(struct dml2_core_internal_scratch *scratch// Tpre_rounded is Tpre rounding to 2-bit fraction // Tvm_trips_rounded is Tvm_trips ceiling to 1/4 line time // Tr0_trips_rounded is Tr0_trips ceiling to 1/4 line time -// So that means prefetch bw calculated can be higher since the total time availabe for prefetch is less +// So that means prefetch bw calculated can be higher since the total time available for prefetch is less bool min_Lsw_equ_ok = *p->Tpre_rounded >= s->Tvm_trips_rounded +2.0 *s->Tr0_trips_rounded + s->min_Lsw_equ*s->LineTime;if (s->dst_y_prefetch_equ >1 && min_Lsw_equ_ok) {
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn5_calcs_dsc_latency.c +3 -3
@@ -162,7 +162,7 @@ static void dscc_bcl_compute_delay(latency_t *p, int bpc, float bpp, int slice_w//number of syntax elements per group is 4 in N422 or 3 in all other pixel formats syntax_elements_per_group = (pixel_format == dml2_n422) ?4 :3 ; -//delay of the bit stream contruction layer in pixels is the sum of: +//delay of the bit stream construction layer in pixels is the sum of: //1. number of pixel containers in a slice line multiplied by the number of lines required to reach initial transmit delay multiplied by number of slices to the left of the last horizontal slice group_delay = (lines_to_reach_ixd_adjusted * slice_width_groups * (num_slices -1 ));
@@ -302,7 +302,7 @@ static delay_uncertainty_t legacy_dsc_compute_output_pixel_delay(enum dml2_outpuif (pixel_format == dml2_420 || pixel_format == dml2_n422) { delay +=2 ; } - }else {//greater than 1 slice configration has two slice streams, 6 cycles to accumulate 2 groups + }else {//greater than 1 slice configuration has two slice streams, 6 cycles to accumulate 2 groups //no need to multiply by pixels per container as first half of first slice line is output faster by dscc_if as //the second slice stream has no started yet so we do not need to wait for those pixels to appear at the input delay +=6 ;
@@ -373,7 +373,7 @@ static delay_uncertainty_t dsc_compute_output_pixel_delay(enum dml2_output_formaif (pixel_format == dml2_420 || pixel_format == dml2_n422) { delay +=2 ; } - }else {//greater than 1 slice configration has two slice streams, 6 cycles to accumulate 2 groups + }else {//greater than 1 slice configuration has two slice streams, 6 cycles to accumulate 2 groups //no need to multiply by pixels per container as first half of first slice line is output faster by dscc_if as //the second slice stream has no started yet so we do not need to wait for those pixels to appear at the input //it takes 12 cycles for 6 pairs to arrive
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_mcg/dml2_mcg_dcn4.c +1 -1
@@ -66,7 +66,7 @@ static bool build_min_clk_table_fine_grained(const struct dml2_soc_bb *soc_bb, s } min_table->dram_bw_table.num_entries = soc_bb->clk_table.uclk.num_clk_values; -// To create the minium table, effectively shift "up" all the dcfclk/fclk entries by 1, and then replace the lowest entry with min fclk/dcfclk +// To create the minimum table, effectively shift "up" all the dcfclk/fclk entries by 1, and then replace the lowest entry with min fclk/dcfclk for (i = min_table->dram_bw_table.num_entries -1 ; i >0 ; i--) { prev_100 = min_table->dram_bw_table.entries[i -1 ].min_fclk_khz; cur_50 = min_table->dram_bw_table.entries[i].min_fclk_khz /2 ;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/alternate_pstate_shared_lib.c +1 -1
@@ -981,7 +981,7 @@ static void populate_lsdma( out->width[1 ][pipe_idx] = out->width[0 ][pipe_idx]; out->height[1 ][pipe_idx] = end_line_next - out->src_y[1 ][pipe_idx]; -/* Note: If odd_req_width == true (not divisable by 256), then dst_pitch must be rounded up such that +/* Note: If odd_req_width == true (not divisible by 256), then dst_pitch must be rounded up such that the total bytes (pitch * bytes_per_element) is divisible by 128 but not 256. Otherwise it must be rounded up such that it is divisible by 256. If out.dst_pitch already meets this requirement on assigning out.dst_pitch = out.width[0],
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_soc15.c +2 -2
@@ -666,7 +666,7 @@ void dml2_top_mcache_assign_global_mcache_ids(struct top_mcache_assign_global_mc params->allocations[i].global_mcache_ids_plane1[j] = next_unused_cache_id++; } -// The "psuedo-last" slice is always wrapped around +// The "pseudo-last" slice is always wrapped around params->allocations[i].global_mcache_ids_plane0[params->allocations[i].num_mcaches_plane0] = params->allocations[i].global_mcache_ids_plane0[0 ]; params->allocations[i].global_mcache_ids_plane1[params->allocations[i].num_mcaches_plane1] =
@@ -681,7 +681,7 @@ void dml2_top_mcache_assign_global_mcache_ids(struct top_mcache_assign_global_mc params->allocations[i].global_mcache_ids_mall_plane1[j] = next_unused_cache_id++; } -// The "psuedo-last" slice is always wrapped around +// The "pseudo-last" slice is always wrapped around params->allocations[i].global_mcache_ids_mall_plane0[params->allocations[i].num_mcaches_plane0] = params->allocations[i].global_mcache_ids_mall_plane0[0 ]; params->allocations[i].global_mcache_ids_mall_plane1[params->allocations[i].num_mcaches_plane1] =
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +1 -1
@@ -76,7 +76,7 @@ static enum dml2_status dml2_top_perform_stage_optimization(struct dml2_instance* means the stage optimizer no longer needs to attempt further optimization. The current worksheet should be * left unmodified. When the interface returns true, it means the stage optimizer applied new optimization to * the worksheet. DML top will need to validate and test permissibility again. The worksheet passed in is based -* off the optimization decision from last attempt. It may or may not be validated or permissible. It is upto +* off the optimization decision from last attempt. It may or may not be validated or permissible. It is up to * DML top to keep track of the last valid permissible worksheet. This interface is also responsible to clear * corresponding valid bits in worksheet's validation result based on what optimization it gets applied. When * the valid bits are cleared, it will be revalidated by top. Otherwise, DML top will assume it is safe to skip
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/inc/dml2_internal_shared_types.h +1 -1
@@ -725,7 +725,7 @@ struct dml2_pmo_stage_optimizer {* means the stage optimizer no longer needs to attempt further optimization. The current worksheet should be * left unmodified. When the interface returns true, it means the stage optimizer applied new optimization to * the worksheet. DML top will need to validate and test permissibility again. The worksheet passed in is based -* off the optimization decision from last attempt. It may or may not be validated or permissible. It is upto +* off the optimization decision from last attempt. It may or may not be validated or permissible. It is up to * DML top to keep track of the last valid permissible worksheet. This interface is also responsible to clear * corresponding valid bits in worksheet's validation result based on what optimization it gets applied. When * the valid bits are cleared, it will be revalidated by top. Otherwise, DML top will assume it is safe to skip
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c +1 -1
@@ -815,7 +815,7 @@ static void add_phantom_pipes_for_main_pipe(struct dml2_context *ctx, struct dc_struct dc_stream_state *phantom_stream =NULL ;unsigned int i; -// The index of the DC pipe passed into this function is guarenteed to +// The index of the DC pipe passed into this function is guaranteed to // be a valid candidate for SubVP (i.e. has a plane, stream, doesn't // already have phantom pipe assigned, etc.) by previous checks. phantom_stream =enable_phantom_stream (ctx, state, main_pipe_idx, svp_height, vstartup);
drivers/gpu/drm/amd/display/dc/gpio/dcn315/hw_factory_dcn315.c +1 -1
@@ -223,7 +223,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) } -/* fucntion table */ +/* function table */ static const struct hw_factory_funcs funcs = { .init_ddc_data = dal_hw_ddc_init, .init_generic = dal_hw_generic_init,
drivers/gpu/drm/amd/display/dc/gpio/dcn32/hw_factory_dcn32.c +1 -1
@@ -235,7 +235,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) } -/* fucntion table */ +/* function table */ static const struct hw_factory_funcs funcs = { .init_ddc_data = dal_hw_ddc_init, .init_generic = dal_hw_generic_init,
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c +1 -1
@@ -818,7 +818,7 @@ void hubp401_cursor_set_position(uint32_t x_hotspot_clamped = pos->x_hotspot; hubp->curs_pos = *pos;/* Recout is zero for pipes if the entire dst_rect is contained -* within preceeding ODM slices. +* within preceding ODM slices. */ if (param->recout.width) { x_pos_viewport = pos->x * param->viewport.width / param->recout.width;
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h +4 -4
@@ -820,7 +820,7 @@ struct mpc_funcs {* * Return: * -* bool - wheter DWB is idle or not +* bool - whether DWB is idle or not */ bool (*is_dwb_idle)( struct mpc *mpc,
@@ -878,7 +878,7 @@ struct mpc_funcs {* - [in] params - curve parameters for the LUT configuration * - [in] rmu_idx * -* bool - wheter LUT was set (set with given parameters) or not (params is NULL and LUT is disabled). +* bool - whether LUT was set (set with given parameters) or not (params is NULL and LUT is disabled). */ bool (*program_1dlut)( struct mpc *mpc,
@@ -897,7 +897,7 @@ struct mpc_funcs {* * Return: * -* bool - wheter shaper was set (set with given parameters) or not (params is NULL and LUT is disabled). +* bool - whether shaper was set (set with given parameters) or not (params is NULL and LUT is disabled). */ bool (*program_shaper)( struct mpc *mpc,
@@ -930,7 +930,7 @@ struct mpc_funcs {* - [in] params - tetrahedral parameters for the LUT configuration * - [in] rmu_idx * -* bool - wheter LUT was set (set with given parameters) or not (params is NULL and LUT is disabled). +* bool - whether LUT was set (set with given parameters) or not (params is NULL and LUT is disabled). */ bool (*program_3dlut)( struct mpc *mpc,
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c +2 -2
@@ -580,7 +580,7 @@ static enum dc_link_rate increase_link_rate(struct dc_link *link,case LINK_RATE_HIGH3 :return LINK_RATE_UHBR10 ;case LINK_RATE_UHBR10 : -/* upto DP2.x specs UHBR13.5 is the only link rate that could be +/* up to DP2.x specs UHBR13.5 is the only link rate that could be * not supported by DPRX when higher link rate is supported. * so we treat it as a special case for code simplicity. When we * have new specs with more link rates like this, we should
@@ -642,7 +642,7 @@ static bool decide_fallback_link_setting_max_bw_policy( next_idx++; else if (dp_lt_fallbacks[next_idx].link_rate == LINK_RATE_UHBR13_5 && link->dpcd_caps.dp_128b_132b_supported_link_rates.bits.UHBR13_5 == 0) -/* upto DP2.x specs UHBR13.5 is the only link rate that +/* up to DP2.x specs UHBR13.5 is the only link rate that * could be not supported by DPRX when higher link rate * is supported. so we treat it as a special case for * code simplicity. When we have new specs with more
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c +2 -2
@@ -108,7 +108,7 @@ enum dp_panel_mode dp_get_panel_mode(struct dc_link *link)/* alternate scrambler reset is required for Travis * for the case when external chip does not * provide sink device id, alternate scrambler -* scheme will be overriden later by querying +* scheme will be overridden later by querying * Encoder features */ if (strncmp(
@@ -124,7 +124,7 @@ enum dp_panel_mode dp_get_panel_mode(struct dc_link *link)/* alternate scrambler reset is required for NUTMEG * for the case when external chip does not provide * sink device id, alternate scrambler scheme will -* be overriden later by querying Encoder feature +* be overridden later by querying Encoder feature */ if (strncmp(link->dpcd_caps.branch_dev_name, DP_VGA_LVDS_CONVERTER_ID_3,
drivers/gpu/drm/amd/display/dc/opp/dcn10/dcn10_opp.c +1 -1
@@ -200,7 +200,7 @@ static void opp1_set_pixel_encoding(* 1 for 8 bpc * 2 for 10 bpc * 3 for 12 bpc -* 7 for programable +* 7 for programmable * 2) Enable clamp if Limited range requested * * @oppn10: output_pixel_processor struct instance for dcn10.
drivers/gpu/drm/amd/display/dc/optc/dcn401/dcn401_optc.c +1 -1
@@ -33,7 +33,7 @@* current OPTC by setting the bit with offset associated with the desired * memory instance to 1 in the current OPTC memory map register. * -* It is upto software to decide how to allocate the shared memory resources +* It is up to software to decide how to allocate the shared memory resources * across different OPTC instances. Driver understands that the total number * of memory available is always 2 times the max number of OPP pipes. So each * OPP pipe can be mapped 2 pieces of memory. However there exists cases such as
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c +1 -1
@@ -741,7 +741,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 5120,/*upto 5K*/ + .max_downscale_src_width = 5120,/*up to 5K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c +1 -1
@@ -763,7 +763,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 7680,/*upto 8K*/ + .max_downscale_src_width = 7680,/*up to 8K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn301/dcn301_resource.c +1 -1
@@ -696,7 +696,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 4096,/*upto true 4k*/ + .max_downscale_src_width = 4096,/*up to true 4k*/ .scl_reset_length10 = true, .sanity_checks = false, .underflow_assert_delay_us = 0xFFFFFFFF,
drivers/gpu/drm/amd/display/dc/resource/dcn302/dcn302_resource.c +1 -1
@@ -94,7 +94,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 7680,/*upto 8K*/ + .max_downscale_src_width = 7680,/*up to 8K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn303/dcn303_resource.c +1 -1
@@ -94,7 +94,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 7680,/*upto 8K*/ + .max_downscale_src_width = 7680,/*up to 8K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c +1 -1
@@ -925,7 +925,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 4096,/*upto true 4K*/ + .max_downscale_src_width = 4096,/*up to true 4K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c +1 -1
@@ -945,7 +945,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 4096,/*upto true 4k*/ + .max_downscale_src_width = 4096,/*up to true 4k*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c +2 -2
@@ -925,7 +925,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 4096,/*upto true 4k*/ + .max_downscale_src_width = 4096,/*up to true 4k*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
@@ -1911,7 +1911,7 @@ static int dcn315_populate_dml_pipes_from_context(if (!pipe->stream)continue ; -/* Do not use asymetric crb if not enough for pstate support */ +/* Do not use asymmetric crb if not enough for pstate support */ if (remaining_det_segs <0 ) { pipes[pipe_cnt].pipe.src.det_size_override =0 ; pipe_cnt++;
drivers/gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c +1 -1
@@ -920,7 +920,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 4096,/*upto true 4k*/ + .max_downscale_src_width = 4096,/*up to true 4k*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c +2 -2
@@ -755,7 +755,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 7680,/*upto 8K*/ + .max_downscale_src_width = 7680,/*up to 8K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
@@ -1887,7 +1887,7 @@ void dcn32_add_phantom_pipes(struct dc *dc, struct dc_state *context,struct dc_stream_state *phantom_stream =NULL ;unsigned int i; -// The index of the DC pipe passed into this function is guarenteed to +// The index of the DC pipe passed into this function is guaranteed to // be a valid candidate for SubVP (i.e. has a plane, stream, doesn't // already have phantom pipe assigned, etc.) by previous checks. phantom_stream =dcn32_enable_phantom_stream (dc, context, pipes, pipe_cnt, index);
drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c +1 -1
@@ -745,7 +745,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 7680,/*upto 8K*/ + .max_downscale_src_width = 7680,/*up to 8K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c +1 -1
@@ -777,7 +777,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dsc_power_gate = true, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 4096,/*upto true 4k*/ + .max_downscale_src_width = 4096,/*up to true 4k*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c +1 -1
@@ -757,7 +757,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dsc_power_gate = true, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 4096,/*upto true 4k*/ + .max_downscale_src_width = 4096,/*up to true 4k*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn36/dcn36_resource.c +1 -1
@@ -764,7 +764,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dsc_power_gate = true, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 4096,/*upto true 4k*/ + .max_downscale_src_width = 4096,/*up to true 4k*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c +1 -1
@@ -758,7 +758,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 7680,/*upto 8K*/ + .max_downscale_src_width = 7680,/*up to 8K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c +3 -3
@@ -626,7 +626,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 7680,/*upto 8K*/ + .max_downscale_src_width = 7680,/*up to 8K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,
@@ -751,7 +751,7 @@ static void assign_global_mcache_ids(struct dc_state *context, const struct dc_m mcache_allocations[plane_idx].global_mcache_ids_plane1[i] = next_unused_cache_id++; } -// The "psuedo-last" slice is always wrapped around +// The "pseudo-last" slice is always wrapped around mcache_allocations[plane_idx].global_mcache_ids_plane0[mcache_params[plane_idx].num_mcaches_plane0] = mcache_allocations[plane_idx].global_mcache_ids_plane0[0 ]; mcache_allocations[plane_idx].global_mcache_ids_plane1[mcache_params[plane_idx].num_mcaches_plane1] =
@@ -766,7 +766,7 @@ static void assign_global_mcache_ids(struct dc_state *context, const struct dc_m mcache_allocations[plane_idx].global_mcache_ids_mall_plane1[i] = next_unused_cache_id++; } -// The "psuedo-last" slice is always wrapped around +// The "pseudo-last" slice is always wrapped around mcache_allocations[plane_idx].global_mcache_ids_mall_plane0[mcache_params[plane_idx].num_mcaches_plane0] = mcache_allocations[plane_idx].global_mcache_ids_mall_plane0[0 ]; mcache_allocations[plane_idx].global_mcache_ids_mall_plane1[mcache_params[plane_idx].num_mcaches_plane1] =
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c +2 -2
@@ -584,7 +584,7 @@ static bool dmub_srv_hw_setup(struct dmub_srv *dmub, enum dmub_asic asic)return false; } -/* set default inbox type if not overriden */ +/* set default inbox type if not overridden */ if (dmub->inbox_type ==DMUB_CMD_INTERFACE_DEFAULT ) {if (default_inbox_type !=DMUB_CMD_INTERFACE_DEFAULT ) {/* use default inbox type as specified by DCN rev */
@@ -882,7 +882,7 @@ enum dmub_status dmub_srv_hw_init(struct dmub_srv *dmub, cw4.region.top = cw4.region.base + mail_fb->size;/** -* Doubled the mailbox region to accomodate inbox and outbox. +* Doubled the mailbox region to accommodate inbox and outbox. * Note: Currently, currently total mailbox size is 16KB. It is split * equally into 8KB between inbox and outbox. If this config is * changed, then uncached base address configuration of outbox1
drivers/gpu/drm/amd/display/include/grph_object_ctrl_defs.h +1 -1
@@ -214,7 +214,7 @@ struct spread_spectrum_info {union {struct step_and_delay_info step_and_delay_info; -/* For mem/engine/uvd, Clock Out frequence (VCO ), +/* For mem/engine/uvd, Clock Out frequency (VCO ), in unit of kHz. For TMDS/HDMI/LVDS, it is pixel clock, for DP, it is link clock ( 270000 or 162000 ) */ uint32_t target_clock_range;/* in KHz */
drivers/gpu/drm/amd/include/atombios.h +28 -28
205 lines not on this page · raw message
drivers/gpu/drm/amd/include/atomfirmware.h +1 -1
@@ -742,7 +742,7 @@ struct atom_gpio_pin_lut_v2_1/* * VBIOS/PRE-OS always reserve a FB region at the top of frame buffer. driver should not write * access that region. driver can allocate their own reservation region as long as it does not -* overlap firwmare's reservation region. +* overlap firmware's reservation region. * if (pre-NV1X) atom data table firmwareInfoTable version < 3.3: * in this case, atom data table vram_usagebyfirmwareTable version always <= 2.1 * if VBIOS/UEFI GOP is posted:
drivers/gpu/drm/amd/include/mes_v11_api_def.h +1 -1
@@ -530,7 +530,7 @@ enum { QUERY_MES_MAX_SIZE_IN_DWORDS = 20 };/** * Obsolete -* to be removed once KMD stopped refering to it. +* to be removed once KMD stopped referring to it. * use MES_API_QUERY_MES__CAPS instead */ struct MES_API_QUERY_MES__CTX_ARRAY_SIZE {
drivers/gpu/drm/amd/include/pptable.h +1 -1
@@ -442,7 +442,7 @@ typedef struct _ATOM_PPLIB_SUMO_CLOCK_INFO{UCHAR ucEngineClockHigh;//clockfrequency >> 16. UCHAR vddcIndex;//2-bit vddc index; USHORT tdpLimit; -//please initalize to 0 +//please initialize to 0 USHORT rsv1;//please initialize to 0s ULONG rsv2[2 ];
drivers/gpu/drm/amd/pm/amdgpu_pm.c +8 -8
@@ -907,7 +907,7 @@ static ssize_t amdgpu_get_pp_od_clk_voltage(struct device *dev,* features to be enabled. The file pp_features is used for this. And * this is only available for Vega10 and later dGPUs. * -* Reading back the file will show you the followings: +* Reading back the file will show you the following: * - Current ppfeature masks * - List of the all supported powerplay features with their naming, * bitmasks and enablement status('Y'/'N' means "enabled"/"disabled").
@@ -4044,7 +4044,7 @@ amdgpu_distribute_custom_od_settings(struct amdgpu_device *adev,* * Reading back the file shows you the current settings(temperature in Celsius * degree and fan speed in pwm) applied to every anchor point of the curve line -* and their permitted ranges if changable. +* and their permitted ranges if changeable. * * Writing a desired string(with the format like "anchor_point_index temperature * fan_speed_in_pwm") to the file, change the settings for the specific anchor
@@ -4107,7 +4107,7 @@ static umode_t fan_curve_visible(struct amdgpu_device *adev)* acoustic limit in RPM for fan control. * * Reading back the file shows you the current setting and the permitted -* ranges if changable. +* ranges if changeable. * * Writing an integer to the file, change the setting accordingly. *
@@ -4165,7 +4165,7 @@ static umode_t acoustic_limit_threshold_visible(struct amdgpu_device *adev)* acoustic target in RPM for fan control. * * Reading back the file shows you the current setting and the permitted -* ranges if changable. +* ranges if changeable. * * Writing an integer to the file, change the setting accordingly. *
@@ -4225,7 +4225,7 @@ static umode_t acoustic_target_threshold_visible(struct amdgpu_device *adev)* target tempeature in Celsius degree for fan control. * * Reading back the file shows you the current setting and the permitted -* ranges if changable. +* ranges if changeable. * * Writing an integer to the file, change the setting accordingly. *
@@ -4286,7 +4286,7 @@ static umode_t fan_target_temperature_visible(struct amdgpu_device *adev)* minimum fan speed in PWM. * * Reading back the file shows you the current setting and the permitted -* ranges if changable. +* ranges if changeable. * * Writing an integer to the file, change the setting accordingly. *
@@ -4345,7 +4345,7 @@ static umode_t fan_minimum_pwm_visible(struct amdgpu_device *adev)* zero RPM feature. * * Reading back the file shows you the current setting and the permitted -* ranges if changable. +* ranges if changeable. * * Writing an integer to the file, change the setting accordingly. *
@@ -4399,7 +4399,7 @@ static umode_t fan_zero_rpm_enable_visible(struct amdgpu_device *adev)* zero RPM stop temperature feature. * * Reading back the file shows you the current setting and the permitted -* ranges if changable. +* ranges if changeable. * * Writing an integer to the file, change the setting accordingly. *
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c +1 -1
@@ -237,7 +237,7 @@ int amdgpu_parse_extended_power_table(struct amdgpu_device *adev) } } -/* clock dependancy tables, shedding tables */ +/* clock dependency tables, shedding tables */ if (le16_to_cpu (power_info->pplib.usTableSize) >=sizeof (struct _ATOM_PPLIB_POWERPLAYTABLE4 )) {if (power_info->pplib4.usVddcDependencyOnSCLKOffset) {
drivers/gpu/drm/amd/pm/powerplay/hwmgr/hardwaremanager.c +2 -2
@@ -217,7 +217,7 @@ int phm_register_irq_handlers(struct pp_hwmgr *hwmgr)* phm_start_thermal_controller - Initializes the thermal controller subsystem. * * @hwmgr: the address of the powerplay hardware manager. -* Exception PP_Result_Failed if any of the paramters is NULL, otherwise the return value from the dispatcher. +* Exception PP_Result_Failed if any of the parameters is NULL, otherwise the return value from the dispatcher. */ int phm_start_thermal_controller (struct pp_hwmgr *hwmgr) {
@@ -360,7 +360,7 @@ int phm_get_performance_level(struct pp_hwmgr *hwmgr, const struct pp_hw_power_s* @state: the address of the Power State structure. * @pclock_info: the address of PP_ClockInfo structure where the result will be returned. * @designation: PHM performance level designation -* Exception PP_Result_Failed if any of the paramters is NULL, otherwise the return value from the back-end. +* Exception PP_Result_Failed if any of the parameters is NULL, otherwise the return value from the back-end. */ int phm_get_clock_info (struct pp_hwmgr *hwmgr,const struct pp_hw_power_state *state,struct pp_clock_info *pclock_info,PHM_PerformanceLevelDesignation designation)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c +1 -1
@@ -4447,7 +4447,7 @@ static const struct pp_hwmgr_func vega20_hwmgr_funcs = { .get_mclk_od = vega20_get_mclk_od, .set_mclk_od = vega20_set_mclk_od, .odn_edit_dpm_table = vega20_odn_edit_dpm_table, -/* for sysfs to retrive/set gfxclk/memclk */ +/* for sysfs to retrieve/set gfxclk/memclk */ .force_clock_level = vega20_force_clock_level, .emit_clock_levels = vega20_emit_clock_levels, .read_sensor = vega20_read_sensor,
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c +1 -1
@@ -153,7 +153,7 @@ static int ci_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_addre extra_shift =8 * (4 - byte_count);while (byte_count >0 ) { -/* Bytes are written into the SMC addres space with the MSB first. */ +/* Bytes are written into the SMC address space with the MSB first. */ data = (0x100 * data) + *src++; byte_count--; }
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c +1 -1
@@ -159,7 +159,7 @@ static int polaris10_setup_graphics_level_structure(struct pp_hwmgr *hwmgr)"[AVFS][Polaris10_SetupGfxLvlStruct] Copying of MCLK DPM table failed!" , return -1); -/* MVDD Boot value - neccessary for getting rid of the hang that occurs during Mclk DPM enablement */ +/* MVDD Boot value - necessary for getting rid of the hang that occurs during Mclk DPM enablement */ graphics_level_address = dpm_table_start + offsetof(SMU74_Discrete_DpmTable , BootMVdd);
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c +2 -2
@@ -61,7 +61,7 @@ int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, addr = smc_start_address;while (byte_count >=4 ) { -/* Bytes are written into the SMC addres space with the MSB first. */ +/* Bytes are written into the SMC address space with the MSB first. */ data = src[0 ] *0x1000000 + src[1 ] *0x10000 + src[2 ] *0x100 + src[3 ]; result =smu7_set_smc_sram_address (hwmgr, addr, limit);
@@ -91,7 +91,7 @@ int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, extra_shift =8 * (4 - byte_count);while (byte_count >0 ) { -/* Bytes are written into the SMC addres space with the MSB first. */ +/* Bytes are written into the SMC address space with the MSB first. */ data = (0x100 * data) + *src++; byte_count--; }
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c +1 -1
@@ -1750,7 +1750,7 @@ static int tonga_populate_vr_config(struct pp_hwmgr *hwmgr,uint16_t config;if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->vdd_gfx_control) { -/* Splitted mode */ +/* Split mode */ config =VR_SVI2_PLANE_1 ; table->VRConfig |= (config<<VRCONF_VDDGFX_SHIFT );
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +1 -1
@@ -3303,7 +3303,7 @@ static int smu_set_power_profile_mode(void *handle,if (param[param_size] ==PP_SMC_POWER_PROFILE_CUSTOM ) { custom = true; -/* clear frontend mask so custom changes propogate */ +/* clear frontend mask so custom changes propagate */ smu->workload_mask =0 ; }
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h +3 -3
@@ -1073,7 +1073,7 @@ struct pptable_funcs {/** * @update_pcie_parameters: Update and upload the system's PCIe -* capabilites to the SMU. +* capabilities to the SMU. * &pcie_gen_cap: Maximum allowed PCIe generation. * &pcie_width_cap: Maximum allowed PCIe width. */
@@ -1148,7 +1148,7 @@ struct pptable_funcs {int (*check_fw_status)(struct smu_context *smu);/** -* @set_mp1_state: put SMU into a correct state for comming +* @set_mp1_state: put SMU into a correct state for coming * resume from runpm or gpu reset. */ int (*set_mp1_state)(struct smu_context *smu,
@@ -1348,7 +1348,7 @@ struct pptable_funcs {u32 (*get_gfx_off_residency)(struct smu_context *smu,uint32_t *residency);/** -* @register_irq_handler: Register interupt request handlers. +* @register_irq_handler: Register interrupt request handlers. */ int (*register_irq_handler)(struct smu_context *smu);
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h +2 -2
@@ -1108,8 +1108,8 @@ typedef struct {uint8_t FoptEnabled;uint8_t DcsSpare2[3 ]; -uint32_t DcsFoptM;//Tuning paramters to shift Fopt calculation -uint32_t DcsFoptB;//Tuning paramters to shift Fopt calculation +uint32_t DcsFoptM;//Tuning parameters to shift Fopt calculation +uint32_t DcsFoptB;//Tuning parameters to shift Fopt calculation uint32_t DcsSpare[11 ];
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0.h +2 -2
@@ -1208,8 +1208,8 @@ typedef struct {uint8_t FoptEnabled;uint8_t DcsSpare2[3 ]; -uint32_t DcsFoptM;//Tuning paramters to shift Fopt calculation, IEEE754 float -uint32_t DcsFoptB;//Tuning paramters to shift Fopt calculation, IEEE754 float +uint32_t DcsFoptM;//Tuning parameters to shift Fopt calculation, IEEE754 float +uint32_t DcsFoptB;//Tuning parameters to shift Fopt calculation, IEEE754 float uint32_t DcsSpare[9 ];// UCLK section
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu15_driver_if_v15_0_8.h +1 -1
@@ -277,7 +277,7 @@ typedef struct {#define IH_INTERRUPT_CONTEXT_ID_THERMAL_THROTTLING 0x7#define IH_INTERRUPT_VFFLR_INT 0xA -/* thermal over-temp mask defines for IH interrup to host */ +/* thermal over-temp mask defines for IH interrupt to host */ #define THROTTLER_PROCHOT_BIT 0#define THROTTLER_RESERVED 1/* AID, XCD, CCD throttling */
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c +1 -1
@@ -522,7 +522,7 @@ static int renoir_emit_clk_levels(struct smu_context *smu,break ;case SMU_GFXCLK :case SMU_SCLK : -/* retirve table returned paramters unit is MHz */ +/* retirve table returned parameters unit is MHz */ cur_value = metrics.ClockFrequency[CLOCK_GFXCLK ]; ret =renoir_get_dpm_ultimate_freq (smu,SMU_GFXCLK , &min, &max);if (ret)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +1 -1
@@ -1903,7 +1903,7 @@ static int smu_v13_0_0_od_edit_dpm_table(struct smu_context *smu,* The member below instructs PMFW the settings focused in * this single operation. * `uint32_t FeatureCtrlMask;` -* It does not contain actual informations about user's custom +* It does not contain actual information about user's custom * settings. Thus we do not cache it. */ offset_of_voltageoffset = offsetof(OverDriveTable_t , VoltageOffsetPerZoneBoundary);
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +1 -1
@@ -2977,7 +2977,7 @@ static int smu_v13_0_6_mode2_reset(struct smu_context *smu)/* Certain platforms have switches which assign virtual BAR values to * devices. OS uses the virtual BAR values and device behind the switch -* is assgined another BAR value. When device's config space registers +* is assigned another BAR value. When device's config space registers * are queried, switch returns the virtual BAR values. When mode-2 reset * is performed, switch is unaware of it, and will continue to return * the same virtual values to the OS.This affects
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +1 -1
@@ -1913,7 +1913,7 @@ static int smu_v13_0_7_od_edit_dpm_table(struct smu_context *smu,* The member below instructs PMFW the settings focused in * this single operation. * `uint32_t FeatureCtrlMask;` -* It does not contain actual informations about user's custom +* It does not contain actual information about user's custom * settings. Thus we do not cache it. */ offset_of_voltageoffset = offsetof(OverDriveTable_t , VoltageOffsetPerZoneBoundary);
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c +1 -1
@@ -2767,7 +2767,7 @@ static int smu_v14_0_2_od_edit_dpm_table(struct smu_context *smu,* The member below instructs PMFW the settings focused in * this single operation. * `uint32_t FeatureCtrlMask;` -* It does not contain actual informations about user's custom +* It does not contain actual information about user's custom * settings. Thus we do not cache it. */ offset_of_voltageoffset = offsetof(OverDriveTable_t , VoltageOffsetPerZoneBoundary);
drivers/gpu/drm/radeon/atombios.h +17 -17
@@ -1711,9 +1711,9 @@ typedef struct _PIXEL_CLOCK_PARAMETERS_V6#define PIXEL_CLOCK_V6_MISC_HDMI_BPP_MASK 0x0c#define PIXEL_CLOCK_V6_MISC_HDMI_24BPP 0x00#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP 0x04 -#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6 0x08 //for V6, the correct defintion for 36bpp should be 2 for 36bpp(2:1) +#define PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6 0x08 //for V6, the correct definition for 36bpp should be 2 for 36bpp(2:1)#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP 0x08 -#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6 0x04 //for V6, the correct defintion for 30bpp should be 1 for 36bpp(5:4) +#define PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6 0x04 //for V6, the correct definition for 30bpp should be 1 for 36bpp(5:4)#define PIXEL_CLOCK_V6_MISC_HDMI_48BPP 0x0c#define PIXEL_CLOCK_V6_MISC_REF_DIV_SRC 0x10#define PIXEL_CLOCK_V6_MISC_GEN_DPREFCLK 0x40
@@ -1826,8 +1826,8 @@ typedef struct _GET_ENGINE_CLOCK_PARAMETERS/****************************************************************************/ // Following Structures and constant may be obsolete /****************************************************************************/ -//Maxium 8 bytes,the data read in will be placed in the parameter space. -//Read operaion successeful when the paramter space is non-zero, otherwise read operation failed +//Maximum 8 bytes,the data read in will be placed in the parameter space. +//Read operaion successeful when the parameter space is non-zero, otherwise read operation failed typedef struct _READ_EDID_FROM_HW_I2C_DATA_PARAMETERS { USHORT usPrescale; //Ratio between Engine clock and I2C clock
@@ -2036,7 +2036,7 @@ typedef struct _LVDS_ENCODER_CONTROL_PARAMETERS typedef struct _LVDS_ENCODER_CONTROL_PARAMETERS_V2 { USHORT usPixelClock; // in 10KHz; for bios convenient - UCHAR ucMisc; // see PANEL_ENCODER_MISC_xx defintions below + UCHAR ucMisc; // see PANEL_ENCODER_MISC_xx definitions below UCHAR ucAction; // 0: turn off encoder // 1: setup and turn on encoder UCHAR ucTruncate; // bit0=0: Disable truncate
@@ -2244,10 +2244,10 @@ typedef struct _SET_VOLTAGE_PARAMETERS_V1_3#define ATOM_INIT_VOLTAGE_REGULATOR 3 //Init Regulator#define ATOM_SET_VOLTAGE_PHASE 4 //Set Vregulator Phase, only for SVID/PVID regulator#define ATOM_GET_MAX_VOLTAGE 6 //Get Max Voltage, not used from SetVoltageTable v1.3 -#define ATOM_GET_VOLTAGE_LEVEL 6 //Get Voltage level from vitual voltage ID, not used for SetVoltage v1.4 +#define ATOM_GET_VOLTAGE_LEVEL 6 //Get Voltage level from virtual voltage ID, not used for SetVoltage v1.4#define ATOM_GET_LEAKAGE_ID 8 //Get Leakage Voltage Id ( starting from SMU7x IP ), SetVoltage v1.4 -// define vitual voltage id in usVoltageLevel +// define virtual voltage id in usVoltageLevel #define ATOM_VIRTUAL_VOLTAGE_ID0 0xff01#define ATOM_VIRTUAL_VOLTAGE_ID1 0xff02#define ATOM_VIRTUAL_VOLTAGE_ID2 0xff03
@@ -2379,7 +2379,7 @@ typedef struct _ATOM_MASTER_LIST_OF_DATA_TABLESUSHORT IntegratedSystemInfo;// Shared by various SW components USHORT ASIC_ProfilingInfo;// New table name from R600, used to be called "ASIC_VDDCI_Info" for pre-R600 USHORT VoltageObjectInfo;// Shared by various SW components, latest version 1.1 -USHORT PowerSourceInfo;// Shared by various SW components, latest versoin 1.1 +USHORT PowerSourceInfo;// Shared by various SW components, latest version 1.1 }ATOM_MASTER_LIST_OF_DATA_TABLES ; typedef struct _ATOM_MASTER_DATA_TABLE
@@ -3732,7 +3732,7 @@ typedef struct _ATOM_DPCD_INFO#define ATOM_DPCD_MAX_LANE_MASK 0x1F/**************************************************************************/ -// VRAM usage and their defintions +// VRAM usage and their definitions // One chunk of VRAM used by Bios are for HWICON surfaces,EDID data. // Current Mode timing and Dail Timing and/or STD timing data EACH device. They can be broken down as below.
@@ -4570,7 +4570,7 @@ typedef struct _ATOM_VOLTAGE_OBJECT_HEADER_V3{// ATOM_VOLTAGE_OBJECT_HEADER_V3.ucVoltageMode #define VOLTAGE_OBJ_GPIO_LUT 0 //VOLTAGE and GPIO Lookup table ->ATOM_GPIO_VOLTAGE_OBJECT_V3 -#define VOLTAGE_OBJ_VR_I2C_INIT_SEQ 3 //VOLTAGE REGULATOR INIT sequece through I2C -> ATOM_I2C_VOLTAGE_OBJECT_V3 +#define VOLTAGE_OBJ_VR_I2C_INIT_SEQ 3 //VOLTAGE REGULATOR INIT sequence through I2C -> ATOM_I2C_VOLTAGE_OBJECT_V3#define VOLTAGE_OBJ_PHASE_LUT 4 //Set Vregulator Phase lookup table ->ATOM_GPIO_VOLTAGE_OBJECT_V3#define VOLTAGE_OBJ_SVID2 7 //Indicate voltage control by SVID2 ->ATOM_SVID2_VOLTAGE_OBJECT_V3#define VOLTAGE_OBJ_EVV 8
@@ -4610,7 +4610,7 @@ typedef struct _ATOM_GPIO_VOLTAGE_OBJECT_V3 {ATOM_VOLTAGE_OBJECT_HEADER_V3 sHeader;// voltage mode = VOLTAGE_OBJ_GPIO_LUT or VOLTAGE_OBJ_PHASE_LUT UCHAR ucVoltageGpioCntlId;// default is 0 which indicate control through CG VID mode -UCHAR ucGpioEntryNum;// indiate the entry numbers of Votlage/Gpio value Look up table +UCHAR ucGpioEntryNum;// indicate the entry numbers of Votlage/Gpio value Look up table UCHAR ucPhaseDelay;// phase delay in unit of micro second UCHAR ucReserved;ULONG ulGpioMaskVal;// GPIO Mask value
@@ -4925,7 +4925,7 @@ ucUMAChannelNumber: System memory channel numbers. ulCSR_M3_ARB_CNTL_DEFAULT[10]: Arrays with values for CSR M3 arbiter for default ulCSR_M3_ARB_CNTL_UVD[10]: Arrays with values for CSR M3 arbiter for UVD playback. ulCSR_M3_ARB_CNTL_FS3D[10]: Arrays with values for CSR M3 arbiter for Full Screen 3D applications. -sAvail_SCLK[5]: Arrays to provide availabe list of SLCK and corresponding voltage, order from low to high +sAvail_SCLK[5]: Arrays to provide available list of SLCK and corresponding voltage, order from low to high ulGMCRestoreResetTime: GMC power restore and GMC reset time to calculate data reconnection latency. Unit in ns. ulMinimumNClk: Minimum NCLK speed among all NB-Pstates to calcualte data reconnection latency. Unit in 10kHz. ulIdleNClk: NCLK speed while memory runs in self-refresh state. Unit in 10kHz.
@@ -5151,7 +5151,7 @@ ucUMAChannelNumber: System memory channel numbers. ulCSR_M3_ARB_CNTL_DEFAULT[10]: Arrays with values for CSR M3 arbiter for default ulCSR_M3_ARB_CNTL_UVD[10]: Arrays with values for CSR M3 arbiter for UVD playback. ulCSR_M3_ARB_CNTL_FS3D[10]: Arrays with values for CSR M3 arbiter for Full Screen 3D applications. -sAvail_SCLK[5]: Arrays to provide availabe list of SLCK and corresponding voltage, order from low to high +sAvail_SCLK[5]: Arrays to provide available list of SLCK and corresponding voltage, order from low to high ulGMCRestoreResetTime: GMC power restore and GMC reset time to calculate data reconnection latency. Unit in ns. ulMinimumNClk: Minimum NCLK speed among all NB-Pstates to calcualte data reconnection latency. Unit in 10kHz. ulIdleNClk: NCLK speed while memory runs in self-refresh state. Unit in 10kHz.
@@ -5350,7 +5350,7 @@ ucUMAChannelNumber: System memory channel numbers. strVBIOSMsg[40]: VBIOS boot up customized message string -sAvail_SCLK[5]: Arrays to provide availabe list of SLCK and corresponding voltage, order from low to high +sAvail_SCLK[5]: Arrays to provide available list of SLCK and corresponding voltage, order from low to high ulGMCRestoreResetTime: GMC power restore and GMC reset time to calculate data reconnection latency. Unit in ns. ulIdleNClk: NCLK speed while memory runs in self-refresh state, used to calculate self-refresh latency. Unit in 10kHz.
@@ -5468,7 +5468,7 @@ typedef struct _ATOM_ASIC_MVDD_INFO typedef struct _ATOM_ASIC_SS_ASSIGNMENT { - ULONG ulTargetClockRange; //Clock Out frequence (VCO ), in unit of 10Khz + ULONG ulTargetClockRange; //Clock Out frequency (VCO ), in unit of 10Khz USHORT usSpreadSpectrumPercentage; //in unit of 0.01% USHORT usSpreadRateInKhz; //in unit of kHz, modulation freq UCHAR ucClockIndication; //Indicate which clock source needs SS
@@ -5493,7 +5493,7 @@ typedef struct _ATOM_ASIC_SS_ASSIGNMENT typedef struct _ATOM_ASIC_SS_ASSIGNMENT_V2 { - ULONG ulTargetClockRange; //For mem/engine/uvd, Clock Out frequence (VCO ), in unit of 10Khz + ULONG ulTargetClockRange; //For mem/engine/uvd, Clock Out frequency (VCO ), in unit of 10Khz //For TMDS/HDMI/LVDS, it is pixel clock , for DP, it is link clock ( 27000 or 16200 ) USHORT usSpreadSpectrumPercentage; //in unit of 0.01% or 0.001%, decided by ucSpreadSpectrumMode bit4 USHORT usSpreadRateIn10Hz; //in unit of 10Hz, modulation freq
@@ -5524,7 +5524,7 @@ typedef struct _ATOM_ASIC_INTERNAL_SS_INFO_V2 typedef struct _ATOM_ASIC_SS_ASSIGNMENT_V3 { - ULONG ulTargetClockRange; //For mem/engine/uvd, Clock Out frequence (VCO ), in unit of 10Khz + ULONG ulTargetClockRange; //For mem/engine/uvd, Clock Out frequency (VCO ), in unit of 10Khz //For TMDS/HDMI/LVDS, it is pixel clock , for DP, it is link clock ( 27000 or 16200 ) USHORT usSpreadSpectrumPercentage; //in unit of 0.01% USHORT usSpreadRateIn10Hz; //in unit of 10Hz, modulation freq
drivers/gpu/drm/radeon/cik.c +7 -7
@@ -3415,7 +3415,7 @@ static void cik_gpu_init(struct radeon_device *rdev)* @rdev: radeon_device pointer * * Set up the number and offset of the CP scratch registers. -* NOTE: use of CP scratch registers is a legacy inferface and +* NOTE: use of CP scratch registers is a legacy interface and * is not used by default on newer asics (r6xx+). On newer asics, * memory buffers are used for fences rather than scratch regs. */
@@ -3831,7 +3831,7 @@ int cik_ib_test(struct radeon_device *rdev, struct radeon_ring *ring)/* * CP. -* On CIK, gfx and compute now have independant command processors. +* On CIK, gfx and compute now have independent command processors. * * GFX * Gfx consists of a single ring and can process both gfx jobs and
@@ -3840,7 +3840,7 @@ int cik_ib_test(struct radeon_device *rdev, struct radeon_ring *ring)* ME - Micro Engine * CE - Constant Engine * The PFP and ME make up what is considered the Drawing Engine (DE). -* The CE is an asynchronous engine used for updating buffer desciptors +* The CE is an asynchronous engine used for updating buffer descriptors * used by the DE so that they can be loaded into cache in parallel * while the DE is processing state update packets. *
@@ -4078,7 +4078,7 @@ static int cik_cp_gfx_resume(struct radeon_device *rdev) ring->wptr =0 ;WREG32 (CP_RB0_WPTR , ring->wptr); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ WREG32 (CP_RB0_RPTR_ADDR , (rdev->wb.gpu_addr +RADEON_WB_CP_RPTR_OFFSET ) &0xFFFFFFFC );WREG32 (CP_RB0_RPTR_ADDR_HI ,upper_32_bits (rdev->wb.gpu_addr +RADEON_WB_CP_RPTR_OFFSET ) &0xFF );
@@ -4683,7 +4683,7 @@ static int cik_cp_compute_resume(struct radeon_device *rdev)WREG32 (CP_HQD_PQ_WPTR_POLL_ADDR_HI , mqd->queue_state.cp_hqd_pq_wptr_poll_addr_hi); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ if (i ==0 ) wb_gpu_addr = rdev->wb.gpu_addr +RADEON_WB_CP1_RPTR_OFFSET ;else
@@ -5330,7 +5330,7 @@ static int cik_mc_init(struct radeon_device *rdev)u32 tmp;int chansize, numchan; -/* Get VRAM informations */ +/* Get VRAM information */ rdev->mc.vram_is_ddr = true; tmp =RREG32 (MC_ARB_RAMCFG );if (tmp &CHANSIZE_MASK ) {
@@ -7530,7 +7530,7 @@ static inline u32 cik_get_ih_wptr(struct radeon_device *rdev)* * @rdev: radeon_device pointer * -* Interrupt hander (CIK). Walk the IH ring, +* Interrupt handler (CIK). Walk the IH ring, * ack interrupts and schedule work to handle * interrupt events. * Returns irq process return code.
drivers/gpu/drm/radeon/evergreen.c +2 -2
@@ -1283,7 +1283,7 @@ void evergreen_fix_pci_max_read_req_size(struct radeon_device *rdev) readrq =pcie_get_readrq (rdev->pdev); v =ffs (readrq) -8 ;/* if bios or OS sets MAX_READ_REQUEST_SIZE to an invalid value, fix it -* to avoid hangs or perfomance issues +* to avoid hangs or performance issues */ if ((v ==0 ) || (v ==6 ) || (v ==7 ))pcie_set_readrq (rdev->pdev,512 );
@@ -3716,7 +3716,7 @@ int evergreen_mc_init(struct radeon_device *rdev)u32 tmp;int chansize, numchan; -/* Get VRAM informations */ +/* Get VRAM information */ rdev->mc.vram_is_ddr = true; if ((rdev->family == CHIP_PALM) || (rdev->family == CHIP_SUMO) ||
drivers/gpu/drm/radeon/pptable.h +1 -1
@@ -415,7 +415,7 @@ typedef struct _ATOM_PPLIB_SUMO_CLOCK_INFO{UCHAR ucEngineClockHigh;//clockfrequency >> 16. UCHAR vddcIndex;//2-bit vddc index; USHORT tdpLimit; -//please initalize to 0 +//please initialize to 0 USHORT rsv1;//please initialize to 0s ULONG rsv2[2 ];
drivers/gpu/drm/radeon/r600.c +3 -3
@@ -1367,8 +1367,8 @@ static void r600_mc_program(struct radeon_device *rdev)/** * r600_vram_gtt_location - try to find VRAM & GTT location -* @rdev: radeon device structure holding all necessary informations -* @mc: memory controller structure holding memory informations +* @rdev: radeon device structure holding all necessary information +* @mc: memory controller structure holding memory information * * Function will place try to place VRAM at same place as in CPU (PCI) * address space as some GPU seems to have issue when we reprogram at
@@ -1437,7 +1437,7 @@ static int r600_mc_init(struct radeon_device *rdev)uint32_t h_addr, l_addr;unsigned long long k8_addr; -/* Get VRAM informations */ +/* Get VRAM information */ rdev->mc.vram_is_ddr = true; tmp =RREG32 (RAMCFG );if (tmp &CHANSIZE_OVERRIDE ) {
drivers/gpu/drm/radeon/r600_dpm.c +1 -1
@@ -913,7 +913,7 @@ int r600_parse_extended_power_table(struct radeon_device *rdev) } } -/* clock dependancy tables, shedding tables */ +/* clock dependency tables, shedding tables */ if (le16_to_cpu (power_info->pplib.usTableSize) >=sizeof (struct _ATOM_PPLIB_POWERPLAYTABLE4 )) {if (power_info->pplib4.usVddcDependencyOnSCLKOffset) {
drivers/gpu/drm/radeon/radeon.h +1 -1
@@ -1157,7 +1157,7 @@ struct radeon_wb {* @needed_bandwidth: current bandwidth needs * * It keeps track of various data needed to take powermanagement decision. -* Bandwidth need is used to determine minimun clock of the GPU and memory. +* Bandwidth need is used to determine minimum clock of the GPU and memory. * Equation between gpu/memory clock and available bandwidth is hw dependent * (type of memory, bus size, efficiency, ...) */
drivers/gpu/drm/radeon/radeon_cs.c +1 -1
@@ -839,7 +839,7 @@ void radeon_cs_dump_packet(struct radeon_cs_parser *p,/** * radeon_cs_packet_next_reloc() - parse next (should be reloc) packet * @p: parser structure holding parsing context. -* @cs_reloc: reloc informations +* @cs_reloc: reloc information * @nomm: no memory management for debugging * * Check if next packet is relocation packet3, do bo validation and compute
drivers/gpu/drm/radeon/radeon_device.c +8 -8
@@ -526,8 +526,8 @@ int radeon_wb_init(struct radeon_device *rdev)/** * radeon_vram_location - try to find VRAM location -* @rdev: radeon device structure holding all necessary informations -* @mc: memory controller structure holding memory informations +* @rdev: radeon device structure holding all necessary information +* @mc: memory controller structure holding memory information * @base: base address at which to put VRAM * * Function will try to place VRAM at base address provided
@@ -591,12 +591,12 @@ void radeon_vram_location(struct radeon_device *rdev, struct radeon_mc *mc, u64/** * radeon_gtt_location - try to find GTT location -* @rdev: radeon device structure holding all necessary informations -* @mc: memory controller structure holding memory informations +* @rdev: radeon device structure holding all necessary information +* @mc: memory controller structure holding memory information * * Function will try to place GTT before or after VRAM. * -* If GTT size is bigger than space left then we ajust GTT size. +* If GTT size is bigger than space left then we adjust GTT size. * Thus function will never fails. * * FIXME: when reducing GTT size align new size on power of 2.
@@ -777,7 +777,7 @@ bool radeon_boot_test_post_card(struct radeon_device *rdev)* Allocate the dummy page used by the driver (all asics). * This dummy page is used by the driver as a filler for gart entries * when pages are taken out of the GART -* Returns 0 on sucess, -ENOMEM on failure. +* Returns 0 on success, -ENOMEM on failure. */ int radeon_dummy_page_init (struct radeon_device *rdev) {
@@ -969,7 +969,7 @@ static uint32_t cail_ioreg_read(struct card_info *info, uint32_t reg)* * Initializes the driver info and register access callbacks for the * ATOM interpreter (r4xx+). -* Returns 0 on sucess, -ENOMEM on failure. +* Returns 0 on success, -ENOMEM on failure. * Called at driver startup. */ int radeon_atombios_init (struct radeon_device *rdev)
@@ -1045,7 +1045,7 @@ void radeon_atombios_fini(struct radeon_device *rdev)* @rdev: radeon_device pointer * * Initializes the driver info for combios (r1xx-r3xx). -* Returns 0 on sucess. +* Returns 0 on success. * Called at driver startup. */ int radeon_combios_init (struct radeon_device *rdev)
drivers/gpu/drm/radeon/radeon_display.c +1 -1
@@ -951,7 +951,7 @@ static void avivo_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div, }/** -* radeon_compute_pll_avivo - compute PLL paramaters +* radeon_compute_pll_avivo - compute PLL parameters * * @pll: information about the PLL * @freq: target frequency
drivers/gpu/drm/radeon/radeon_drv.c +1 -1
@@ -71,7 +71,7 @@* 2.11.0 - backend map, initial compute support for the CS checker * 2.12.0 - RADEON_CS_KEEP_TILING_FLAGS * 2.13.0 - virtual memory support, streamout -* 2.14.0 - add evergreen tiling informations +* 2.14.0 - add evergreen tiling information * 2.15.0 - add max_pipes query * 2.16.0 - fix evergreen 2D tiled surface calculation * 2.17.0 - add STRMOUT_BASE_UPDATE for r7xx
drivers/gpu/drm/radeon/radeon_fence.c +2 -2
@@ -191,7 +191,7 @@ static int radeon_fence_check_signaled(wait_queue_entry_t *wait,* @ring: ring index the fence is associated with * * Checks the current fence value and calculates the last -* signalled fence value. Returns true if activity occured +* signalled fence value. Returns true if activity occurred * on the ring, and the fence_queue should be waken up. */ static bool radeon_fence_activity (struct radeon_device *rdev,int ring)
@@ -262,7 +262,7 @@ static bool radeon_fence_activity(struct radeon_device *rdev, int ring)* @work: delayed work item * * Checks for fence activity and if there is none probe -* the hardware if a lockup occured. +* the hardware if a lockup occurred. */ static void radeon_fence_check_lockup (struct work_struct *work) {
drivers/gpu/drm/radeon/radeon_gem.c +1 -1
@@ -681,7 +681,7 @@ int radeon_gem_va_ioctl(struct drm_device *dev, void *data,/* !! DONT REMOVE !! * We don't support vm_id yet, to be sure we don't have broken * userspace, reject anyone trying to use non 0 value thus moving -* forward we can use those fields without breaking existant userspace +* forward we can use those fields without breaking existent userspace */ if (args->vm_id) { args->operation =RADEON_VA_RESULT_ERROR ;
drivers/gpu/drm/radeon/radeon_legacy_crtc.c +2 -2
@@ -76,7 +76,7 @@ static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc,if ((rdev->family ==CHIP_RS100 ) || (rdev->family ==CHIP_RS200 )) {/* This is to workaround the asic bug for RMX, some versions -of BIOS dosen't have this register initialized correctly. */ +of BIOS doesn't have this register initialized correctly. */ crtc_more_cntl |=RADEON_CRTC_H_CUTOFF_ACTIVE_EN ; }
@@ -410,7 +410,7 @@ int radeon_crtc_do_set_base(struct drm_crtc *crtc,return false; } -/* Pin framebuffer & get tilling informations */ +/* Pin framebuffer & get tilling information */ obj = target_fb->obj[0 ]; rbo =gem_to_radeon_bo (obj); retry:
drivers/gpu/drm/radeon/radeon_uvd.c +1 -1
@@ -835,7 +835,7 @@ int radeon_uvd_get_destroy_msg(struct radeon_device *rdev, int ring,* @sd: number of SD streams * @hd: number of HD streams * -* Count the number of open SD/HD streams as a hint for power mangement +* Count the number of open SD/HD streams as a hint for power management */ static void radeon_uvd_count_handles (struct radeon_device *rdev,unsigned *sd,unsigned *hd)
drivers/gpu/drm/radeon/radeon_vm.c +1 -1
@@ -604,7 +604,7 @@ uint64_t radeon_vm_map_gart(struct radeon_device *rdev, uint64_t addr)/** * radeon_vm_page_flags - translate page flags to what the hw uses * -* @flags: flags comming from userspace +* @flags: flags coming from userspace * * Translate the flags the userspace ABI uses to hw flags. */
drivers/gpu/drm/radeon/rs690.c +2 -2
@@ -75,7 +75,7 @@ void rs690_pm_info(struct radeon_device *rdev) &frev, &crev, &data_offset)) { info = (union igp_info *)(rdev->mode_info.atom_context->bios + data_offset); -/* Get various system informations from bios */ +/* Get various system information from bios */ switch (crev) {case 1 : tmp.full =dfixed_const (100 );
@@ -361,7 +361,7 @@ static void rs690_crtc_bandwidth_compute(struct radeon_device *rdev, wm->active_time.full =dfixed_mul (line_time, b); wm->active_time.full =dfixed_div (wm->active_time, a); -/* Maximun bandwidth is the minimun bandwidth of all component */ +/* Maximum bandwidth is the minimum bandwidth of all component */ max_bandwidth = core_bandwidth;if (rdev->mc.igp_sideport_enabled) { if (max_bandwidth.full > rdev->pm.sideport_bandwidth.full &&
drivers/gpu/drm/radeon/rs780_dpm.c +1 -1
@@ -872,7 +872,7 @@ int rs780_dpm_init(struct radeon_device *rdev) &frev, &crev, &data_offset)) { info = (union igp_info *)(rdev->mode_info.atom_context->bios + data_offset); -/* Get various system informations from bios */ +/* Get various system information from bios */ switch (crev) {case 1 : pi->num_of_cycles_in_period =
drivers/gpu/drm/radeon/rv770.c +1 -1
@@ -1644,7 +1644,7 @@ static int rv770_mc_init(struct radeon_device *rdev)u32 tmp;int chansize, numchan; -/* Get VRAM informations */ +/* Get VRAM information */ rdev->mc.vram_is_ddr = true; tmp =RREG32 (MC_ARB_RAMCFG );if (tmp &CHANSIZE_OVERRIDE ) {
drivers/gpu/drm/radeon/si.c +1 -1
@@ -4188,7 +4188,7 @@ static int si_mc_init(struct radeon_device *rdev)u32 tmp;int chansize, numchan; -/* Get VRAM informations */ +/* Get VRAM information */ rdev->mc.vram_is_ddr = true; tmp =RREG32 (MC_ARB_RAMCFG );if (tmp &CHANSIZE_OVERRIDE ) {
drivers/gpu/drm/radeon/uvd_v1_0.c +2 -2
@@ -273,7 +273,7 @@ int uvd_v1_0_start(struct radeon_device *rdev)/* disable clock gating */ WREG32 (UVD_CGC_GATE ,0 ); -/* disable interupt */ +/* disable interrupt */ WREG32_P (UVD_MASTINT_EN ,0 , ~(1 <<1 ));/* Stall UMC and register bus before resetting VCPU */
@@ -351,7 +351,7 @@ int uvd_v1_0_start(struct radeon_device *rdev)return r; } -/* enable interupt */ +/* enable interrupt */ WREG32_P (UVD_MASTINT_EN ,3 <<1 , ~(3 <<1 ));/* force RBC into idle state */
Signature · 1 line
2.48.1
PATCH 2/3 drm/amd: fix repeated words in comments
In reply to Hemanth SelamDrop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
--- .../dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c | 2 +- .../dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn5_calcs_dchub.c | 2 +- .../dml21/src/dml2_core/dml2_core_dcn5_calcs_dsc_latency.c | 2 +- .../src/dml2_standalone_libraries/alternate_pstate_shared_lib.c | 2 +- .../gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_arcturus.h | 2 +- .../gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_navi10.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +1 -1
@@ -5702,7 +5702,7 @@ static bool CalculatePrefetchSchedule(struct dml2_core_internal_scratch *scratch// vs the latency based number // prefetch_bw1: VM + 2*R0 + SW -// so prefetch_bw1 will have enough bw to transfer the necessary data within Tpre_rounded - Tno_bw (Tpre is the the worst-case latency based time to fetch the data) +// so prefetch_bw1 will have enough bw to transfer the necessary data within Tpre_rounded - Tno_bw (Tpre is the worst-case latency based time to fetch the data) // here is to make sure equ bw wont be more agressive than the latency-based requirement. // check vm time >= vm_trips // check r0 time >= r0_trips
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn5_calcs_dchub.c +1 -1
@@ -3167,7 +3167,7 @@ bool dcn5_calculate_prefetch_schedule(struct dml2_core_internal_scratch *scratch// vs the latency based number // prefetch_bw1: VM + 2*R0 + SW -// so prefetch_bw1 will have enough bw to transfer the necessary data within Tpre_rounded - Tno_bw (Tpre is the the worst-case latency based time to fetch the data) +// so prefetch_bw1 will have enough bw to transfer the necessary data within Tpre_rounded - Tno_bw (Tpre is the worst-case latency based time to fetch the data) // here is to make sure equ bw wont be more agressive than the latency-based requirement. // check vm time >= vm_trips // check r0 time >= r0_trips
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn5_calcs_dsc_latency.c +1 -1
@@ -133,7 +133,7 @@ static void dscc_bcl_compute_delay(latency_t *p, int bpc, float bpp, int slice_w//this step is necessary as each padded pixel added takes up a clock cycle but is not included in the initialXmitDelay and, therefore, adds to the overall delay ixd_plus_padding = initial_xmit_delay + slice_padded_pixels * lines_to_reach_ixd; -//convert the the padded initial transmit delay from pixels to groups by rounding up to the nearest group as DSC processes in groups of pixels +//convert the padded initial transmit delay from pixels to groups by rounding up to the nearest group as DSC processes in groups of pixels ixd_plus_padding_groups = (ixd_plus_padding +2 ) /3 ;//number of groups required for a slice to reach initial transmit delay is the sum of the padded initial transmit delay plus the ssm group priming delay
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/alternate_pstate_shared_lib.c +1 -1
@@ -580,7 +580,7 @@ static void calculate_start_index_num_swaths(* *********************************************************************************************************** * calculate_hubp_start_end_lines: Function that calculates svp parameters given a target p-state line * -* This function calculates the the svp parameters (vp0 and vp1 programming) in terms of swath index and number +* This function calculates the svp parameters (vp0 and vp1 programming) in terms of swath index and number * of swaths given an otg p-state target. This function should be called per plane. There are 5 steps: * * 1. Calculate svp0_start_dst_line and svp0_end_dst_line.
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_arcturus.h +1 -1
@@ -487,7 +487,7 @@ typedef struct {uint16_t Tvr_socLimit;// Celcius uint32_t FitLimit;// Failures in time (failures per million parts over the defined lifetime) -uint16_t PpmPowerLimit;// Switch this this power limit when temperature is above PpmTempThreshold +uint16_t PpmPowerLimit;// Switch this power limit when temperature is above PpmTempThreshold uint16_t PpmTemperatureThreshold;// SECTION: Throttler settings
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_navi10.h +1 -1
@@ -545,7 +545,7 @@ typedef struct {uint16_t TplxLimit;// Celcius uint32_t FitLimit;// Failures in time (failures per million parts over the defined lifetime) -uint16_t PpmPowerLimit;// Switch this this power limit when temperature is above PpmTempThreshold +uint16_t PpmPowerLimit;// Switch this power limit when temperature is above PpmTempThreshold uint16_t PpmTemperatureThreshold;// SECTION: Throttler settings
Signature · 1 line
2.48.1
PATCH 3/3 drm/amdgpu: fix typo in log message
In reply to Hemanth SelamCorrect the misspelling in a message the user sees, reported by scripts/checkpatch.pl using the list in scripts/spelling.txt.
Only the message text changes, no code changes.
--- drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c +1 -1
@@ -1759,7 +1759,7 @@ static int tonga_populate_vr_config(struct pp_hwmgr *hwmgr, table->VRConfig |= config; }else {pr_err ("VDDC and VDDGFX should " -"be both on SVI2 control in splitted mode !\n" ); +"be both on SVI2 control in split mode !\n" ); } }else {/* Merged mode */
Signature · 1 line
2.48.1