|
Revision tags: v6.15, v6.15-rc7, v6.15-rc6, v6.15-rc5, v6.15-rc4, v6.15-rc3, v6.15-rc2, v6.15-rc1, v6.14 |
|
| #
0a59fbd5 |
| 17-Mar-2025 |
Ahmad Rehman <[email protected]> |
drm/amdgpu: Add support to load PSP TA v13.0.12 for SRIOV
Add case for 13.0.12.
Signed-off-by: Ahmad Rehman <[email protected]> Reviewed-by: [email protected] Signed-off-by: Alex Deucher <alex
drm/amdgpu: Add support to load PSP TA v13.0.12 for SRIOV
Add case for 13.0.12.
Signed-off-by: Ahmad Rehman <[email protected]> Reviewed-by: [email protected] Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.14-rc7 |
|
| #
a5f7e90f |
| 12-Mar-2025 |
Candice Li <[email protected]> |
drm/amdgpu: Add active_umc_mask to ras init_flags
Add active_umc_mask to ras init_flags.
Signed-off-by: Candice Li <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off
drm/amdgpu: Add active_umc_mask to ras init_flags
Add active_umc_mask to ras init_flags.
Signed-off-by: Candice Li <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.14-rc6, v6.14-rc5, v6.14-rc4, v6.14-rc3, v6.14-rc2, v6.14-rc1, v6.13, v6.13-rc7, v6.13-rc6, v6.13-rc5, v6.13-rc4 |
|
| #
2d0f5001 |
| 16-Dec-2024 |
Thomas Weißschuh <[email protected]> |
drm/amdgpu: Constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be moved into read-only memory. Make use of that to protect them against accidental or ma
drm/amdgpu: Constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be moved into read-only memory. Make use of that to protect them against accidental or malicious modifications.
Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Link: https://lore.kernel.org/r/20241216-sysfs-const-bin_attr-drm-v1-4-210f2b36b9bf@weissschuh.net Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| #
76b1f8b3 |
| 11-Feb-2025 |
Candice Li <[email protected]> |
drm/amdgpu: Optimize the enablement of GECC
Enable GECC only when the default memory ECC mode or the module parameter amdgpu_ras_enable is activated.
v2: Add kernel message to remind users explicit
drm/amdgpu: Optimize the enablement of GECC
Enable GECC only when the default memory ECC mode or the module parameter amdgpu_ras_enable is activated.
v2: Add kernel message to remind users explicitly set amdgpu_ras_enable=1 before driver loading to enable GECC and set amdgpu_ras_enable=0 to disable GECC when GECC is currently enabled if needed.
Signed-off-by: Candice Li <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
16a5a8fe |
| 11-Feb-2025 |
Ying Li <[email protected]> |
drm/amd/amdgpu: add support for IP version 11.5.2
This initializes drm/amd/amdgpu version 11.5.2
Signed-off-by: YING LI <[email protected]> Reviewed-by: Mario Limonciello <[email protected]>
drm/amd/amdgpu: add support for IP version 11.5.2
This initializes drm/amd/amdgpu version 11.5.2
Signed-off-by: YING LI <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
e92f3f94 |
| 07-Feb-2025 |
Jiang Liu <[email protected]> |
drm/amdgpu: reset psp->cmd to NULL after releasing the buffer
Reset psp->cmd to NULL after releasing the buffer in function psp_sw_fini().
Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by
drm/amdgpu: reset psp->cmd to NULL after releasing the buffer
Reset psp->cmd to NULL after releasing the buffer in function psp_sw_fini().
Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Jiang Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.13-rc3, v6.13-rc2, v6.13-rc1, v6.12, v6.12-rc7, v6.12-rc6, v6.12-rc5 |
|
| #
b3dd2903 |
| 22-Oct-2024 |
Shiwu Zhang <[email protected]> |
drm/amdgpu: Enable IFWI update support with PSPv13.0.12
Make psp_vbflash_status and psp_vbflash available in sysfs
Signed-off-by: Shiwu Zhang <[email protected]> Reviewed-by: Hawking Zhang <Hawki
drm/amdgpu: Enable IFWI update support with PSPv13.0.12
Make psp_vbflash_status and psp_vbflash available in sysfs
Signed-off-by: Shiwu Zhang <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
667b9613 |
| 19-Nov-2024 |
Shiwu Zhang <[email protected]> |
drm/amdgpu: enlarge the VBIOS binary size limit
Some chips have a larger VBIOS file so raise the size limit to support the flashing tool.
Signed-off-by: Shiwu Zhang <[email protected]> Reviewed-b
drm/amdgpu: enlarge the VBIOS binary size limit
Some chips have a larger VBIOS file so raise the size limit to support the flashing tool.
Signed-off-by: Shiwu Zhang <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
e55565f8 |
| 24-Dec-2024 |
Tim Huang <[email protected]> |
drm/amdgpu: add support for PSP IP version 14.0.5
This initializes PSP IP version 14.0.5.
Signed-off-by: Tim Huang <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Signed-off-by:
drm/amdgpu: add support for PSP IP version 14.0.5
This initializes PSP IP version 14.0.5.
Signed-off-by: Tim Huang <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
a0a455b4 |
| 07-Feb-2025 |
Jiang Liu <[email protected]> |
drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode()
In function psp_init_cap_microcode(), it should bail out when failed to load firmware, otherwise it may cause invalid memory a
drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode()
In function psp_init_cap_microcode(), it should bail out when failed to load firmware, otherwise it may cause invalid memory access.
Fixes: 07dbfc6b102e ("drm/amd: Use `amdgpu_ucode_*` helpers for PSP") Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Jiang Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
85b73415 |
| 06-Jan-2025 |
Victor Zhao <[email protected]> |
drm/amdgpu: fill the ucode bo during psp resume for SRIOV
refill the ucode bo during psp resume for SRIOV, otherwise ucode load will fail after VM hibernation and fb clean.
Signed-off-by: Victor Zh
drm/amdgpu: fill the ucode bo during psp resume for SRIOV
refill the ucode bo during psp resume for SRIOV, otherwise ucode load will fail after VM hibernation and fb clean.
Signed-off-by: Victor Zhao <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
edec9b06 |
| 08-Jan-2025 |
Jiang Liu <[email protected]> |
drm/amdgpu: wrong array index to get ip block for PSP
The adev->ip_blocks array is not indexed by AMD_IP_BLOCK_TYPE_xxx, instead we should call amdgpu_device_ip_get_ip_block() to get the correspondi
drm/amdgpu: wrong array index to get ip block for PSP
The adev->ip_blocks array is not indexed by AMD_IP_BLOCK_TYPE_xxx, instead we should call amdgpu_device_ip_get_ip_block() to get the corresponding IP block oject.
Fix some checkpatch issues (Alex)
Signed-off-by: Jiang Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.12-rc4, v6.12-rc3, v6.12-rc2, v6.12-rc1, v6.11, v6.11-rc7, v6.11-rc6, v6.11-rc5, v6.11-rc4, v6.11-rc3 |
|
| #
98230feb |
| 08-Aug-2024 |
Hawking Zhang <[email protected]> |
drm/amdgpu: Load spdm_drv for psp v13_0_12
spdm_drv is a firmware that needs to be loaded in driver initialization phase.
Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Laza
drm/amdgpu: Load spdm_drv for psp v13_0_12
spdm_drv is a firmware that needs to be loaded in driver initialization phase.
Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.11-rc2, v6.11-rc1, v6.10, v6.10-rc7, v6.10-rc6, v6.10-rc5, v6.10-rc4, v6.10-rc3, v6.10-rc2, v6.10-rc1 |
|
| #
2d2f1622 |
| 16-May-2024 |
Le Ma <[email protected]> |
drm/amdgpu: add psp 13_0_12 version support
Add support for new psp 13_0_12 version
Signed-off-by: Le Ma <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <al
drm/amdgpu: add psp 13_0_12 version support
Add support for new psp 13_0_12 version
Signed-off-by: Le Ma <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
ea5d4934 |
| 03-Dec-2024 |
Mario Limonciello <[email protected]> |
drm/amd: Add the capability to mark certain firmware as "required"
Some of the firmware that is loaded by amdgpu is not actually required. For example the ISP firmware on some SoCs is optional, and
drm/amd: Add the capability to mark certain firmware as "required"
Some of the firmware that is loaded by amdgpu is not actually required. For example the ISP firmware on some SoCs is optional, and if it's not present the ISP IP block just won't be initialized.
The firmware loader core however will show a warning when this happens like this: ``` Direct firmware load for amdgpu/isp_4_1_0.bin failed with error -2 ```
To avoid confusion for non-required firmware, adjust the amd-ucode helper to take an extra argument indicating if the firmware is required or optional.
On optional firmware use firmware_request_nowarn() instead of request_firmware() to avoid the warnings.
Reviewed-by: Alex Deucher <[email protected]> Link: https://lore.kernel.org/amd-gfx/[email protected]/T/#t Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
e1a34ed9 |
| 28-Nov-2024 |
Jinzhou Su <[email protected]> |
drm/amdgpu: Add secure display v2 command
Add secure display v2 command to support multiple ROI instances per display.
v2: fix typo and coding style issue
Signed-off-by: Wayne Lin <[email protected]
drm/amdgpu: Add secure display v2 command
Add secure display v2 command to support multiple ROI instances per display.
v2: fix typo and coding style issue
Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Jinzhou Su <[email protected]> Reviewed-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
f2ba8c3d |
| 07-Oct-2024 |
Boyuan Zhang <[email protected]> |
drm/amdgpu: pass ip_block in set_clockgating_state
Pass ip_block instead of adev in set_clockgating_state() callback functions. Modify set_clockgating_state()for all correspoding ip blocks.
v2: rem
drm/amdgpu: pass ip_block in set_clockgating_state
Pass ip_block instead of adev in set_clockgating_state() callback functions. Modify set_clockgating_state()for all correspoding ip blocks.
v2: remove all changes for is_idle(), remove type casting
Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Sunil Khatri <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
80d80511 |
| 29-Sep-2024 |
Boyuan Zhang <[email protected]> |
drm/amdgpu: pass ip_block in set_powergating_state
Pass ip_block instead of adev in set_powergating_state callback function. Modify set_powergating_state ip functions for all correspoding ip blocks.
drm/amdgpu: pass ip_block in set_powergating_state
Pass ip_block instead of adev in set_powergating_state callback function. Modify set_powergating_state ip functions for all correspoding ip blocks.
v2: fix a ip block index error.
v3: remove type casting
Signed-off-by: Boyuan Zhang <[email protected]> Suggested-by: Christian König <[email protected]> Acked-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Sunil Khatri <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
b626816f |
| 03-Nov-2024 |
Thomas Weißschuh <[email protected]> |
sysfs: treewide: constify attribute callback of bin_is_visible()
The is_bin_visible() callbacks should not modify the struct bin_attribute passed as argument. Enforce this by marking the argument as
sysfs: treewide: constify attribute callback of bin_is_visible()
The is_bin_visible() callbacks should not modify the struct bin_attribute passed as argument. Enforce this by marking the argument as const.
As there are not many callback implementers perform this change throughout the tree at once.
Signed-off-by: Thomas Weißschuh <[email protected]> Acked-by: Martin K. Petersen <[email protected]> Acked-by: Jason Gunthorpe <[email protected]> Acked-by: Ira Weiny <[email protected]> Acked-by: Krzysztof Wilczyński <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| #
12e5df81 |
| 17-Oct-2024 |
Candice Li <[email protected]> |
drm/amdgpu: Add nps_mode in RAS init_flag
Add nps_mode in RAS init_flag.
Signed-off-by: Candice Li <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <alexan
drm/amdgpu: Add nps_mode in RAS init_flag
Add nps_mode in RAS init_flag.
Signed-off-by: Candice Li <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
ea9d8863 |
| 25-Oct-2024 |
Le Ma <[email protected]> |
drm/amdgpu: add generic func to check if ta fw is applicable
Separated xgmi ta is required for specific APU, and driver needs parse the ta binary properly with aux xgmi ta packed.
v2: make the chec
drm/amdgpu: add generic func to check if ta fw is applicable
Separated xgmi ta is required for specific APU, and driver needs parse the ta binary properly with aux xgmi ta packed.
v2: make the check function more generic (Lijo)
Signed-off-by: Le Ma <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
0016e870 |
| 17-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: Clean the functions pointer set as NULL
We dont need to set the functions to NULL which arent needed as global structure members are by default set to zero or NULL for pointers.
Cc: Leo
drm/amdgpu: Clean the functions pointer set as NULL
We dont need to set the functions to NULL which arent needed as global structure members are by default set to zero or NULL for pointers.
Cc: Leo Liu <[email protected]> Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
212cc241 |
| 19-Sep-2024 |
Rajneesh Bhardwaj <[email protected]> |
drm/amdgpu: Add PSP interface for NPS switch
Implement PSP ring command interface for memory partitioning on the fly on the supported asics.
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.
drm/amdgpu: Add PSP interface for NPS switch
Implement PSP ring command interface for memory partitioning on the fly on the supported asics.
Signed-off-by: Rajneesh Bhardwaj <[email protected]> Reviewed-by: Feifei Xu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
692d2cd1 |
| 02-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in hw_fini
Update the *handle to amdgpu_ip_block ptr for all functions pointers of hw_fini.
Also update the ip_block ptr where ever needed as there were cyclic dep
drm/amdgpu: update the handle ptr in hw_fini
Update the *handle to amdgpu_ip_block ptr for all functions pointers of hw_fini.
Also update the ip_block ptr where ever needed as there were cyclic dependency of hw_fini on suspend and some followed clean up.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
58608034 |
| 01-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in hw_init
Update the *handle to amdgpu_ip_block ptr for all functions pointers of hw_init.
Also update the ip_block ptr where ever needed as there were cyclic dep
drm/amdgpu: update the handle ptr in hw_init
Update the *handle to amdgpu_ip_block ptr for all functions pointers of hw_init.
Also update the ip_block ptr where ever needed as there were cyclic dependency of hw_init on resume.
v2: squash in isp fix
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|