aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-16drm/amdgpu: Load ipkeymgr drv for psp v14Hawking Zhang1-0/+15
2024-04-09drm/amdgpu: Add support for BAMACO mode checkingMa Jun1-2/+4
2024-04-09drm/amdgpu: Bypass asd if display hw is not availableHawking Zhang1-0/+5
2024-03-20drm/amdgpu: Bypass display ta if display hw is not availableHawking Zhang1-0/+18
2024-02-16drm/amdgpu: add PSP 14.0.1 supportYifan Zhang1-0/+1
2024-02-14drm/amdgpu: add psp_timeout to limit PSP related operationLikun Gao1-1/+3
2024-02-14drm/amdgpu/psp: set boot_time_tmr flagLikun Gao1-6/+8
2024-02-14drm/amdgpu/psp: handle TMR type via flagLikun Gao1-11/+13
2024-02-14drm/amdgpu/psp: set autoload support by defaultLikun Gao1-6/+5
2024-02-14drm/amdgpu: support psp ip block for psp v14Likun Gao1-0/+14
2024-02-12drm/amdgpu: add ucode id for jpeg DPG supportSaleemkhan Jamadar1-0/+3
2024-01-31drm/amdgpu: add PSP RAS address query commandTao Zhou1-0/+25
2024-01-15drm/amdgpu: Query ras capablity from psp v2Hawking Zhang1-0/+10
2024-01-15drm/amdgpu: drop psp v13 query_boot_status implementationHawking Zhang1-15/+0
2024-01-15drm/amdgpu: Replace DRM_* with dev_* in amdgpu_psp.cHawking Zhang1-69/+75
2024-01-15drm/amdgpu: add debug flag to place fw bo on vram for frontdoor loadingLe Ma1-1/+1
2024-01-15Revert "drm/amdgpu: add param to specify fw bo location for front-door loading"Le Ma1-1/+1
2024-01-05drm/amdgpu: add param to specify fw bo location for front-door loadingLe Ma1-1/+1
2023-12-13drm/amdgpu: xgmi_fill_topology_infoVignesh Chander1-2/+2
2023-11-17drm/amdgpu: add and populate the port num into xgmi topology infoShiwu Zhang1-0/+5
2023-11-03drm/amdgpu: Add psp v13 function to query boot statusHawking Zhang1-0/+15
2023-10-20drm/amdgpu: support the port num info based on the capability flagShiwu Zhang1-13/+32
2023-10-20drm/amdgpu: prepare the output buffer for GET_PEER_LINKS commandShiwu Zhang1-2/+10
2023-10-20drm/amdgpu: update the xgmi ta interface headerShiwu Zhang1-3/+3
2023-10-13drm/amd/pm: Add P2S tables for SMU v13.0.6Lijo Lazar1-0/+7
2023-10-13drm/amdgpu: Add support to load P2S tablesLijo Lazar1-0/+27
2023-09-20drm/amdgpu: Use function for IP version checkLijo Lazar1-21/+27
2023-08-31drm/amdgpu: add PSP loading support for UMSCHLang Yu1-0/+9
2023-08-31drm/amdgpu: fix VPE front door loading issueLang Yu1-0/+3
2023-08-31drm/amdgpu: add PSP FW TYPE for VPELang Yu1-0/+6
2023-08-30drm/amdgpu: Add bootloader status checkLijo Lazar1-0/+11
2023-08-07drm/amdgpu: init TA microcode for SRIOV VF when MP0 IP is 13.0.6Zhigang Luo1-0/+1
2023-08-07drm/amdgpu: Fix style issues in amdgpu_psp.cPraful Swarnakar1-12/+16
2023-07-27drm/amdgpu: add PSP 14.0.0 supportLi Ma1-0/+1
2023-07-21drm/amd: Fix an error handling mistake in psp_sw_init()Mario Limonciello1-3/+3
2023-07-12drm/amdgpu: use psp_execute_load_ip_fw insteadLang Yu1-13/+0
2023-07-12drm/amdgpu: rename psp_execute_non_psp_fw_load and make it globalLang Yu1-6/+6
2023-07-07drm/amd: Detect IFWI or PD upgrade support in psp_early_init()Mario Limonciello1-20/+25
2023-07-07drm/amd: Add documentation for how to flash a dGPUMario Limonciello1-0/+16
2023-07-07drm/amd: Convert USB-C PD F/W attributes into groupsMario Limonciello1-30/+9
2023-07-07drm/amd: Make flashing messages quieterMario Limonciello1-4/+4
2023-07-07drm/amd: Use attribute groups for PSP flashing attributesMario Limonciello1-25/+26
2023-06-30drm/amd: Don't initialize PSP twice for Navi3xMario Limonciello1-5/+0
2023-06-30drm/amd: Don't try to enable secure display TA multiple timesMario Limonciello1-0/+2
2023-06-23drm/amdgpu: Skip TMR for MP0_HWIP 13.0.6Zhigang Luo1-0/+1
2023-06-15drm/amdgpu: Optimize checking ras supportedStanley.Yang1-1/+1
2023-06-15drm/amdgpu: Add channel_dis_num to ras init flagsCandice Li1-0/+1
2023-06-15drm/amdgpu: add wait_for helper for spirom updateLikun Gao1-0/+20
2023-06-09drm/amd: Tighten permissions on VBIOS flashing attributesMario Limonciello1-2/+2
2023-06-09drm/amd: Make sure image is written to trigger VBIOS image update flowMario Limonciello1-0/+3
2023-06-09drm/amdgpu: convert vcn/jpeg logical mask to physical maskStanley.Yang1-0/+4
2023-06-09drm/amdgpu: pass xcc mask to ras taStanley.Yang1-0/+2
2023-06-09drm/amdgpu: Fix a couple of spelling mistakes in info and debug messagesColin Ian King1-1/+1
2023-06-09drm/amdgpu: add instance mask for RAS injectTao Zhou1-1/+20
2023-06-09drm/amdgpu: Add PSP supporting PSP 13.0.6 SRIOV ucode init.Gavin Wan1-0/+3
2023-06-09drm/amdgpu: Add PSP spatial parition interfaceLijo Lazar1-0/+21
2023-06-09drm/amdgpu: preserve the num_links in case of reflectionShiwu Zhang1-1/+2
2023-06-09drm/amdgpu: Handle VRAM dependencies on GFXIP9.4.3Rajneesh Bhardwaj1-2/+4
2023-06-09drm/amdgpu: Skip TMR allocation if not requiredLijo Lazar1-8/+26
2023-06-09drm/amdgpu: Skip runtime db read for PSP 13.0.6Lijo Lazar1-0/+3
2023-06-09drm/amdgpu: reflect psp xgmi topology info for gfx9.4.3Jonathan Kim1-4/+7
2023-06-09drm/amd/amdgpu: Fix style problems in amdgpu_psp.cSrinivasan Shanmugam1-31/+20
2023-04-24drm/amdgpu: support psp vbflash sysfs for MP0 13_0_10Likun Gao1-0/+1
2023-04-21drm/amdgpu: fix calltrace warning in amddrm_buddy_finiLonglong Yao1-2/+2
2023-03-27drm/amdgpu: skip unload tmr when tmr is not loadedTong Liu011-1/+9
2023-03-22drm/amdgpu: Adding CAP firmware initializationBill Liu1-0/+1
2023-03-07drm/amdgpu: Fix the warning info when removing amdgpu devicelyndonli1-16/+1
2023-03-07drm/amdgpu: add psp early init for PSP 13.0.6Hawking Zhang1-0/+1
2023-02-28drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_finiHoratio Zhang1-3/+3
2023-02-14drm/amdgpu: Fix the warning info when unload or remove amdgpuMa Jun1-1/+2
2023-02-03drm/amdgpu: always sending PSP messages LOAD_ASD and UNLOAD_TAVitaly Prosyak1-3/+13
2023-01-19drm/amd: decrease message about missing PSP runtime database to debugMario Limonciello1-1/+1
2023-01-10drm/amd: Optimize SRIOV switch/case for PSP microcode loadMario Limonciello1-7/+1
2023-01-10drm/amd: Use `amdgpu_ucode_*` helpers for PSPMario Limonciello1-59/+21
2023-01-10drm/amd: Load PSP microcode during early_initMario Limonciello1-74/+46
2023-01-10drm/amd: Avoid BUG() for case of SRIOV missing IP versionMario Limonciello1-1/+1
2023-01-10drm/amd: Parse both v1 and v2 TA microcode headers using same functionMario Limonciello1-28/+95
2023-01-05drm/amdgpu: update ta_secureDisplay_if.h to v27.00.00.08Aaron Liu1-1/+1
2023-01-03drm/amdgpu: use VRAM|GTT for a bunch of kernel allocationsChristian König1-9/+15
2022-11-29drm/amdgpu: use dev_dbg to print messages in runtime cycleGuchun Chen1-1/+1
2022-11-29drm/amdgpu: remove redundant NULL checkYushan Zhou1-20/+16
2022-11-29drm/amdgpu: enable PSP IP v13.0.11 supportTim Huang1-0/+1
2022-11-23drm/amdgpu/psp: don't free PSP buffers on suspendAlex Deucher1-7/+9
2022-11-17drm/amdgpu: make psp_ring_init commonAlex Deucher1-0/+26
2022-11-10drm/amdgpu: remove the check of init status in psp_ras_initializeTao Zhou1-5/+3
2022-10-27drm/amdgpu: Optimize TA load/unload/invoke debugfs interfacesCandice Li1-37/+1
2022-10-27drm/amdgpu: Optimize RAS TA initialization and TA unload funcsCandice Li1-2/+8
2022-10-27drm/amdgpu: Move the mutex_lock to protect the return status of securedisplay...Alan Liu1-4/+5
2022-09-19drm/amdgpu: Fixed psp fence and memory issues when removing amdgpu deviceYiPeng Chai1-0/+5
2022-09-13drm/amdgpu: added support for ras driver loadingJohn Clements1-0/+15
2022-09-13drm/amdgpu: change the alignment size of TMR BO to 1MYang Wang1-1/+1
2022-09-07drm/amdgpu: prevent toc firmware memory leakGuchun Chen1-2/+5
2022-09-01drm/amdgpu: Support PSP 13.0.10 on SR-IOVHorace Chen1-2/+10
2022-09-01drm/amdgpu: refine virtualization psp fw skip checkHorace Chen1-14/+3
2022-09-01drm/amd/amdgpu: skip ucode loading if ucode_size == 0Chengming Gui1-1/+1
2022-08-29drm/amdgpu: support psp v13_0_10 ip blockFrank Min1-0/+1
2022-08-25drm/amdgpu: use dev_info to benefit mGPU caseGuchun Chen1-1/+1
2022-08-22drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to ps...YiPeng Chai1-0/+3
2022-07-29drm/amdgpu: enable support for psp 13.0.4 blockXiaojian Du1-0/+13
2022-07-28drm/amdgpu: fix hive reference leak when reflecting psp topology infoJonathan Kim1-0/+2
2022-07-25drm/amd/amdgpu: add TAP_DELAYS upload support for gfx10Chengming Gui1-0/+15
2022-07-18drm/amdgpu: skip SMU FW reloading in runpm BACO caseGuchun Chen1-0/+7
2022-05-26drm/amdgpu: Resolve pcie_bif RAS recovery bugCandice Li1-1/+1
2022-05-10drm/amdgpu/psp: Return failure when firmware failed to load in SRIOVAlice Wong1-3/+4
2022-05-10drm/amdgpu: add sysfs to shows psp vbflash statusLikun Gao1-0/+25
2022-05-10drm/amdgpu/psp: Add vbflash sysfs interface supportLikun Gao1-0/+117
2022-05-05drm/amdgpu/psp13: add support for MP0 13.0.7Chengming Gui1-0/+2
2022-05-04drm/amdgpu: add convert for new gfx typeLikun Gao1-0/+33
2022-05-04drm/amdgpu: support IMU front door loadLikun Gao1-0/+6
2022-05-04drm/amdgpu: support for new SDMA front door loadLikun Gao1-0/+6
2022-05-04drm/amdgpu: support RLCV firmware front door loadLikun Gao1-0/+3
2022-05-04drm/amdgpu: support RLCP firmware front door loadLikun Gao1-0/+3
2022-05-04drm/amdgpu: add mes kiq PSP GFX FW typeLikun Gao1-0/+6
2022-05-04drm/amdgpu: enable pptable ucode loadingEvan Quan1-0/+3
2022-05-04drm/amdgpu: add tracking for the enablement of SCPMLikun Gao1-1/+27
2022-05-04drm/amdgpu: support psp v13_0_0 microcode initLikun Gao1-0/+5
2022-05-04drm/amdgpu/psp: deallocate memory when psp_load_fw failedAlice Wong1-9/+12
2022-05-04drm/amdgpu/psp: move shared buffer frees into single functionAlex Deucher1-59/+55
2022-05-04drm/amdgpu/psp: fix memory leak in terminate functionsAlex Deucher1-21/+13
2022-05-04drm/amdgpu/psp: drop load/unload/init_shared_buf wrappersAlex Deucher1-122/+21
2022-05-04drm/amdgpu/psp: move PSP memory alloc from hw_init to sw_initAlex Deucher1-48/+47
2022-04-22drm/amdgpu: Ta fw needs to be loaded for SRIOV aldebaranDavid Yu1-0/+1
2022-04-21drm/amdgpu: Use indirect buffer and save response status for TA load/invokeCandice Li1-8/+46
2022-03-15drm/amdgpu: fix aldebaran xgmi topology for vfJonathan Kim1-2/+4
2022-03-04drm/amdgpu: Add DFC CAP support for aldebaranDavid Yu1-1/+1
2022-02-18drm/amdgpu: add support for psp 13.0.5Yifan Zhang1-0/+1
2022-02-16drm/amdgpu/psp: Add support for MP0 13.0.8Prike Liang1-0/+1
2022-02-16drm/amdgpu: make cyan skillfish support code more consistentAlex Deucher1-2/+1
2022-02-11drm/amdgpu: add support for GC 10.1.4Lang Yu1-1/+2
2022-01-18amdgpu/amdgpu_psp: remove unneeded ret variableMinghao Chi1-5/+1
2022-01-18drm/amdgpu: handle denied inject error into critical regions v2Stanley.Yang1-1/+8
2022-01-14drm/amdgpu: Add interface to load SRIOV cap FWBokun Zhang1-13/+95
2021-12-14drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOVJingwen Chen1-0/+4
2021-12-13drm/amdgpu: added PSP XGMI initialization for SRIOV VF during recoverZhigang Luo1-0/+12
2021-12-01drm/amdgpu: declare static function to fix compiler warningGuchun Chen1-1/+1
2021-10-28drm/amdgpu: Update TA version output in driverCandice Li1-7/+7
2021-10-19drm/amdgpu: output warning for unsupported ras error inject (v2)Tao Zhou1-0/+4
2021-10-19drm/amdgpu: centralize checking for RAS TA statusTao Zhou1-4/+20
2021-10-19drm/amdgpu: load PSP RL in resume pathTao Zhou1-0/+6
2021-10-13drm/amdgpu/psp: add some missing cases to psp_check_pmfw_centralized_cstate_m...Alex Deucher1-1/+2
2021-10-08drm/amdgpu: use adev_to_drm for consistency when accessing drm_deviceGuchun Chen1-2/+2
2021-10-04drm/amdgpu: convert IP version array to include instancesAlex Deucher1-17/+17
2021-10-04drm/amdgpu/amdgpu_psp: convert to IP version checkingAlex Deucher1-43/+58
2021-09-28drm/amdgpu: set poison supported flag for RAS (v2)Tao Zhou1-2/+2
2021-09-28drm/amdgpu: Update PSP TA Invoke to use common TA context as inputCandice Li1-8/+8
2021-09-23drm/amdgpu: Consolidate RAS cmd warning messagesJohn Clements1-6/+6
2021-09-23drm/amdgpu: Update PSP TA unload functionCandice Li1-10/+10
2021-09-23drm/amdgpu: Conform ASD header/loading to generic TA systemsCandice Li1-37/+23
2021-09-14drm/amdgpu: Unify PSP TA contextCandice Li1-59/+63
2021-09-14drm/amdgpu: Update RAS status printJohn Clements1-27/+10
2021-09-07drm/amdgpu: Create common PSP TA load functionCandice Li1-197/+83
2021-09-01drm/amd/amdgpu: consolidate PSP TA unload functionCandice Li1-120/+40
2021-08-30drm/amdgpu: show both cmd id and name when psp cmd failedLang Yu1-4/+4
2021-08-24drm/amd/amdgpu: consolidate PSP TA init shared buf functionsCandice Li1-99/+43
2021-08-18drm/amd: consolidate TA shared memory structuresCandice Li1-109/+109
2021-08-18drm/amdgpu: get extended xgmi topology dataJonathan Kim1-9/+83
2021-08-16drm/amd/amdgpu: consolidate PSP TA contextCandice Li1-81/+81
2021-08-05drm/amdgpu: added synchronization for psp cmd buf accessJohn Clements1-66/+139
2021-08-05drm/amd/amdgpu: remove redundant host to psp cmd buf allocationsCandice Li1-161/+66
2021-08-05gpu/drm/amd: Remove duplicated include of drm_drv.hzhouchuangao1-2/+0
2021-07-28drm/amdgpu: Added support for added psp driver binaries FWJohn Clements1-1/+46
2021-07-28drm/amdgpu: Added latest PSP FW headerJohn Clements1-2/+79
2021-07-23drm/amdgpu: enable psp v11.0.8 for cyan_skillfishLang Yu1-0/+8
2021-07-23drm/amdgpu: init psp v11.0.8 function for cyan_skillfishLang Yu1-0/+7
2021-07-23drm/amdgpu: adjust fw_name string length for tocLang Yu1-1/+1
2021-07-23drm/amd/amdgpu: add consistent PSP FW loading size checkingCandice Li1-49/+59
2021-07-23drm/amdgpu: Change a few function namesOak Zeng1-8/+8
2021-07-23drm/amdgpu: add psp command to get num xgmi links between direct peersJonathan Kim1-0/+23
2021-07-16drm/amdgpu: Switch to VRAM buffer for USBC PD FW.Andrey Grodzovsky1-20/+13
2021-07-01drm/amdgpu: show explicit name instead of id in psp_cmd_submit_bufLang Yu1-4/+4
2021-07-01drm/amdgpu: add function to show psp_gfx_cmd name via idLang Yu1-0/+38
2021-06-15drm/amdgpu: correct psp ucode arrary start addressHawking Zhang1-9/+14
2021-06-11drm/amdgpu: disable DRAM memory training when GECC is enabledHawking Zhang1-13/+34
2021-06-11drm/amdgpu: cache psp runtime boot_cfg_bitmask in sw_intHawking Zhang1-0/+7
2021-06-11drm/amdgpu: add helper function to query psp runtime db entry (v2)Hawking Zhang1-0/+68
2021-06-11drm/amdgpu: enable dynamic GECC support (v2)Hawking Zhang1-10/+47
2021-06-11drm/amdgpu: add helper function to query gecc status in boot configHawking Zhang1-0/+23
2021-06-11drm/amdgpu: allow different boot configsHawking Zhang1-4/+4
2021-06-11drm/amd/pm: drop the incomplete fix for Navi14 runpm issueEvan Quan1-4/+1
2021-06-10drm/amdgpu: Added support for loading auxiliary PSP FWJohn Clements1-8/+46
2021-06-10drm/amdgpu: Updated fw header structure sourceJohn Clements1-20/+20
2021-06-08drm/amdgpu: Use PSP to program IH_RB_CNTL_RING1/2 on SRIOVRohit Khaire1-0/+2
2021-06-08drm/amdgpu: allocate psp fw private buffer from VRAM for sriov vfZhigang Luo1-5/+14
2021-06-08drm/amdgpu: add psp ta microcode init for aldebaran sriov vfZhigang Luo1-0/+6
2021-06-04drm/amdgpu: enable psp_v13 for yellow carpAaron Liu1-0/+4
2021-06-04drm/amdgpu: Don't flush/invalidate HDP for APUs and A+AEric Huang1-3/+3
2021-05-25drm/amdgpu: Rename flag which prevents HW accessAndrey Grodzovsky1-2/+2
2021-05-22Merge drm/drm-next into drm-misc-nextThomas Zimmermann1-41/+43
2021-05-19drm/amdgpu: Guard against write accesses after device removalAndrey Grodzovsky1-24/+40
2021-05-19drm/amd/amdgpu: add psp support for beige_gobyChengming Gui1-0/+1
2021-05-19drm/amdgpu: query boot config cap before issue psp cmdHawking Zhang1-4/+6
2021-05-10drm/amdgpu: covert ras status to kernel errnoDennis Li1-2/+27
2021-05-10drm/amdgpu: Rename to ras_*_enabledLuben Tuikov1-1/+1
2021-05-10drm/amdgpu: Remove redundant ras->supportedLuben Tuikov1-1/+1
2021-05-10drm/amdgpu: Add Aldebaran virtualization supportZhigang Luo1-0/+1
2021-04-28drm/amdgpu/sriov: Remove clear vf fw supportVictor Zhao1-32/+0
2021-04-23drm/amdgpu: add support for ras init flagsJohn Clements1-2/+7
2021-04-20Revert "drm/amdgpu: workaround the TMR MC address issue (v2)"Oak Zeng1-10/+0
2021-04-15drm/amd/sriov no need to config GECC for sriovJack Zhang1-1/+1
2021-04-15drm/amdgpu: Introduce new SETUP_TMR interfaceOak Zeng1-3/+9