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

Fix DKMS include path parsing#117

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
tsipa wants to merge3,190 commits intoROCm:master
base:master
Choose a base branch
Loading
fromtsipa:master
Open
Changes from1 commit
Commits
Show all changes
3190 commits
Select commitHold shift + click to select a range
c426564
drm/amdgpu: Put MODE register in wave debug info
jlgreathouseJun 30, 2021
bb87968
drm/amdgpu: don't enable baco on boco platforms in runpm
alexdeucherAug 2, 2021
f769e7e
drm/amdgpu: drop redundant null-pointer checks in amdgpu_ttm_tt_popul…
lituo1996Aug 4, 2021
d0b61ab
drm/amdgpu: enable more pm sysfs under SRIOV 1-VF mode
Aug 4, 2021
b85c8d6
drm/amdkfd: Expose GFXIP engine version to sysfs
Jul 12, 2021
1a56d14
drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_t…
tititiou36Aug 5, 2021
d9956ef
drm/amd/pm: bug fix for the runtime pm BACO
Aug 6, 2021
bf7017e
drm/amd/display: Remove redundant initialization of variable eng_id
Aug 6, 2021
ba2ee38
drm/amdgpu: Extend full access wait time in guest
vizhaoMay 6, 2021
f3a3c57
drm/amd/amdgpu: skip locking delayed work if not initialized.
Aug 5, 2021
f35b986
drm/amdgpu: add DID for beige goby
Feb 24, 2021
77c5956
drm/amdgpu: handle VCN instances when harvesting (v2)
alexdeucherAug 9, 2021
bc629bc
drm/amd/display: Remove invalid assert for ODM + MPC case
Jul 26, 2021
7ef5780
drm/amd/display: fix missing writeback disablement if plane is removed
Jul 21, 2021
90d08fb
drm/amd/display: refactor the codes to centralize the stream/pipe che…
Jul 21, 2021
247a573
drm/amd/display: refactor the cursor programing codes
Jul 19, 2021
e943525
drm/amd/display: fix incorrect CM/TF programming sequence in dwb
Jul 19, 2021
a36fc8e
drm/amd/display: Correct comment style
Jul 23, 2021
c614c9b
drm/amd/display: Add AUX I2C tracing.
Jul 17, 2021
0ca1477
drm/amd/display: add authentication_complete in hdcp output
Jul 26, 2021
2eab996
drm/amd/display: [FW Promotion] Release 0.0.78
anthony-koo2Jul 30, 2021
dd0788f
drm/amd/display: 3.2.148
anthony-koo2Jul 31, 2021
fa8f5cc
drm/amd/display: Clear GPINT after DMCUB has reset
Aug 3, 2021
bd3f374
drm/amd/display: Increase timeout threshold for DMCUB reset
Aug 3, 2021
3efdf23
drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
Jul 30, 2021
ede8109
drm/amd/display: use do-while-0 for DC_TRACE_LEVEL_MESSAGE()
rddunlapAug 9, 2021
b5b3d4f
drm/amdgpu: fix kernel-doc warnings on non-kernel-doc comments
rddunlapAug 7, 2021
1cc9956
amdgpu/pm: Replace navi10 usage of sprintf with sysfs_emit
Jun 30, 2021
38faf1d
amdgpu/pm: Replace smu11 usage of sprintf with sysfs_emit
Jul 1, 2021
7849768
amdgpu/pm: Replace smu12/13 usage of sprintf with sysfs_emit
Jul 10, 2021
6cf4d84
amdgpu/pm: Replace vega10 usage of sprintf with sysfs_emit
Jul 10, 2021
3af1c27
amdgpu/pm: Replace vega12,20 usage of sprintf with sysfs_emit
Jul 14, 2021
f1efc01
amdgpu/pm: Replace hwmgr smu usage of sprintf with sysfs_emit
Jul 17, 2021
6fc67db
amdgpu/pm: Replace amdgpu_pm usage of sprintf with sysfs_emit
Jul 18, 2021
7342bd6
Merge amd-staging-dkms-5.11 into amd-mainline-dkms-5.11
Aug 11, 2021
82b2e73
Bump AMDGPU version to 5.11.27
Aug 11, 2021
1c6252a
Fix the macro for HAVE_STRUCT_DMA_BUF_OPS_ALLOW_PEER2PEER
rerraboluAug 4, 2021
014bf15
Revert "Fix the macro for HAVE_STRUCT_DMA_BUF_OPS_ALLOW_PEER2PEER"
Aug 12, 2021
688aa88
drm/amd/pm: restore fan_mode AMD_FAN_CTRL_NONE on resume (v2)
Jul 28, 2021
f9b1875
drm/amd/pm: graceful exit on restore fan mode failure (v2)
Aug 6, 2021
741240f
Revert "drm/amd/amdgpu embed hw_fence into amdgpu_job"
Aug 11, 2021
94fb7bd
Revert "Revert "drm/amd/amdgpu embed hw_fence into amdgpu_job""
Aug 12, 2021
746d412
Revert "drm/amd/pm: fix workload mismatch on vega10"
Aug 13, 2021
5b781c0
drm/amd/pm: change the workload type for some cards
Aug 13, 2021
57f8685
drm/amdkcl: Add XEC macro v2
kentrussellAug 12, 2021
654cbd3
drm/amdkfd: AIP mGPUs best prefetch location for xnack on
PhilipYangAAug 1, 2021
4312b73
gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variabl…
lituo1996Aug 11, 2021
2565a7c
drm/display: fix possible null-pointer dereference in dcn10_set_clock()
lituo1996Aug 11, 2021
f1f603f
drm/amdgpu: Use mod_delayed_work in amdgpu_gfx_off_ctrl
Aug 11, 2021
db294ff
drm/amdgpu: Use mod_delayed_work in JPEG/UVD/VCE/VCN ring_end_use hooks
Aug 11, 2021
5af93b0
drm/amdgpu: Removed unnecessary if statement
lonyelonAug 9, 2021
60e7031
drm/amdgpu: get extended xgmi topology data
jokim-amdAug 3, 2021
fb06408
drm/amdkfd: disable gfx off per debug trap action
jokim-amdJul 26, 2021
2b3c38d
drm/amdgpu: fix num_links reflection for extended xgmi topology
jokim-amdAug 13, 2021
bd3798c
Use DMABUF for remote VRAM BOs only if CONFIG_PCI_P2PDMA is SET
rerraboluAug 13, 2021
9e40433
drm/amdkfd: CWSR with software scheduler
mukjoshiAug 9, 2021
15f7ab3
drm/amd/amdgpu embed hw_fence into amdgpu_job
May 12, 2021
ff9bb1a
drm/amd/pm: skip to load smu microcode on sriov for aldebaran
Aug 11, 2021
fcc6e4e
drm/amd/pm: change return value in aldebaran_get_power_limit()
Aug 11, 2021
2f610c0
drm/amd/pm: change smu msg's attribute to allow working under sriov
Aug 11, 2021
4cc7781
drm/amd/pm: change pp_dpm_sclk/mclk/fclk attribute is RO for aldebaran
Aug 11, 2021
8887aa6
drm/amd/pm: correct DPM_XGMI/VCN_DPM feature name
Aug 11, 2021
b504bc7
drm/amdgpu: Add MB_REQ_MSG_READY_TO_RESET response when VF get FLR no…
Mar 19, 2021
aea2ab1
drm/amd/amdgpu: consolidate PSP TA context
candicelicyAug 13, 2021
a997046
drm/amdkfd: fix random KFDSVMRangeTest.SetGetAttributesTest test failure
yifancomAug 10, 2021
9dfda6a
drm/amd/amdgpu: remove unnecessary RAS context field
candicelicyAug 13, 2021
b48c000
drm/amdkcl: add DMA_FENCE_FLAG_USER_BITS macro
Aug 16, 2021
5df7568
drm/amdkcl: wrap the code under HAVE_DMA_FENCE_SET_ERROR
Aug 16, 2021
bed0ad6
drm/amdgpu: increase max xgmi physical node for aldebaran
Aug 16, 2021
ff4336e
Revert "drm/amdgpu: increase the mam_phy_nodes to 16 for aldebran"
Aug 17, 2021
217c559
drm/amdgpu: increase max xgmi physical node for aldebaran
Aug 16, 2021
961bdd6
drm/amd/pm: correct the fan speed RPM setting
Feb 9, 2021
917723c
drm/amd/pm: record the RPM and PWM based fan speed settings
Feb 9, 2021
0ed587f
drm/amd/pm: correct the fan speed PWM retrieving
Feb 9, 2021
e0debd4
drm/amd/pm: correct the fan speed RPM retrieving
Feb 9, 2021
892c2c0
drm/amd/pm: drop the unnecessary intermediate percent-based transition
Feb 10, 2021
e2bd05d
drm/amd/pm: drop unnecessary manual mode check
Feb 10, 2021
c35ed9b
drm/amd/pm: correct the address of Arcturus fan related registers
Feb 22, 2021
240912f
drm/amd/display: Create dc_sink when EDID fail
Jun 28, 2021
184690f
drm/amd/display: Fix multi-display support for idle opt workqueue
Aug 3, 2021
4aec7dd
drm/amd/display: Use vblank control events for PSR enable/disable
Aug 3, 2021
cc5cc31
drm/amd/display: Ensure DCN save after VM setup
Aug 5, 2021
cf61de8
drm/amd/display: Guard vblank wq flush with DCN guards
Aug 12, 2021
173d2ab
drm/amd/display: [FW Promotion] Release 0.0.79
anthony-koo2Aug 6, 2021
0fe8c25
drm/amd/display: 3.2.149
AMD-aricAug 7, 2021
8dcd70e
drm/amdgpu: correct MMSCH 1.0 version
Aug 12, 2021
d2e1557
Revert "drm/amdgpu: Use mod_delayed_work in amdgpu_gfx_off_ctrl"
alexdeucherAug 16, 2021
140b883
Revert "drm/amdgpu: Use mod_delayed_work in JPEG/UVD/VCE/VCN ring_end…
alexdeucherAug 16, 2021
b437267
drm/amdgpu: Cancel delayed work when GFXOFF is disabled
Aug 16, 2021
ee9f1fc
drm/amdgpu/display: fix leftover CONFIG_DRM_AMD_DC_DCN3_1
alexdeucherAug 16, 2021
1ebd6b2
drm/amdgpu: disable BACO support for 699F:C7 polaris12 SKU temporarily
Aug 13, 2021
492d8bf
Merge amd-staging-dkms-5.11 into amd-mainline-dkms-5.11
Aug 17, 2021
c7dc496
Bump AMDGPU version to 5.11.28
Aug 17, 2021
7b6d188
drm/amdkcl: change CONFIG_DRM_AMD_DC_DCN into CONFIG_DRM_AMD_DC_DCN3_…
Aug 17, 2021
5bbf429
drm/amd: consolidate TA shared memory structures
candicelicyAug 16, 2021
50d2cc1
drm/amd/amdgpu:flush ttm delayed work before cancel_sync
Aug 17, 2021
eb45dc8
drm/amdkfd: export svm_range_list_lock_and_flush_work
yifancomAug 17, 2021
be57ea7
drm/amdkfd: fix KFDSVMRangeTest.PartialUnmapSysMemTest fails
yifancomAug 14, 2021
65b0e50
Revert "drm/amdkfd: fix KFDSVMRangeTest.PartialUnmapSysMemTest fails"
yifancomAug 18, 2021
b1e94e1
Revert "drm/amdkfd: export svm_range_list_lock_and_flush_work"
yifancomAug 18, 2021
2a08a43
drm/amdkfd: export svm_range_list_lock_and_flush_work
yifancomAug 17, 2021
5d9bbc0
drm/amdkfd: fix KFDSVMRangeTest.PartialUnmapSysMemTest fails
yifancomAug 14, 2021
b741d7e
drm/amd/pm: Fix spelling mistake "firwmare" -> "firmware"
Aug 17, 2021
46da3b5
Revert "drm/amdgpu: Cancel delayed work when GFXOFF is disabled"
alexdeucherAug 17, 2021
6e25bf5
drm/amdgpu: Cancel delayed work when GFXOFF is disabled
Aug 17, 2021
401fdda
drm/amdkfd: remove user control to save dispatch ptr through mqd
jokim-amdAug 19, 2021
e38ee04
Revert "drm/amd/amdgpu: remove unnecessary RAS context field"
candicelicyAug 23, 2021
1cb62bb
drm/amd/pm: a quick fix for "divided by zero" error
Aug 20, 2021
28f9e71
Merge amd-staging-dkms-5.11 into amd-mainline-dkms-5.11
Aug 24, 2021
c558b0e
Bump AMDGPU version to 5.11.29
Aug 24, 2021
c0c6673
drm/amdkfd: return both queue id and gpu id on exception query
jokim-amdAug 24, 2021
eefb7f0
drm/amdgpu/OLAND: clip the ref divider max value
contactshashanksharmaAug 20, 2021
10ecce3
drm/amdkfd: CWSR with sw scheduler on Aldebaran and Arcturus
mukjoshiAug 19, 2021
2f5054d
drm/amd/amdgpu: consolidate PSP TA init shared buf functions
candicelicyAug 18, 2021
fd65d73
drm/amdkfd: check access permisson to restore retry fault
PhilipYangAAug 15, 2021
800c8c0
drm/amdkfd: map SVM range with correct access permission
PhilipYangAAug 18, 2021
9ffaa9f
drm/amdgpu: switch from 'pci_' to 'dma_' API
tititiou36Aug 22, 2021
4996da6
drm/amdgpu: Fix build with missing pm_suspend_target_state module export
suryasaimadhuAug 24, 2021
8818e8b
drm/amdgpu: add missing cleanups for Polaris12 UVD/VCE on suspend
Aug 17, 2021
3d8d32f
drm/amdgpu: add missing cleanups for more ASICs on UVD/VCE suspend
Aug 19, 2021
5050e4c
drm/amdgpu: drop redundant cancel_delayed_work_sync call
Aug 19, 2021
2c52e87
drm/amdgpu: use the preferred pin domain after the check
ChristianKoenigAMDAug 18, 2021
89999c6
drm/amdgpu: rename amdgpu_bo_get_preferred_pin_domain
yifancomAug 25, 2021
a8dc99b
drm/amdgpu: rework context priority handling
Aug 24, 2021
dab381f
drm/amdkfd: Account for SH/SE count when setting up cu masks.
skeelyamdAug 20, 2021
f9a68ec
drm/amd/display: add missing ABM register offsets
Aug 9, 2021
736d552
drm/amd/display: Set min dcfclk if pipe count is 0
Aug 11, 2021
560b723
drm/amd/display: Use max target bpp override option
Jul 30, 2021
31eb24e
drm/amd/display: Limit max DSC target bpp for specific monitors
Jul 30, 2021
4acf924
drm/amd/display: Add emulated sink support for updating FS
Aug 11, 2021
a52fe07
drm/amd/display: Initialize GSP1 SDP header
Aug 12, 2021
00dd9f9
drm/amd/display: Update swizzle mode enums
Jul 30, 2021
b8b8888
drm/amd/display: [FW Promotion] Release 0.0.80
anthony-koo2Aug 15, 2021
8f90d93
drm/amd/display: 3.2.150
AMD-aricAug 15, 2021
74229e4
drm/amd/display: Add Logging for HDMI color depth information
psw2korAug 19, 2021
79151ff
drm/amdgpu: disable GFX CGCG in aldebaran
Aug 26, 2021
9fa87f7
drm/amdkcl: wrap code under the macro HAVE_DRM_DISPLAY_INFO_MONITOR_…
Aug 26, 2021
6a5e194
drm/amdgpu: add some additional RDNA2 PCI IDs
alexdeucherAug 26, 2021
41e1c9a
drm/amdkfd: fix address watch watchpoint allocation and free locks
jokim-amdAug 27, 2021
a44f6db
drm/amdkcl: test for is_device_page()
alexsierragAug 26, 2021
fcbe95e
drm/amdkfd: ref count init for device pages
alexsierragAug 20, 2021
c3265bd
drm/amdkfd: add SPM support for SVM
alexsierragJun 1, 2021
3763f56
drm/amdkfd: public type as sys mem on migration to ram
alexsierragMar 4, 2021
8486a92
drm/amd/display: Add DP 2.0 Audio Package Generator
Jun 9, 2021
f11f6ce
drm/amd/display: Add DP 2.0 HPO Stream Encoder
Jun 9, 2021
835617e
drm/amdkcl: wrap the code under macro CONFIG_DRM_AMD_DC_DCN1_0
Aug 23, 2021
5bda8b2
drm/amd/display: Add DP 2.0 HPO Link Encoder
Aug 3, 2021
e6faf90
drm/amd/display: Add DP 2.0 DCCG
Jul 26, 2021
a1611af
drm/amd/display: Add DP 2.0 BIOS and DMUB Support
Jun 15, 2021
94d895a
drm/amd/display: Add DP 2.0 SST DC Support
Aug 3, 2021
1f94cf6
drm/amdkcl: wrap code under macro CONFIG_DRM_AMD_DC_DCN3_x
Aug 25, 2021
59b2385
drm/amdkcl: wrap code under macro CONFIG_DRM_AMD_DC_DCN1_0
Aug 26, 2021
140ede5
drm/amdkcl: wrap coder under macro CONFIG_DRM_AMD_DC_DSC_SUPPORT
Aug 26, 2021
6fee0eb
drm/amd/display: fix spelling mistake "alidation" -> "validation"
Aug 25, 2021
ce7516a
drm/amdgpu/display: fix logic regression in dce110 apply_single_contr…
alexdeucherAug 25, 2021
a368c74
drm/amd/amdgpu: New debugfs interface for MMIO registers (v5)
Aug 20, 2021
8deebe2
drm/amd/display: Update number of DCN3 clock states
Aug 24, 2021
c7c11b5
drm/amd/display: Update bounding box states (v2)
Jun 18, 2020
39b8f04
drm/amd/display: Remove duplicate dml init
Aug 25, 2021
f916679
drm/amd/display: Move AllowDRAMSelfRefreshOrDRAMClockChangeInVblank t…
May 13, 2020
e6b1fd9
drm:dcn31: fix boolreturn.cocci warnings
Aug 24, 2021
ae3fbe3
drm/amdgpu: Fixes to returning VBIOS RAS EEPROM address
Aug 24, 2021
db1c540
drm/amdgpu: Process any VBIOS RAS EEPROM address
Aug 25, 2021
73d7bff
drm/amdgpu: correct comments in memory type managers
yifancomAug 26, 2021
abfb976
drm/amd/amdgpu: Add ready_to_reset resp for vega10
Aug 27, 2021
6bdde18
drm/amdgpu: reenable BACO support for 699F:C7 polaris12 SKU
Aug 24, 2021
0d6078d
drm/amdgpu: detach ring priority from gfx priority
Aug 25, 2021
f09c978
drm/amdgpu: disable GFX CGCG in aldebaran
Aug 26, 2021
bcbbe82
Merge amd-staging-dkms-5.11 into amd-mainline-dkms-5.11
Aug 31, 2021
bfc1caf
Bump AMDGPU version to 5.11.30
Aug 31, 2021
2689dec
drm/amdkcl: correct the mistakes in the process of merging code.
Aug 30, 2021
33e325a
drm/amd/display: Support for DMUB HPD interrupt handling
Jul 25, 2021
d0c8701
drm/amdkcl: wrap code under the macro HAVE_DRM_CONNECTOR_LIST_ITER_BEGIN
Aug 30, 2021
7ae1910
drm/amdgpu/display: fix mixed declarations and code in dp_set_hw_test…
alexdeucherAug 24, 2021
d76a1c4
drm/amdgpu/display: fix unhandled cases in get_phyd32clk_src()
alexdeucherAug 24, 2021
b058400
drm/amdgpu/display: handle all cases in decide_cr_training_pattern
alexdeucherAug 24, 2021
bac8328
drm/amdgpu/display: drop unused variable.
alexdeucherAug 24, 2021
371defb
drm/amdgpu/display: fix mixed declarations and code in dc_link_dp.c
alexdeucherAug 24, 2021
319ff7b
drm/amdgpu/display: remove unused function dp2_update_mst_stream_allo…
alexdeucherAug 24, 2021
162eab8
drm/amdgpu/display: remove unused variables in dcn31_hpo_dp_link_enc_…
alexdeucherAug 24, 2021
df36d3e
drm/amdgpu/display: remove unused variable in dcn31_hpo_dp_stream_enc…
alexdeucherAug 24, 2021
5ca7ad0
drm/amdkcl: wrap code under the macro CONFIG_DRM_AMD_DC_DCN3_x
Aug 27, 2021
874fc8b
drm/amd/pm: And destination bounds checking to struct copy
keesAug 27, 2021
e0216bc
drm/amdgpu: Enable S/G for Yellow Carp
Jan 14, 2021
cc10af9
drm/amd/display: setup system context for APUs
aaliuamdAug 23, 2021
82bc940
drm/amdgpu: show both cmd id and name when psp cmd failed
Aug 27, 2021
7ce293a
drm/amdkcl: test for is_device_page()
alexsierragAug 26, 2021
2686a5c
drm/amdkfd: ref count init for device pages
alexsierragAug 20, 2021
4564f9e
drm/amdkfd: add SPM support for SVM
alexsierragJun 1, 2021
13a529e
drm/amdkfd: public type as sys mem on migration to ram
alexsierragMar 4, 2021
6d2a599
Revert "Revert "drm/ttm: fix return value check""
Sep 1, 2021
15ba2c8
drm/amdgpu: Fix a deadlock if previous GEM object allocation fails
Aug 31, 2021
869003f
drm/amdkfd: fix lockdep warnings on debugger termination
jokim-amdSep 1, 2021
81d0f74
drm/amdgpu: Fix a deadlock if previous GEM object allocation fails
Aug 31, 2021
83a4005
drm/amd/pm: Update navi12 smu message mapping table in sriov
Aug 30, 2021
8dccc9e
drm/amdgpu/swsmu: fix spelling mistake "minimun" -> "minimum"
Aug 27, 2021
ad5dea5
drm/amd/display: Fix unused initialization of pointer sink
Aug 29, 2021
12b7bcc
drm/amd/display: Fix memory leak reported by coverity
Aug 13, 2021
de7fa50
drm/amd/display: cleanup idents after a revert
Aug 12, 2021
e71ad2e
drm/amd/display: Initialize lt_settings on instantiation
Aug 16, 2021
bcc17b1
drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
KobatwAug 30, 2021
a229ddb
drm/amdkcl: add macro INTEL_FAM6_ROCKETLAKE
Sep 1, 2021
d8199e0
drm/amdgpu: Add driver infrastructure for MCA RAS
Aug 24, 2021
5107725
drm/amdgpu: Update RAS XGMI Error Query
Aug 24, 2021
2bfb507
drm/amdgpu: Add support for RAS XGMI err query
Aug 26, 2021
7315626
drm/amdgpu: Clear RAS interrupt status on aldebaran
Aug 26, 2021
b03555e
drm/amd/amdgpu: consolidate PSP TA unload function
candicelicyAug 26, 2021
14085fa
drm/amd/amdgpu: add mpio to ras block
candicelicyAug 27, 2021
578e424
drm/amdgpu: Clear RAS interrupt status on aldebaran
Aug 31, 2021
0fedc54
drm/ttm: Create pinned list
Aug 24, 2021
5f7b00b
drm/ttm: Clear all DMA mappings on demand
Aug 26, 2021
2fba326
drm/amdgpu: Add a UAPI flag for hot plug/unplug
Aug 24, 2021
76ecaab
drm/sched: fix the bug of time out calculation(v4)
ljymonkSep 1, 2021
3c151f8
drm/amdkfd: drop process ref count when xnack disable
alexsierragSep 1, 2021
e94f0d8
Merge amd-staging-dkms-5.11 into amd-mainline-dkms-5.11
Sep 6, 2021
94eed22
Bump AMDGPU version to 5.11.31
Sep 6, 2021
28daf5d
drm/amdgpu: Add driver infrastructure for MCA RAS
Aug 24, 2021
8151a59
drm/amdgpu: Update RAS XGMI Error Query
Aug 24, 2021
a90d0bb
drm/amdgpu: Add support for RAS XGMI err query
Aug 26, 2021
3f92afc
drm/amdgpu: Clear RAS interrupt status on aldebaran
Aug 26, 2021
9772f5b
drm/amd/amdgpu: consolidate PSP TA unload function
candicelicyAug 26, 2021
9b0a0d9
drm/amd/amdgpu: add mpio to ras block
candicelicyAug 27, 2021
ba18077
drm/amdgpu: Clear RAS interrupt status on aldebaran
Aug 31, 2021
c4c4353
Merge amd-staging-dkms-5.11 into amd-mainline-dkms-5.11
Sep 9, 2021
82dccba
Bump AMDGPU version to 5.11.32
Sep 9, 2021
f059dcb
drm/amd/pm: fix the issue of uploading powerplay table
Sep 5, 2021
12cc120
drm/amdkfd: make needs_pcie_atomics FW-version dependent
fxkamdAug 31, 2021
0eecd67
drm/amdkcl: Avoid array out of bounds
OkabeRintarouSep 10, 2021
5e21581
Bump AMDGPU version to 5.11.32.21.40
Sep 17, 2021
06a9472
drm/amdgpu: [hybrid]enable dGMA path in page table mapping
Sep 17, 2021
e7638fd
drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_p…
Oct 1, 2021
3007309
drm/amdgpu: Enable RAS after mode-2 reset on Aldebaran
mukjoshiSep 20, 2021
f955f70
drm/amdgpu: Fix RAS page retirement with mode-2 reset on Aldebaran
kentrussellOct 10, 2021
068896e
drm/amdkfd: set conditional trap_en on aldebaran
jokim-amdSep 1, 2021
dcc7a93
drm/amdkfd: add topology flag for debug firmware status
jokim-amdSep 10, 2021
f6bd475
drm/amdkcl: rename DEVICE_PUBLIC to DEVICE_COHERENT
alexsierragOct 7, 2021
47dce51
drm/amdkfd: rm BO resv on validation to avoid deadlock
alexsierragOct 7, 2021
60bd0a9
drm/amdgpu: fix sysfs_emit/sysfs_emit_at warnings(v2)
Sep 8, 2021
528be29
drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver
Sep 9, 2021
2c97d74
drm/amdkfd: SVM map to gpus check vma boundary
PhilipYangASep 13, 2021
1b7cac8
drm/amdkfd: ratelimited svm debug messages
PhilipYangAOct 5, 2021
0efe4ab
drm/amdkfd: handle svm partial migration cpages 0
PhilipYangAOct 5, 2021
fe0c40f
drm/amdkcl: fix dependency for HSA_AMD_SVM
fcui-amdOct 11, 2021
618513b
drm/amdkcl: fix mmu_notifier_range_blockable on rhel8.5
fcui-amdOct 11, 2021
9d2b459
drm/amdgpu: Enable GFX RAS by default
Sep 8, 2021
df11094
drm/amdkfd: unregistered svm range not overlap with TTM range
PhilipYangAOct 12, 2021
57ca141
drm/amdkfd: handle svm migrate.cpages reset to 0
PhilipYangAOct 15, 2021
2a417b7
drm/amdkfd: restore userptr ignore bad address error
PhilipYangAOct 22, 2021
5b46cf5
drm/amd/pm: Disable fan control if not supported
Oct 22, 2021
59eba1f
Fix DKMS include path parsing
tsipaOct 28, 2021
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/amdkfd: handle svm partial migration cpages 0
migrate_vma_setup may return cpages 0, means 0 page can be migrated,treat this as error case to skip the rest of vma migration steps.Change svm_migrate_vma_to_vram and svm_migrate_vma_to_ram to return thenumber of pages migrated successfully or error code. The caller add upall the successful migration pages and update prange->actual_loc only ifthe total migrated pages is not 0.This also removes the warning message "VRAM BO missing duringvalidation" if migration cpages is 0.Signed-off-by: Philip Yang <Philip.Yang@amd.com>Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
  • Loading branch information
@PhilipYangA
PhilipYangA committedOct 13, 2021
commit0efe4ab8bd908ed571890c917f2d077588d38769
86 changes: 52 additions & 34 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_migrate.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -438,7 +438,7 @@ svm_migrate_copy_to_vram(struct amdgpu_device *adev, struct svm_range *prange,
return r;
}

staticint
staticlong
svm_migrate_vma_to_vram(struct amdgpu_device *adev, struct svm_range *prange,
struct vm_area_struct *vma, uint64_t start,
uint64_t end)
Expand DownExpand Up@@ -479,32 +479,37 @@ svm_migrate_vma_to_vram(struct amdgpu_device *adev, struct svm_range *prange,
prange->start, prange->last);
goto out_free;
}
if (migrate.cpages != npages) {
pr_debug("Partial migration. 0x%lx/0x%llx pages can be migrated\n",
migrate.cpages,
npages);
}

if (migrate.cpages) {
r = svm_migrate_copy_to_vram(adev, prange, &migrate, &mfence,
scratch);
migrate_vma_pages(&migrate);
svm_migrate_copy_done(adev, mfence);
migrate_vma_finalize(&migrate);
if (migrate.cpages != npages)
pr_debug("partial migration, 0x%lx/0x%llx pages migrated\n",
migrate.cpages, npages);
else
pr_debug("0x%lx pages migrated\n", migrate.cpages);

if (!migrate.cpages) {
pr_debug("failed collect migrate sys pages [0x%lx 0x%lx]\n",
prange->start, prange->last);
goto out_free;
}

r = svm_migrate_copy_to_vram(adev, prange, &migrate, &mfence, scratch);
migrate_vma_pages(&migrate);
svm_migrate_copy_done(adev, mfence);
migrate_vma_finalize(&migrate);

svm_range_dma_unmap(adev->dev, scratch, 0, npages);
svm_range_free_dma_mappings(prange);

out_free:
kvfree(buf);
out:
if (!r) {
if (!r && migrate.cpages) {
pdd = svm_range_get_pdd_by_adev(prange, adev);
if (pdd)
WRITE_ONCE(pdd->page_in, pdd->page_in + migrate.cpages);
}

return migrate.cpages;
}
return r;
}

Expand All@@ -526,7 +531,8 @@ svm_migrate_ram_to_vram(struct svm_range *prange, uint32_t best_loc,
unsigned long addr, start, end;
struct vm_area_struct *vma;
struct amdgpu_device *adev;
int r = 0;
unsigned long cpages = 0;
long r = 0;

if (prange->actual_loc == best_loc) {
pr_debug("svms 0x%p [0x%lx 0x%lx] already on best_loc 0x%x\n",
Expand DownExpand Up@@ -558,17 +564,19 @@ svm_migrate_ram_to_vram(struct svm_range *prange, uint32_t best_loc,

next = min(vma->vm_end, end);
r = svm_migrate_vma_to_vram(adev, prange, vma, addr, next);
if (r) {
pr_debug("failed to migrate\n");
if (r < 0) {
pr_debug("failed%ldto migrate\n", r);
break;
} else {
cpages += r;
}
addr = next;
}

if (!r)
if (cpages)
prange->actual_loc = best_loc;

return r;
return r < 0 ? r : 0;
}

static void svm_migrate_page_free(struct page *page)
Expand DownExpand Up@@ -669,7 +677,7 @@ svm_migrate_copy_to_ram(struct amdgpu_device *adev, struct svm_range *prange,
return r;
}

staticint
staticlong
svm_migrate_vma_to_ram(struct amdgpu_device *adev, struct svm_range *prange,
struct vm_area_struct *vma, uint64_t start, uint64_t end)
{
Expand DownExpand Up@@ -715,29 +723,35 @@ svm_migrate_vma_to_ram(struct amdgpu_device *adev, struct svm_range *prange,
goto out_free;
}

pr_debug("cpages %ld\n", migrate.cpages);
if (migrate.cpages != npages)
pr_debug("partial migration, 0x%lx/0x%llx pages migrated\n",
migrate.cpages, npages);
else
pr_debug("0x%lx pages migrated\n", migrate.cpages);

if (migrate.cpages) {
r = svm_migrate_copy_to_ram(adev, prange, &migrate, &mfence,
scratch, npages);
migrate_vma_pages(&migrate);
svm_migrate_copy_done(adev, mfence);
migrate_vma_finalize(&migrate);
} else {
if (!migrate.cpages) {
pr_debug("failed collect migrate device pages [0x%lx 0x%lx]\n",
prange->start, prange->last);
goto out_free;
}

r = svm_migrate_copy_to_ram(adev, prange, &migrate, &mfence,
scratch, npages);
migrate_vma_pages(&migrate);
svm_migrate_copy_done(adev, mfence);
migrate_vma_finalize(&migrate);
svm_range_dma_unmap(adev->dev, scratch, 0, npages);

out_free:
kvfree(buf);
out:
if (!r) {
if (!r && migrate.cpages) {
pdd = svm_range_get_pdd_by_adev(prange, adev);
if (pdd)
WRITE_ONCE(pdd->page_out,
pdd->page_out + migrate.cpages);

return migrate.cpages;
}
return r;
}
Expand All@@ -759,7 +773,8 @@ int svm_migrate_vram_to_ram(struct svm_range *prange, struct mm_struct *mm)
unsigned long addr;
unsigned long start;
unsigned long end;
int r = 0;
unsigned long cpages = 0;
long r = 0;

if (!prange->actual_loc) {
pr_debug("[0x%lx 0x%lx] already migrated to ram\n",
Expand DownExpand Up@@ -790,18 +805,21 @@ int svm_migrate_vram_to_ram(struct svm_range *prange, struct mm_struct *mm)

next = min(vma->vm_end, end);
r = svm_migrate_vma_to_ram(adev, prange, vma, addr, next);
if (r) {
pr_debug("failed %d to migrate\n", r);
if (r < 0) {
pr_debug("failed %ld to migrate\n", r);
break;
} else {
cpages += r;
}
addr = next;
}

if (!r) {
if (cpages) {
svm_range_vram_node_free(prange);
prange->actual_loc = 0;
}
return r;

return r < 0 ? r : 0;
}

/**
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp