Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support for Linux kernel >= 6.8.0-44#171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
SamuelMarks wants to merge2,447 commits intoROCm:master
base:master
Choose a base branch
Loading
fromSamuelMarks:6.8.0-44
Open
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
2447 commits
Select commitHold shift + click to select a range
91082c3
drm/amdgpu: switch default mes to uni mes
May 14, 2024
575c3ad
drm/amd/amdgpu: enable mmhub and athub cg on gc 12.0.0
Apr 7, 2024
da6b7e8
drm/amdgpu: enable gfxoff for gc v12.0.0
Apr 24, 2024
973cd6a
drm/amd/pm: add pp_dpm_dcefclk for smu 14.0.2/3
May 7, 2024
99fecfd
drm/amdgpu/mes: use mc address for wptr in add queue packet
frank98753May 14, 2024
b1a4e5a
drm/amdgpu: fix getting vram info for gfx12
frank98753May 10, 2024
cd0c737
drm/amd/pm: disable gpo temporarily
Mar 11, 2024
ffc4f2e
drm/amdgpu: fix compiler 'side-effect' check issue for RAS_EVENT_LOG()
May 13, 2024
a661ae6
drm/amdkfd: Ensure gpu_id is unique
hkasivisMay 1, 2024
07ccfa1
drm/amdgpu: fix documentation errors in sdma v7.0
alexdeucherMay 14, 2024
32194a0
drm/amdkfd: Check correct memory types for is_system variable
May 10, 2024
4bfddda
drm/amdgpu: fix documentation errors in gmc v12.0
alexdeucherMay 14, 2024
5dc287b
drm/amdkfd: Add GFX1201 to svm_range_get_pte_flags function
May 10, 2024
ab69a84
drm/amd/amdgpu: add module parameter for jpeg
Apr 26, 2024
8b772ed
drm/amd/pm: support pp_dpm_pcie on smu v14.0.2/3
May 11, 2024
34fe5ff
drm/amdkfd: clear soft lockup issue with host trap
jameszhu-amdMay 9, 2024
4b887d8
drm/amdkfd: [WA] disable SQ core clock gate
jameszhu-amdMay 9, 2024
2805082
Merge amd-staging-dkms-6.8 into amd-mainline-dkms-6.8
May 17, 2024
15b798e
Bump AMDGPU version to 6.8.2
May 17, 2024
f652893
drm/amdkcl: kcl-cleanup HAVE_SMCA_UMC_V2
May 16, 2024
ac804db
drm/amdkcl: fake smca_get_bank_type
May 17, 2024
6ec7e68
drm/amdkcl: fix a typo in include/kcl/kcl_mce.h
May 17, 2024
17f170e
drm/amdgpu/display: Update kdoc for 'optc35_set_odm_combine'
srishanmMay 15, 2024
0831390
drm/amd/pm: support mode1 reset on smu v14.0.3
Apr 10, 2024
e39fa4f
drm/amdgpu/vcn: update vcn5 enc/dec capabilities
ruijingdongMay 15, 2024
365bd35
drm/amdgpu: Remove GC HW IP 9.3.0 from noretry=1
timvpGoogleMay 16, 2024
2bd6870
drm/amdgpu: Remove duplicate amdgpu_umsch_mm.h header
wb-zjp846396May 16, 2024
fe89142
drm/amdgpu: Remove duplicate check for *is_queue_unmap in sdma_v7_0_r…
srishanmMay 17, 2024
0f987f1
drm/amdgpu: change aca bank error lock type to spinlock
May 16, 2024
128a710
drm/amd/pm: Add support for DPM policies
Feb 21, 2024
73f33f5
drm/amdkcl: wrap code under macro HAVE_PCI_DRIVER_DEV_GROUPS
May 20, 2024
bd0a31a
drm/amd/pm: Update PMFW messages for SMUv13.0.6
Feb 21, 2024
ef281c3
drm/amd/pm: Add support to select pstate policy
Feb 21, 2024
3d4acf8
drm/amd/pm: Add xgmi plpd policy to pm_policy
May 16, 2024
9212481
drm/amd/pm: Add xgmi plpd to SMU v13.0.6 pm_policy
Mar 4, 2024
c1b90b9
drm/amd/pm: Add xgmi plpd to aldebaran pm_policy
Mar 4, 2024
49950b2
drm/amdgpu: change bank cache lock type to spinlock
May 16, 2024
43449b9
drm/amd/pm: Add xgmi plpd to arcturus pm_policy
Mar 4, 2024
98364eb
drm/amd/pm: Remove legacy interface for xgmi plpd
Mar 4, 2024
ad22597
drm/amdgpu: fix ACA no query result after gpu reset
May 17, 2024
732dd48
drm/amd/display: Move DSC functions from dc.c to dc_dsc.c
Apr 11, 2023
a785016
drm/amd/display: Remove duplicate configuration
May 8, 2024
8065415
drm/amd/display: Add missing enable and disable symclk_se functions f…
Apr 17, 2024
04d6d07
drm/amd/display: Fix incorrect DCN401 comparison
May 8, 2024
92cb85c
drm/amd/display: Use the correct TMDS function to avoid DVI issues
Apr 2, 2024
9cfae3b
drm/amd/display: Adjust incorrect indentations and spaces
May 8, 2024
c589cc2
drm/amd/display: enable EASF support for DCN40
Apr 24, 2024
792c2f2
drm/amd/display: Refactor HUBBUB into component folder for DCN401
Apr 18, 2024
eea4976
drm/amd/display: Modify HPO pixel clock programming to support DPM
Mar 14, 2024
0d3ae04
drm/amd/display: Add missing DML2 var helpers
May 13, 2024
98ad998
drm/amd/pm: update driver-if interface
Apr 24, 2024
5efb72d
drm/amd/display: Add NULL check within get_target_mpc_factor
Apr 26, 2024
1f335e9
drm/amd/display: Deallocate DML 2.1 Memory Allocation
Apr 17, 2024
86ad97c
drm/amd/display: Add 3DLUT DMA load trigger
May 3, 2024
058d255
drm/amd/display: Clear shared dmub firmware state on init
May 6, 2024
e1e5235
drm/amd/display: Add ips status info to debugfs
May 7, 2024
1fd8e34
drm/amd/display: Fix pipe addition logic in calc_blocks_to_ungate DCN35
nsusantoMay 7, 2024
4a1c458
drm/amd/display: Remove redundant idle optimization check
May 7, 2024
aeb5da7
drm/amd/display: fix a typo which causes an incorrect ODM combine setup
May 10, 2024
ae32b70
drm/amd/display: Fix ODM + underscan case with cursor
May 10, 2024
97acaca
drm/amd/display: Disable DCN401 idle optimizations
May 10, 2024
2b4b70b
drm/amd/display: Correct display clocks update block sequence
May 7, 2024
6109a7c
drm/amd/display: Not fallback if link BW is smaller than req BW
May 11, 2024
beafeb8
drm/amd/display: Fix POWERPC_64 compilation
May 14, 2024
d059d9d
drm/amd/display: 3.2.286
AMD-aricMay 13, 2024
3e9c9fc
drm/amdgpu: fix the used uninitialized issue
May 17, 2024
73787c2
drm/amdgpu: Add amdgpu_bo_is_vm_bo helper
May 6, 2024
30365d9
drm/amdkcl: wrap code under amdkcl_ttm_resvp()
May 20, 2024
66fd8e2
drm/amdgpu: Reduce mem_type to domain double indirection
May 6, 2024
e89dbab
drm/amdgpu: Describe all object placements in debugfs
May 6, 2024
ef3b090
drm/amdkcl: modify DGMA cases for object placements in debugfs
May 20, 2024
db06d53
drm/amdgpu: Extend KIQ reg polling wait for VF
vskvortsMay 19, 2024
2d9b60d
drm/amdgpu: Queue KFD reset workitem in VF FED
vskvortsMay 19, 2024
86e1bc4
drm/amd/swsmu: update Dpmclocks_t for smu v14.0.1
May 17, 2024
6966323
drm/amdgpu: update type of buf size to u32 for eeprom functions
May 17, 2024
a88ad98
drm/amd/pm: Remove unused interface to set plpd
Mar 4, 2024
6e286c5
Revert "drm/amd/pm: Use gpu_metrics_v1_6 for SMUv13.0.6"
May 20, 2024
88afcc7
Documentation/amdgpu: Add PM policy documentation
May 13, 2024
28a354a
Revert "drm/amd/pm: Add gpu_metrics_v1_6"
May 20, 2024
8ec5239
drm/amd/amdgpu: add thm 14.0.2 header file
May 16, 2024
fa1e593
drm/amd/pm: enable thermal alert on smu 14.0.2/3
May 16, 2024
fe9ee77
drm/amdgpu: remove unused struct 'hqd_registers'
May 17, 2024
ce75347
drm/amd/display: remove unused struct 'aux_payloads'
May 17, 2024
af62099
drm/amd/display: remove unused struct 'dc_reg_sequence'
May 17, 2024
893fdf4
drm/amdgpu: Fix amdgpu_vm_is_bo_always_valid kerneldoc
May 20, 2024
a968380
drm/amdgpu: skip to create ras xxx_err_count node when ACA is enabled
Apr 24, 2024
7a32b9c
drm/amd/pm: fix unsigned value asic_type compared against
Jie1zhangMay 21, 2024
ef92fd8
drm/admgpu: fix dereferencing null pointer context
Jie1zhangMay 9, 2024
049547f
drm/amdgpu: fix invadate operation for umsch
Jie1zhangMay 21, 2024
d52e3e0
drm/amdgpu/mes12: mes hw_fini fix for mode1 reset
May 21, 2024
1e7c7fb
drm/amdgpu: fix invadate operation for pg_flags
Jie1zhangMay 21, 2024
9c17bdf
drm/amdgpu: Fix snprintf usage in amdgpu_gfx_kiq_init_ring
srishanmMay 21, 2024
041b275
drm/amdgpu/atomfirmware: add intergrated info v2.3 table
May 20, 2024
0889552
drm/amdgpu: program device_cntl2 through pci cfg space
frank98753May 21, 2024
c0333a9
drm/amdgpu: correct hbm field in boot status
May 21, 2024
82c1b14
Revert "drm/amdkcl: Fix missing underline of CONFIG_DMABUF_MOVENOTIFY"
OkabeRintarouMay 23, 2024
b121f0a
Revert "drm/amdkcl: Fix missing underline of CONFIG_DMABUF_MOVENOTIFY"
OkabeRintarouMay 23, 2024
1470394
drm/amd/display: Refactor construct_phy function in dc/link/link_fact…
srishanmMay 10, 2024
52c8074
drm/amdgpu - optimize rlc spm cntl
May 11, 2024
2bf425f
drm/amd/amdgpu: fix the inst passed to amdgpu_virt_rlcg_reg_rw
vizhaoMay 13, 2024
7d5dc19
drm/amd/pm: workaround to pass jpeg unit test
Apr 26, 2024
7b874ca
drm/amdgpu: Add CRC16 selection in config
May 21, 2024
61aa0b6
drm/amdgpu: rename the ip_dump to ip_dump_core
amd-sukhatriMay 7, 2024
71e74ed
drm/amdgpu: Add cp queues support fro gfx10 in ipdump
amd-sukhatriMay 22, 2024
b3cf134
drm/amdgpu: add gfx queue support of gfx10 in ipdump
amd-sukhatriMay 22, 2024
ecd3bbc
drm/amdgpu: add prints in IP State dump
amd-sukhatriMay 9, 2024
7aa0cf3
drm/amdgpu: add more device info to the devcoredump
amd-sukhatriMay 14, 2024
362a4ba
drm/amdgpu: Add missing offsets in gc_11_0_0_offset.h
amd-sukhatriMay 21, 2024
c0d69bd
drm/amdgpu: add gfx11 registers support in ipdump
amd-sukhatriMay 15, 2024
8a02426
drm/amdgpu: add print support for gfx11 ipdump
amd-sukhatriMay 15, 2024
ed51d8f
drm/amd/amdgpu: Map ISP interrupts as generic IRQs
May 8, 2024
89d0518
drm/amd/amdgpu: Add ISP4.1.0 and ISP4.1.1 modules
May 17, 2024
984eece
drm/amd/amdgpu: Disable MMHUB prefetch for ISP v4.1.1
May 16, 2024
5233ce7
drm/amd/display: Pass errors from amdgpu_dm_init() up
superm1May 19, 2024
a65e07f
Merge amd-staging-dkms-6.8 into amd-mainline-dkms-6.8
May 23, 2024
20379db
Bump AMDGPU version to 6.8.3
May 23, 2024
bb05698
drm/amdgpu: add cp queue registers for gfx11 ipdump
amd-sukhatriMay 22, 2024
e3732c3
drm/amdgpu: add gfx queue support for gfx11 ipdump
amd-sukhatriMay 22, 2024
651c729
drm/amdgpu/display: Fix null pointer dereference in dc_stream_program…
srishanmMay 22, 2024
578f854
drm/amd/display: Enable colorspace property for MST connectors
superm1May 8, 2024
c56c90d
drm/amdkcl: wrap code under macro HAVE_DRM_CONNECT_ATTACH_COLORSPACE_…
May 27, 2024
312da82
drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()
alexdeucherMay 15, 2024
37680f8
drm/amd/display: clean up some inconsistent indenting
wb-zjp846396May 24, 2024
0bf2305
drm/amdgpu: drop MES 10.1 support v3
alexdeucherMay 2, 2024
69ef02f
drm/amdgpu: silence UBSAN warning
alexdeucherMay 16, 2024
4fd774b
drm/amdkcl: fake macro fuction __counted_by()
May 27, 2024
c509129
drm/amdgpu: fix typo in amdgpu_ras_aca_sysfs_read() function
May 27, 2024
ea41ac2
drm/amd/amdgpu: add AMD_PG_SUPPORT_VCN_DPG flag
davidwuAMDMay 23, 2024
7b1de9e
drm/amdgpu: fix dereference null return value for the function amdgpu…
Jie1zhangMay 23, 2024
7e010da
drm/amd/display: Fix incorrect cursor position for dcn401
Apr 26, 2024
e49bb25
drm/amd/display: Enable ISHARP support for DCN401
Apr 26, 2024
06fc5eb
drm/amd/display: Remove unused code
May 14, 2024
9cb1a4d
drm/amd/display: Refactor HUBP into component folder.
Apr 25, 2024
8164daf
drm/amd/display: Update DML2.1 generated code
Apr 29, 2024
f012c25
drm/amd/display: add judge condition to fix intree build issue
May 28, 2024
cc7e869
drm/amd/display: Remove unnecessary HPD entry for DCN401
May 13, 2024
a9f6ddd
drm/amd/display: Use DCN 410 includes for DCN401
May 13, 2024
8a050b4
drm/amd/display: Remove incorrect FP context start
May 14, 2024
e4bbb00
drm/amd/display: Fix null pointer dereference for dcn401
May 14, 2024
c20c0f9
drm/amd/display: Add missing registers for DCN401
May 17, 2024
8e03785
drm/amd/display: Move some init routines to dm_sw_init()
May 16, 2024
e65a563
drm/amd/display: Add new GPINT command definitions
May 16, 2024
d5008fa
drm/amd/display: Enable copying of bounding box data from VBIOS DMUB
May 21, 2024
09e70fb
drm/amdgpu: Add flags to distinguish vf/pf/pt mode
May 27, 2024
fb7b465
drm/amdkfd: simplify APU VRAM handling
alexdeucherMay 22, 2024
36f6622
drm/amdgpu: Add lock around VF RLCG interface
vskvortsMay 27, 2024
908ef52
drm/amdgpu/gfx11: select HDP ref/mask according to gfx ring pipe
alexdeucherApr 11, 2024
33d2728
drm/amdgpu/gfx11: handle priority setup for gfx pipe1
alexdeucherMay 2, 2024
3e63320
drm/amdgpu: Make CPX mode auto default in NPS4
rajbharMay 22, 2024
185eefd
drm/amdgpu/gfx11: enable gfx pipe1 hardware support
alexdeucherApr 11, 2024
564d236
drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms
superm1May 26, 2024
6588f05
drm/amdkfd: Sync trap handler binary with source
jcornwallAMDMay 23, 2024
19fd47c
drm/amdkfd: Replace deprecated gfx12 trap handler instructions
jcornwallAMDMay 23, 2024
5912e7d
Revert "drm/amdkfd: Bump kfd version for contiguous VRAM allocation"
fxkamdMay 29, 2024
3e23e2c
Revert "drm/amdkfd: bump kfd ioctl minor version for pc sampling avai…
fxkamdMay 29, 2024
9f0e20c
drm/amdkfd: Bump kfd version for contiguous VRAM allocation
PhilipYangAApr 8, 2024
6c723ef
drivers/gpu: Fix misalignment in comment block
BrunoRLeviMay 28, 2024
f426f3a
drm/amd/display: dynamically allocate dml2_configuration_options stru…
arndbMay 28, 2024
1784407
drm/amd/display: fix graphics_object_id size
arndbMay 28, 2024
745fc6a
drm/amd/display: avoid large on-stack structures
arndbMay 28, 2024
3ea768a
drm/amd/display: Move 'struct scaler_data' off stack
arndbMay 28, 2024
e738188
drm/amdgpu: Update the impelmentation of AMDGPU_PTE_MTYPE_GFX12
AMD-ShaneXiaoMay 29, 2024
56cef9a
drm/amdgpu: drop some kernel messages in VCN code
davidwuAMDMay 23, 2024
e54e455
drm/amdkfd: gfx12 context save/restore trap handler fixes
jcornwallAMDMay 23, 2024
8987a8b
drm/amd/amdgpu: Fix 'snprintf' output truncation warning
May 27, 2024
5355a23
Merge amd-staging-dkms-6.8 into amd-mainline-dkms-6.8
May 31, 2024
9c5377b
Bump AMDGPU version to 6.8.4
May 31, 2024
9a4b303
drm/amdkfd: Fix various crash, hang and corruption issues for KFD SPM…
bing-maMay 30, 2024
0305524
drm/amdgpu: use u32 for buf size in __amdgpu_eeprom_xfer
May 20, 2024
e3525a6
drm/amd/display: Convert some legacy DRM debug macros into appropriat…
May 28, 2024
b4784c0
drm/amdgpu/soc24: use common nbio callback to set remap offset
alexdeucherMay 8, 2024
557ab51
drm/amdgpu: Update programming for boot error reporting
May 30, 2024
456b841
drm/amdgu: fix Unintentional integer overflow for mall size
Jie1zhangMay 29, 2024
8c7a5c0
drm/amdgpu: Fix type mismatch in amdgpu_gfx_kiq_init_ring
srishanmMay 25, 2024
f828a3c
drm/amdgpu: add gfx9 register support in ipdump
amd-sukhatriMay 29, 2024
eafa27b
drm/amdgpu: add print support for gfx9 ipdump
amd-sukhatriMay 29, 2024
65a6858
drm/amdgpu: add cp queue registers for gfx9 ipdump
amd-sukhatriMay 29, 2024
65a67ed
drm/amdgpu: rename ip_dump_cp_queues to compute queues
amd-sukhatriMay 31, 2024
bd9ac2e
drm/amdgpu: fix comments and error message for ipdump
amd-sukhatriMay 31, 2024
3b196d5
drm/amd/display: Fix a handful of spelling mistakes
ColinIanKingMay 31, 2024
fda2582
drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds
tatokisMay 31, 2024
738fd96
drm/amdgpu: init SAW registers for mmhub v3.3
yifancomMay 6, 2024
2eaf2aa
drm/amdgpu: disable lane0 L1TLB and enable lane1 L1TLB
yifancomMay 23, 2024
75d15e2
drm/amd/amdgpu: Enable MMHUB prefetch for ISP v4.1.0 and 4.1.1
May 28, 2024
a5baffa
drm/amdgpu: Estimate RAS reservation when report capacity v2
May 28, 2024
a5b0cd2
drm/amdgpu: Update the impelmentation of AMDGPU_PTE_MTYPE_NV10
AMD-ShaneXiaoMay 29, 2024
01c98e8
drm/amdkfd: remove dead code in the function svm_range_get_pte_flags
Jie1zhangMay 30, 2024
28fafd8
drm/amdgpu: define new gfx12 uapi flags
Apr 29, 2023
384ad47
drm/amdgpu: update gc_12_0_0 headers
alexdeucherMay 31, 2024
07c7a07
Revert "drm/amdgpu/gfx11: enable gfx pipe1 hardware support"
alexdeucherMay 31, 2024
0bdb6ff
drm/amd/display: Keep VBios pixel rate div setting until next mode set
Apr 29, 2024
c56ea7e
drm/amd/display: turn on symclk for dio virtual stream in dpms sequence
May 10, 2024
889dd90
drm/amd/display: Wait for hardmins to complete on dcn401
May 13, 2024
7db9cbd
drm/amd/display: Fix swapped dimension calculations
May 13, 2024
96e67e8
drm/amd/display: Add params of set_abm_event for VB Scaling
May 10, 2024
1e37867
drm/amd/display: workaround for oled eDP not lighting up on DCN401
May 13, 2024
f416739
drm/amd/display: Support new VA page table block size
May 14, 2024
58833a3
drm/amdkfd: Handle deallocated VPGRs in gfx11+ trap handler
jcornwallAMDMay 28, 2024
f831e98
drm/amd/display: Fix DML2 logic to set clk state to min
nsusantoMay 14, 2024
c269cd0
drm/amd/display: Add retires when read DPCD
May 15, 2024
9fb7ada
drm/amd/display: Only program P-State force if pipe config changed
Apr 26, 2024
58744f4
drm/amd/display: Move fpo_in_use to stream_status
Apr 26, 2024
eb2d117
Revert "drm/amdgpu/gfx11: enable gfx pipe1 hardware support"
alexdeucherMay 31, 2024
726b185
drm/amdkfd: Comment out the unused variable use_static in pm_map_queu…
Jie1zhangMay 31, 2024
e70b974
drm/amdkfd: fix the kdf debugger issue
Jie1zhangMay 31, 2024
18d9b92
drm/amdkfd: remove dead code in kfd_create_vcrat_image_gpu
Jie1zhangMay 30, 2024
49d3cec
drm/amdgpu: Update the impelmentation of AMDGPU_PTE_MTYPE_VG10
AMD-ShaneXiaoMay 29, 2024
1974874
drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr
May 31, 2024
adc7dfa
drm/amd/pm: add missing error handling in function smu_v13_0_6_alloca…
May 31, 2024
bc41b2f
drm/amd/display: Use current_state when checking old_pipe subvp type
May 14, 2024
e52ed99
drm/amd/display: Add UCLK p-state support message to dcn401
May 14, 2024
f3a859a
drm/amdgpu: add reset sources in gpu reset context
erichuang22Jun 3, 2024
da2d024
drm/amd/display: Updated optc401_set_drr to use dcn401 functions
May 15, 2024
748ff1f
drm/amdgpu: Set PTE_IS_PTE bit for gfx12
frank98753Jun 3, 2024
8adfd6a
drm/amdgpu: Update soc24_enum.h and soc21_enum.h
frank98753May 27, 2024
0b2e4b7
drm/amdkfd: add reset cause in gpu pre-reset smi event
erichuang22Jun 3, 2024
7a2c270
drm/amd/display: fix YUV video color corruption in DCN401
May 15, 2024
370a775
drm/amd/display: Fetch Mall caps from DC
May 16, 2024
c6058c2
Merge amd-staging-dkms-6.8 into amd-mainline-dkms-6.8
Jun 7, 2024
3ed802e
Bump AMDGPU version to 6.8.5
Jun 7, 2024
0433dab
drm/amdgpu: Indicate CU havest info to CP
hkasivisJun 5, 2024
f218ad5
drm/amdgpu: add RAS is_rma flag
May 23, 2024
290d921
drm/amdgpu: trigger mode1 reset for RAS RMA status
May 23, 2024
c13dcd7
drm/amdgpu: create amdgpu_ras_in_recovery to simplify code
May 29, 2024
71f3932
drm/amdgpu: set RAS fed status for more cases
Jun 6, 2024
e8685e2
drm/amd/pm: update check condition for SMU mode1 reset
Jun 6, 2024
37209d5
drm/amdkfd: use mode1 reset for RAS poison consumption
Jun 13, 2024
97f3ca8
drm/amdkfd: add ASIC version check for the reset selection of RAS poison
Jun 13, 2024
a3431f7
drm/amdkfd: remove gfx(9, 4, 1) pc sampling support
jameszhu-amdJun 17, 2024
835309f
drm/amdkfd: use version field to pass back pc sampling revision tempo…
jameszhu-amdJun 17, 2024
3e3ae5e
Revert "drm/amd/amdgpu: fix flr_work corner case"
Jun 12, 2024
3c0335f
Revert "drm/amd/amdgpu: fix corner case in SRIOV tdr"
Jun 12, 2024
d967dc9
drm/amdgpu: fix sriov host flr handler
yunxialiMay 24, 2024
acbe9bd
drm/amdgpu: Use dev_ prints for virtualization as it supports multi a…
AMDvchanderJun 16, 2024
896d0da
drm/amdgpu: process RAS fatal error MB notification
AMDvchanderJun 24, 2024
b2e71f4
drm/amdgpu: fix failure mapping legacy queue when FLR
May 31, 2024
21f2351
drm/amdgpu: add skip_hw_access checks for sriov
yunxialiMay 24, 2024
b7c09a6
drm/amdgpu/kfd: remove is_hws_hang and is_resetting
yunxialiMay 24, 2024
617d5a5
drm/amdgpu: remove tlb flush in amdgpu_gtt_mgr_recover
yunxialiMay 22, 2024
0d4fb0b
drm/amdgpu: use helper in amdgpu_gart_unbind
yunxialiMay 17, 2024
c5c59ad
drm/amdgpu: fix locking scope when flushing tlb
yunxialiMay 23, 2024
6cccff9
drm/amdgpu: add lock in amdgpu_gart_invalidate_tlb
yunxialiMay 24, 2024
d2e5bf7
drm/amdgpu: add lock in kfd_process_dequeue_from_device
yunxialiJun 3, 2024
43111bb
drm/amdgpu: call flush_gpu_tlb directly in gfxhub enable
yunxialiJun 4, 2024
80aa9f2
Revert "Revert "drm/amdgpu: rework lock handling for flush_tlb v2""
yunxialiJun 11, 2024
fa046f1
drm/amd/pm: Add phase detect control support
Jun 25, 2024
f0f6439
drm/amd/pm: Add debugfs controls for phase detect
Jun 25, 2024
74fda16
drm/amd/pm: Add phase detect support to SMUv13.0.6
Jun 26, 2024
2889fc7
drm/amd/pm: Restrict phase detect to SMUv13.0.6
Jul 9, 2024
58cadd2
[drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c] Support f…
SamuelMarksSep 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
drm/amdgpu/kfd: remove is_hws_hang and is_resetting
is_hws_hang and is_resetting serves pretty much the same purpose andthey all duplicates the work of the reset_domain lock, just check thatdirectly instead. This also eliminate a few bugs listed below and getrid of dqm->ops.pre_reset.kfd_hws_hang did not need to avoid scheduling another reset. If theon-going reset decided to skip GPU reset we have a bad time, otherwisethe extra reset will get cancelled anyway.remove_queue_mes forgot to check is_resetting flag compared to thepre-MES path unmap_queue_cpsch, so it did not block hw access duringreset correctly.Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com>Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
  • Loading branch information
@yunxiali
yunxiali authored andHawking Zhang committedJul 11, 2024
commitb7c09a61c3ca98661dbbfe21e4e2681deec9f9e3
1 change: 0 additions & 1 deletiondrivers/gpu/drm/amd/amdkfd/kfd_device.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -964,7 +964,6 @@ int kgd2kfd_pre_reset(struct kfd_dev *kfd,
for (i = 0; i < kfd->num_nodes; i++) {
node = kfd->nodes[i];
kfd_smi_event_update_gpu_reset(node, false, reset_context);
node->dqm->ops.pre_reset(node->dqm);
}

kgd2kfd_suspend(kfd, false, true);
Expand Down
80 changes: 33 additions & 47 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,7 @@
#include "cik_regs.h"
#include "kfd_kernel_queue.h"
#include "amdgpu_amdkfd.h"
#include "amdgpu_reset.h"
#include "mes_v11_api_def.h"
#include "kfd_debug.h"

Expand DownExpand Up@@ -181,14 +182,7 @@ static void kfd_hws_hang(struct device_queue_manager *dqm)
/*
* Issue a GPU reset if HWS is unresponsive
*/
dqm->is_hws_hang = true;

/* It's possible we're detecting a HWS hang in the
* middle of a GPU reset. No need to schedule another
* reset in this case.
*/
if (!dqm->is_resetting)
schedule_work(&dqm->hw_exception_work);
schedule_work(&dqm->hw_exception_work);
}

static int convert_to_mes_queue_type(int queue_type)
Expand DownExpand Up@@ -220,7 +214,7 @@ static int add_queue_mes(struct device_queue_manager *dqm, struct queue *q,
int r, queue_type;
uint64_t wptr_addr_off;

if (dqm->is_hws_hang)
if (!down_read_trylock(&adev->reset_domain->sem))
return -EIO;

memset(&queue_input, 0x0, sizeof(struct mes_add_queue_input));
Expand DownExpand Up@@ -271,6 +265,7 @@ static int add_queue_mes(struct device_queue_manager *dqm, struct queue *q,
amdgpu_mes_lock(&adev->mes);
r = adev->mes.funcs->add_hw_queue(&adev->mes, &queue_input);
amdgpu_mes_unlock(&adev->mes);
up_read(&adev->reset_domain->sem);
if (r) {
dev_err(adev->dev, "failed to add hardware queue to MES, doorbell=0x%x\n",
q->properties.doorbell_off);
Expand All@@ -288,7 +283,7 @@ static int remove_queue_mes(struct device_queue_manager *dqm, struct queue *q,
int r;
struct mes_remove_queue_input queue_input;

if (dqm->is_hws_hang)
if (!down_read_trylock(&adev->reset_domain->sem))
return -EIO;

memset(&queue_input, 0x0, sizeof(struct mes_remove_queue_input));
Expand All@@ -298,6 +293,7 @@ static int remove_queue_mes(struct device_queue_manager *dqm, struct queue *q,
amdgpu_mes_lock(&adev->mes);
r = adev->mes.funcs->remove_hw_queue(&adev->mes, &queue_input);
amdgpu_mes_unlock(&adev->mes);
up_read(&adev->reset_domain->sem);

if (r) {
dev_err(adev->dev, "failed to remove hardware queue from MES, doorbell=0x%x\n",
Expand DownExpand Up@@ -1494,20 +1490,13 @@ static int stop_nocpsch(struct device_queue_manager *dqm)
}

if (dqm->dev->adev->asic_type == CHIP_HAWAII)
pm_uninit(&dqm->packet_mgr, false);
pm_uninit(&dqm->packet_mgr);
dqm->sched_running = false;
dqm_unlock(dqm);

return 0;
}

static void pre_reset(struct device_queue_manager *dqm)
{
dqm_lock(dqm);
dqm->is_resetting = true;
dqm_unlock(dqm);
}

static int allocate_sdma_queue(struct device_queue_manager *dqm,
struct queue *q, const uint32_t *restore_sdma_id)
{
Expand DownExpand Up@@ -1696,8 +1685,6 @@ static int start_cpsch(struct device_queue_manager *dqm)
init_interrupts(dqm);

/* clear hang status when driver try to start the hw scheduler */
dqm->is_hws_hang = false;
dqm->is_resetting = false;
dqm->sched_running = true;

if (!dqm->dev->kfd->shared_resources.enable_mes)
Expand DownExpand Up@@ -1727,38 +1714,33 @@ static int start_cpsch(struct device_queue_manager *dqm)
fail_allocate_vidmem:
fail_set_sched_resources:
if (!dqm->dev->kfd->shared_resources.enable_mes)
pm_uninit(&dqm->packet_mgr, false);
pm_uninit(&dqm->packet_mgr);
fail_packet_manager_init:
dqm_unlock(dqm);
return retval;
}

static int stop_cpsch(struct device_queue_manager *dqm)
{
bool hanging;

dqm_lock(dqm);
if (!dqm->sched_running) {
dqm_unlock(dqm);
return 0;
}

if (!dqm->is_hws_hang) {
if (!dqm->dev->kfd->shared_resources.enable_mes)
unmap_queues_cpsch(dqm, KFD_UNMAP_QUEUES_FILTER_ALL_QUEUES, 0, USE_DEFAULT_GRACE_PERIOD, false);
else
remove_all_queues_mes(dqm);
}
if (!dqm->dev->kfd->shared_resources.enable_mes)
unmap_queues_cpsch(dqm, KFD_UNMAP_QUEUES_FILTER_ALL_QUEUES, 0, USE_DEFAULT_GRACE_PERIOD, false);
else
remove_all_queues_mes(dqm);

hanging = dqm->is_hws_hang || dqm->is_resetting;
dqm->sched_running = false;

if (!dqm->dev->kfd->shared_resources.enable_mes)
pm_release_ib(&dqm->packet_mgr);

kfd_gtt_sa_free(dqm->dev, dqm->fence_mem);
if (!dqm->dev->kfd->shared_resources.enable_mes)
pm_uninit(&dqm->packet_mgr, hanging);
pm_uninit(&dqm->packet_mgr);
dqm_unlock(dqm);

return 0;
Expand DownExpand Up@@ -1984,23 +1966,24 @@ static int unmap_queues_cpsch(struct device_queue_manager *dqm,
{
struct device *dev = dqm->dev->adev->dev;
struct mqd_manager *mqd_mgr;
int retval = 0;
int retval;

if (!dqm->sched_running)
return 0;
if (dqm->is_hws_hang || dqm->is_resetting)
return -EIO;
if (!dqm->active_runlist)
return retval;
return 0;
if (!down_read_trylock(&dqm->dev->adev->reset_domain->sem))
return -EIO;

if (grace_period != USE_DEFAULT_GRACE_PERIOD) {
retval = pm_update_grace_period(&dqm->packet_mgr, grace_period);
if (retval)
return retval;
goto out;
}
retval = pm_send_unmap_queue(&dqm->packet_mgr, filter, filter_param, reset);
if (retval)
return retval;
goto out;

*dqm->fence_addr = KFD_FENCE_INIT;
pm_send_query_status(&dqm->packet_mgr, dqm->fence_gpu_addr,
KFD_FENCE_COMPLETED);
Expand All@@ -2010,7 +1993,7 @@ static int unmap_queues_cpsch(struct device_queue_manager *dqm,
if (retval) {
dev_err(dev, "The cp might be in an unrecoverable state due to an unsuccessful queues preemption\n");
kfd_hws_hang(dqm);
return retval;
goto out;
}

/* In the current MEC firmware implementation, if compute queue
Expand All@@ -2026,7 +2009,8 @@ static int unmap_queues_cpsch(struct device_queue_manager *dqm,
while (halt_if_hws_hang)
schedule();
kfd_hws_hang(dqm);
return -ETIME;
retval = -ETIME;
goto out;
}

/* We need to reset the grace period value for this device */
Expand All@@ -2039,6 +2023,8 @@ static int unmap_queues_cpsch(struct device_queue_manager *dqm,
pm_release_ib(&dqm->packet_mgr);
dqm->active_runlist = false;

out:
up_read(&dqm->dev->adev->reset_domain->sem);
return retval;
}

Expand All@@ -2065,13 +2051,13 @@ static int execute_queues_cpsch(struct device_queue_manager *dqm,
{
int retval;

if (dqm->is_hws_hang)
if (!down_read_trylock(&dqm->dev->adev->reset_domain->sem))
return -EIO;
retval = unmap_queues_cpsch(dqm, filter, filter_param, grace_period, false);
if (retval)
returnretval;

returnmap_queues_cpsch(dqm);
if (!retval)
retval = map_queues_cpsch(dqm);
up_read(&dqm->dev->adev->reset_domain->sem);
returnretval;
}

static int wait_on_destroy_queue(struct device_queue_manager *dqm,
Expand DownExpand Up@@ -2452,10 +2438,12 @@ static int process_termination_cpsch(struct device_queue_manager *dqm,
if (!dqm->dev->kfd->shared_resources.enable_mes)
retval = execute_queues_cpsch(dqm, filter, 0, USE_DEFAULT_GRACE_PERIOD);

if ((!dqm->is_hws_hang) && (retval || qpd->reset_wavefronts)) {
if ((retval || qpd->reset_wavefronts) &&
down_read_trylock(&dqm->dev->adev->reset_domain->sem)) {
pr_warn("Resetting wave fronts (cpsch) on dev %p\n", dqm->dev);
dbgdev_wave_reset_wavefronts(dqm->dev, qpd->pqm->process);
qpd->reset_wavefronts = false;
up_read(&dqm->dev->adev->reset_domain->sem);
}

/* Lastly, free mqd resources.
Expand DownExpand Up@@ -2562,7 +2550,6 @@ struct device_queue_manager *device_queue_manager_init(struct kfd_node *dev)
dqm->ops.initialize = initialize_cpsch;
dqm->ops.start = start_cpsch;
dqm->ops.stop = stop_cpsch;
dqm->ops.pre_reset = pre_reset;
dqm->ops.destroy_queue = destroy_queue_cpsch;
dqm->ops.update_queue = update_queue;
dqm->ops.register_process = register_process;
Expand All@@ -2583,7 +2570,6 @@ struct device_queue_manager *device_queue_manager_init(struct kfd_node *dev)
/* initialize dqm for no cp scheduling */
dqm->ops.start = start_nocpsch;
dqm->ops.stop = stop_nocpsch;
dqm->ops.pre_reset = pre_reset;
dqm->ops.create_queue = create_queue_nocpsch;
dqm->ops.destroy_queue = destroy_queue_nocpsch;
dqm->ops.update_queue = update_queue;
Expand Down
1 change: 0 additions & 1 deletiondrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -152,7 +152,6 @@ struct device_queue_manager_ops {
int(*initialize)(struct device_queue_manager *dqm);
int(*start)(struct device_queue_manager *dqm);
int(*stop)(struct device_queue_manager *dqm);
void(*pre_reset)(struct device_queue_manager *dqm);
void(*uninitialize)(struct device_queue_manager *dqm);
int(*create_kernel_queue)(struct device_queue_manager *dqm,
struct kernel_queue *kq,
Expand Down
11 changes: 7 additions & 4 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,6 +32,7 @@
#include "kfd_device_queue_manager.h"
#include "kfd_pm4_headers.h"
#include "kfd_pm4_opcodes.h"
#include "amdgpu_reset.h"

#define PM4_COUNT_ZERO (((1 << 15) - 1) << 16)

Expand DownExpand Up@@ -196,15 +197,17 @@ static bool kq_initialize(struct kernel_queue *kq, struct kfd_node *dev,
}

/* Uninitialize a kernel queue and free all its memory usages. */
static void kq_uninitialize(struct kernel_queue *kq, bool hanging)
static void kq_uninitialize(struct kernel_queue *kq)
{
if (kq->queue->properties.type == KFD_QUEUE_TYPE_HIQ &&!hanging)
if (kq->queue->properties.type == KFD_QUEUE_TYPE_HIQ &&down_read_trylock(&kq->dev->adev->reset_domain->sem)) {
kq->mqd_mgr->destroy_mqd(kq->mqd_mgr,
kq->queue->mqd,
KFD_PREEMPT_TYPE_WAVEFRONT_RESET,
KFD_UNMAP_LATENCY_MS,
kq->queue->pipe,
kq->queue->queue);
up_read(&kq->dev->adev->reset_domain->sem);
}
else if (kq->queue->properties.type == KFD_QUEUE_TYPE_DIQ)
kfd_gtt_sa_free(kq->dev, kq->fence_mem_obj);

Expand DownExpand Up@@ -344,9 +347,9 @@ struct kernel_queue *kernel_queue_init(struct kfd_node *dev,
return NULL;
}

void kernel_queue_uninit(struct kernel_queue *kq, bool hanging)
void kernel_queue_uninit(struct kernel_queue *kq)
{
kq_uninitialize(kq, hanging);
kq_uninitialize(kq);
kfree(kq);
}

Expand Down
4 changes: 2 additions & 2 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -263,10 +263,10 @@ int pm_init(struct packet_manager *pm, struct device_queue_manager *dqm)
return 0;
}

void pm_uninit(struct packet_manager *pm, bool hanging)
void pm_uninit(struct packet_manager *pm)
{
mutex_destroy(&pm->lock);
kernel_queue_uninit(pm->priv_queue, hanging);
kernel_queue_uninit(pm->priv_queue);
pm->priv_queue = NULL;
}

Expand Down
4 changes: 2 additions & 2 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_priv.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1434,7 +1434,7 @@ struct device_queue_manager *device_queue_manager_init(struct kfd_node *dev);
void device_queue_manager_uninit(struct device_queue_manager *dqm);
struct kernel_queue *kernel_queue_init(struct kfd_node *dev,
enum kfd_queue_type type);
void kernel_queue_uninit(struct kernel_queue *kq, bool hanging);
void kernel_queue_uninit(struct kernel_queue *kq);
int kfd_dqm_evict_pasid(struct device_queue_manager *dqm, u32 pasid);

/* Process Queue Manager */
Expand DownExpand Up@@ -1540,7 +1540,7 @@ extern const struct packet_manager_funcs kfd_v9_pm_funcs;
extern const struct packet_manager_funcs kfd_aldebaran_pm_funcs;

int pm_init(struct packet_manager *pm, struct device_queue_manager *dqm);
void pm_uninit(struct packet_manager *pm, bool hanging);
void pm_uninit(struct packet_manager *pm);
int pm_send_set_resources(struct packet_manager *pm,
struct scheduling_resources *res);
int pm_send_runlist(struct packet_manager *pm, struct list_head *dqm_queues);
Expand Down
4 changes: 2 additions & 2 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -434,7 +434,7 @@ int pqm_create_queue(struct process_queue_manager *pqm,
err_create_queue:
uninit_queue(q);
if (kq)
kernel_queue_uninit(kq, false);
kernel_queue_uninit(kq);
kfree(pqn);
err_allocate_pqn:
/* check if queues list is empty unregister process from device */
Expand DownExpand Up@@ -481,7 +481,7 @@ int pqm_destroy_queue(struct process_queue_manager *pqm, unsigned int qid)
/* destroy kernel queue (DIQ) */
dqm = pqn->kq->dev->dqm;
dqm->ops.destroy_kernel_queue(dqm, pqn->kq, &pdd->qpd);
kernel_queue_uninit(pqn->kq, false);
kernel_queue_uninit(pqn->kq);
}

if (pqn->q) {
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp