|
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, v6.14-rc7, v6.14-rc6, v6.14-rc5, v6.14-rc4 |
|
| #
7dc34054 |
| 19-Feb-2025 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in is_idle
Update the *handle to amdgpu_ip_block ptr for all functions pointers of is_idle.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Alex De
drm/amdgpu: update the handle ptr in is_idle
Update the *handle to amdgpu_ip_block ptr for all functions pointers of is_idle.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.14-rc3, v6.14-rc2, v6.14-rc1, v6.13, v6.13-rc7, v6.13-rc6, v6.13-rc5, v6.13-rc4, v6.13-rc3, v6.13-rc2 |
|
| #
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 ...
|
|
Revision tags: v6.13-rc1, v6.12, v6.12-rc7, v6.12-rc6, v6.12-rc5, v6.12-rc4, v6.12-rc3 |
|
| #
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 ...
|
|
Revision tags: v6.12-rc2, v6.12-rc1 |
|
| #
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 ...
|
| #
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 ...
|
| #
8231e3af |
| 17-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: clean the dummy soft_reset functions
Remove the dummy soft_reset functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <christian.
drm/amdgpu: clean the dummy soft_reset functions
Remove the dummy soft_reset functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
f13c7da1 |
| 17-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: clean the dummy wait_for_idle functions
Remove the dummy wait_for_idle functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <chri
drm/amdgpu: clean the dummy wait_for_idle functions
Remove the dummy wait_for_idle functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
aa980de3 |
| 09-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: clean the dummy suspend functions
Remove the dummy suspend functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <christian.koenig
drm/amdgpu: clean the dummy suspend functions
Remove the dummy suspend functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
fbcd0ad5 |
| 09-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: clean the dummy resume functions
Remove the dummy resume functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <christian.koenig@a
drm/amdgpu: clean the dummy resume functions
Remove the dummy resume functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
5ebdb6fd |
| 09-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: clean the dummy sw_fini functions
Remove the dummy sw_fini functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <christian.koenig
drm/amdgpu: clean the dummy sw_fini functions
Remove the dummy sw_fini functions for all ip blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
7fd12379 |
| 09-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: clean the dummy sw_init functions
Remove the dummy sw_init functions for all IP blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <christian.koenig
drm/amdgpu: clean the dummy sw_init functions
Remove the dummy sw_init functions for all IP blocks.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
7e6487ab |
| 02-Oct-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: change the comment from handle to ip_block
htmldoc generation depend upon the input arguments etc to generate the document. After update of handle to ip_block then update needs in commen
drm/amdgpu: change the comment from handle to ip_block
htmldoc generation depend upon the input arguments etc to generate the document. After update of handle to ip_block then update needs in comments too to fix the warnings.
Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected] Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Christian König <[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 ...
|
| #
7feb4f3a |
| 30-Sep-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in resume
Update the *handle to amdgpu_ip_block ptr for all functions pointers of resume.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian
drm/amdgpu: update the handle ptr in resume
Update the *handle to amdgpu_ip_block ptr for all functions pointers of resume.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
982d7f9b |
| 30-Sep-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in suspend
Update the *handle to amdgpu_ip_block ptr for all functions pointers of suspend.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christi
drm/amdgpu: update the handle ptr in suspend
Update the *handle to amdgpu_ip_block ptr for all functions pointers of suspend.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
82ae6619 |
| 30-Sep-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in wait_for_idle
Update the *handle to amdgpu_ip_block ptr for all functions pointers of wait_for_idle.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed
drm/amdgpu: update the handle ptr in wait_for_idle
Update the *handle to amdgpu_ip_block ptr for all functions pointers of wait_for_idle.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
0ef2a1e7 |
| 30-Sep-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in soft_reset
Update the *handle to amdgpu_ip_block ptr for all functions pointers of soft_reset.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: C
drm/amdgpu: update the handle ptr in soft_reset
Update the *handle to amdgpu_ip_block ptr for all functions pointers of soft_reset.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
36aa9ab9 |
| 26-Sep-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in sw_fini
update the *handle to amdgpu_ip_block ptr for all functions pointers of sw_fini.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christi
drm/amdgpu: update the handle ptr in sw_fini
update the *handle to amdgpu_ip_block ptr for all functions pointers of sw_fini.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
d5347e8d |
| 26-Sep-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in sw_init
update the *handle to amdgpu_ip_block ptr for all functions pointers of sw_init.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christi
drm/amdgpu: update the handle ptr in sw_init
update the *handle to amdgpu_ip_block ptr for all functions pointers of sw_init.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
146b085e |
| 25-Sep-2024 |
Sunil Khatri <[email protected]> |
drm/amdgpu: update the handle ptr in early_init
update the handle ptr to amdgpu_ip_block ptr for all functions pointers on early_init.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by
drm/amdgpu: update the handle ptr in early_init
update the handle ptr to amdgpu_ip_block ptr for all functions pointers on early_init.
Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.11, v6.11-rc7, v6.11-rc6, v6.11-rc5, v6.11-rc4, v6.11-rc3, v6.11-rc2, v6.11-rc1, v6.10, v6.10-rc7, v6.10-rc6, v6.10-rc5 |
|
| #
15eb8573 |
| 18-Jun-2024 |
Mario Limonciello <[email protected]> |
drm/amd: Don't initialize ISP hardware without FW
Although designs may contain an ISP IP block, the camera might be a USB camera. Because of this the ISP firmware is considered optional from amdgpu.
drm/amd: Don't initialize ISP hardware without FW
Although designs may contain an ISP IP block, the camera might be a USB camera. Because of this the ISP firmware is considered optional from amdgpu. However if the firmware doesn't get loaded the hardware should not be initialized.
Adjust the return code for early init to ensure the IP block doesn't go through the other init and fini sequences. Also decrease the message about firmware load failure to debug so it's not as alarming to users.
Acked-by: Alex Deucher <[email protected]> Reviewed-by: Pratap Nirujogi <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.10-rc4, v6.10-rc3, v6.10-rc2 |
|
| #
71fe4494 |
| 30-May-2024 |
Yang Wang <[email protected]> |
drm/amdgpu: refine isp firmware loading
refine isp firmware loading
Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deu
drm/amdgpu: refine isp firmware loading
refine isp firmware loading
Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
7c2d3112 |
| 27-May-2024 |
Pratap Nirujogi <[email protected]> |
drm/amd/amdgpu: Fix 'snprintf' output truncation warning
snprintf can truncate the output fw filename if the isp ucode_prefix exceeds 29 characters. Knowing ISP ucode_prefix is in the format isp_x_x
drm/amd/amdgpu: Fix 'snprintf' output truncation warning
snprintf can truncate the output fw filename if the isp ucode_prefix exceeds 29 characters. Knowing ISP ucode_prefix is in the format isp_x_x_x, limiting the size of ucode_prefix[] to 10 characters to fix the warning.
Fixes the below warning:
drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c: In function 'isp_early_init': drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c:192:58: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 192 | snprintf(fw_name, sizeof(fw_name), "amdgpu/%s.bin", ucode_prefix); | ^ In function 'isp_load_fw_by_psp', inlined from 'isp_early_init' at drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c:218:8: drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c:192:9: note: 'snprintf' output between 12 and 41 bytes into a destination of size 40 192 | snprintf(fw_name, sizeof(fw_name), "amdgpu/%s.bin", ucode_prefix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reported-by: kernel test robot <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Pratap Nirujogi <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.10-rc1 |
|
| #
05bafe95 |
| 17-May-2024 |
Pratap Nirujogi <[email protected]> |
drm/amd/amdgpu: Add ISP4.1.0 and ISP4.1.1 modules
Add independent IP centric modules for ISP4.1.0 and ISP4.1.1 hw blocks.
Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: P
drm/amd/amdgpu: Add ISP4.1.0 and ISP4.1.1 modules
Add independent IP centric modules for ISP4.1.0 and ISP4.1.1 hw blocks.
Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Pratap Nirujogi <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|