VCN instance rework
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest44 patches 29 repliesIn review
- v248 patches 7 repliesSuperseded
- v115 patches 8 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/44 | drm/amdgpu/vcn2.5: split code along instancesdrivers/ | +411 | 1 reply | |
| 2/44 | drm/amdgpu/vcn3.0: split code along instancesdrivers/ | +213 | 1 reply | |
| 3/44 | drm/amdgpu/vcn4.0: split code along instancesdrivers/ | +215 | 1 reply | |
| 4/44 | drm/amdgpu/vcn4.0.3: split code along instancesdrivers/ | +206 | 1 reply | |
| 5/44 | drm/amdgpu/vcn4.0.5: split code along instancesdrivers/ | +216 | 1 reply | |
| 6/44 | drm/amdgpu/vcn5.0.0: split code along instancesdrivers/ | +190 | 1 reply | |
| 7/44 | drm/amdgpu/vcn5.0.1: split code along instancesdrivers/ | +174 | 1 reply | |
| 8/44 | drm/amdgpu/vcn: switch work handler to be per instancedrivers/ drivers/ drivers/ +9 more | +80 | 1 reply | |
| 9/44 | drm/amdgpu/vcn: make powergating status per instancedrivers/ drivers/ drivers/ +8 more | +241 | 1 reply | |
| 10/44 | drm/amdgpu/vcn: move more instanced data to vcn_instancedrivers/ drivers/ drivers/ +10 more | +279 | 3 replies | |
| 11/44 | drm/amdgpu/vcn: switch vcn helpers to be instance baseddrivers/ drivers/ drivers/ +8 more | +541 | 1 reply | |
| 12/44 | drm/amdgpu/vcn3.0: convert internal functions to use vcn_instdrivers/ | +52 | 1 reply | |
| 13/44 | drm/amdgpu/vcn1.0: convert internal functions to use vcn_instdrivers/ | +51 | 1 reply | |
| 14/44 | drm/amdgpu/vcn2.0: convert internal functions to use vcn_instdrivers/ | +39 | 1 reply | |
| 15/44 | drm/amdgpu/vcn2.5: convert internal functions to use vcn_instdrivers/ | +50 | 1 reply | |
| 16/44 | drm/amdgpu/vcn4.0: convert internal functions to use vcn_instdrivers/ | +67 | 1 reply | |
| 17/44 | drm/amdgpu/vcn4.0.3: convert internal functions to use vcn_instdrivers/ | +54 | 1 reply | |
| 18/44 | drm/amdgpu/vcn4.0.5: convert internal functions to use vcn_instdrivers/ | +64 | 1 reply | |
| 19/44 | drm/amdgpu/vcn5.0.0: convert internal functions to use vcn_instdrivers/ | +55 | 1 reply | |
| 20/44 | drm/amdgpu/vcn5.0.1: convert internal functions to use vcn_instdrivers/ | +41 | 1 reply | |
| 21/44 | drm/amdgpu/vcn: adjust pause_dpg_mode function signaturedrivers/ drivers/ drivers/ +7 more | +59 | 1 reply | |
| 22/44 | drm/amdgpu/vcn: add new per instance callback for powergatingdrivers/ | +2 | 1 reply | |
| 23/44 | drm/amdgpu/vcn1.0: add set_pg_state callbackdrivers/ | +22 | 1 reply | |
| 24/44 | drm/amdgpu/vcn2.0: add set_pg_state callbackdrivers/ | +24 | 0 replies | |
| 25/44 | drm/amdgpu/vcn2.5: add set_pg_state callbackdrivers/ | +20 | 0 replies | |
| 26/44 | drm/amdgpu/vcn3.0: add set_pg_state callbackdrivers/ | +20 | 0 replies | |
| 27/44 | drm/amdgpu/vcn4.0: add set_pg_state callbackdrivers/ | +21 | 0 replies | |
| 28/44 | drm/amdgpu/vcn4.0.3: add set_pg_state callbackdrivers/ | +20 | 0 replies | |
| 29/44 | drm/amdgpu/vcn4.0.5: add set_pg_state callbackdrivers/ | +18 | 0 replies | |
| 30/44 | drm/amdgpu/vcn5.0.0: add set_pg_state callbackdrivers/ | +18 | 0 replies | |
| 31/44 | drm/amdgpu/vcn5.0.1: add set_pg_state callbackdrivers/ | +13 | 0 replies | |
| 32/44 | drm/amdgpu/vcn: use per instance callbacks for idle work handlerdrivers/ | +13 | 1 reply | |
| 33/44 | drm/amdgpu/vcn: add a generic helper for set_power_gating_statedrivers/ drivers/ | +26 | 1 reply | |
| 34/44 | drm/amdgpu/vcn1.0: use generic set_power_gating_state helperdrivers/ | +1 | 0 replies | |
| 35/44 | drm/amdgpu/vcn2.0: use generic set_power_gating_state helperdrivers/ | +1 | 0 replies | |
| 36/44 | drm/amdgpu/vcn2.5: use generic set_power_gating_state helperdrivers/ | +2 | 0 replies | |
| 37/44 | drm/amdgpu/vcn3.0: use generic set_power_gating_state helperdrivers/ | +1 | 0 replies | |
| 38/44 | drm/amdgpu/vcn4.0: use generic set_power_gating_state helperdrivers/ | +1 | 0 replies | |
| 39/44 | drm/amdgpu/vcn4.0.3: use generic set_power_gating_state helperdrivers/ | +1 | 0 replies | |
| 40/44 | drm/amdgpu/vcn4.0.5: use generic set_power_gating_state helperdrivers/ | +1 | 0 replies | |
| 41/44 | drm/amdgpu/vcn5.0.0: use generic set_power_gating_state helperdrivers/ | +1 | 0 replies | |
| 42/44 | drm/amdgpu/vcn5.0.1: use generic set_power_gating_state helperdrivers/ | +1 | 0 replies | |
| 43/44 | drm/amdgpu/vcn: optimize firmware storagedrivers/ drivers/ drivers/ | +27 | 1 reply | |
| 44/44 | drm/amdgpu/vcn: use dev_info() for firmware informationdrivers/ | +3 | 1 reply |
Reviews trailers per patch
27 of 44 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V3 00/44] VCN instance rework
These series reworks how instances are handled for VCN to better split the state between instances.
This allows for per instance powergating and opens the path to further splitting VCN IP blocks per instance in the future if that is desirable. Per instance powergating is needed for per engine resets and can help save power on devices with multiple VCN instances.
V3: Suggestions from Lijo, optimize fw binary storage
Alex Deucher (44):
drm/amdgpu/vcn2.5: split code along instances drm/amdgpu/vcn3.0: split code along instances drm/amdgpu/vcn4.0: split code along instances drm/amdgpu/vcn4.0.3: split code along instances drm/amdgpu/vcn4.0.5: split code along instances drm/amdgpu/vcn5.0.0: split code along instances drm/amdgpu/vcn5.0.1: split code along instances drm/amdgpu/vcn: switch work handler to be per instance drm/amdgpu/vcn: make powergating status per instance drm/amdgpu/vcn: move more instanced data to vcn_instance drm/amdgpu/vcn: switch vcn helpers to be instance based drm/amdgpu/vcn3.0: convert internal functions to use vcn_inst drm/amdgpu/vcn1.0: convert internal functions to use vcn_inst drm/amdgpu/vcn2.0: convert internal functions to use vcn_inst drm/amdgpu/vcn2.5: convert internal functions to use vcn_inst drm/amdgpu/vcn4.0: convert internal functions to use vcn_inst drm/amdgpu/vcn4.0.3: convert internal functions to use vcn_inst drm/amdgpu/vcn4.0.5: convert internal functions to use vcn_inst drm/amdgpu/vcn5.0.0: convert internal functions to use vcn_inst drm/amdgpu/vcn5.0.1: convert internal functions to use vcn_inst drm/amdgpu/vcn: adjust pause_dpg_mode function signature drm/amdgpu/vcn: add new per instance callback for powergating drm/amdgpu/vcn1.0: add set_pg_state callback drm/amdgpu/vcn2.0: add set_pg_state callback drm/amdgpu/vcn2.5: add set_pg_state callback drm/amdgpu/vcn3.0: add set_pg_state callback drm/amdgpu/vcn4.0: add set_pg_state callback drm/amdgpu/vcn4.0.3: add set_pg_state callback drm/amdgpu/vcn4.0.5: add set_pg_state callback drm/amdgpu/vcn5.0.0: add set_pg_state callback drm/amdgpu/vcn5.0.1: add set_pg_state callback drm/amdgpu/vcn: use per instance callbacks for idle work handler drm/amdgpu/vcn: add a generic helper for set_power_gating_state drm/amdgpu/vcn1.0: use generic set_power_gating_state helper drm/amdgpu/vcn2.0: use generic set_power_gating_state helper drm/amdgpu/vcn2.5: use generic set_power_gating_state helper drm/amdgpu/vcn3.0: use generic set_power_gating_state helper drm/amdgpu/vcn4.0: use generic set_power_gating_state helper drm/amdgpu/vcn4.0.3: use generic set_power_gating_state helper drm/amdgpu/vcn4.0.5: use generic set_power_gating_state helper drm/amdgpu/vcn5.0.0: use generic set_power_gating_state helper drm/amdgpu/vcn5.0.1: use generic set_power_gating_state helper drm/amdgpu/vcn: optimize firmware storage drm/amdgpu/vcn: use dev_info() for firmware information
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 464 ++++----- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 47 +- drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 193 ++-- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 213 +++-- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 1033 +++++++++++---------- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 658 +++++++------ drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 661 ++++++------- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 611 ++++++------ drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 647 +++++++------ drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 588 ++++++------ drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c | 499 +++++----- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 8 +- 14 files changed, 2951 insertions(+), 2679 deletions(-)
Signature · 1 line
2.48.1