Files
linux/drivers/gpu/drm/amd/amdgpu
Shashank Sharma 90c448fef3 drm/amdgpu: add new AMDGPU_INFO subquery for userq objects
This patch adds a new subquery (AMDGPU_INFO_UQ_FW_AREAS) in
AMDGPU_INFO_IOCTL to get the size and alignment of shadow
and csa objects from the FW setup. This information is
required for the userqueue consumers.

V2: Added Alex's suggestions and addressed review comments:
- make this query IP specific (GFX/SDMA etc)
- give a better title (AMDGPU_INFO_UQ_METADATA)
- restructured the code as per sample code shared by Alex

V3: Split the UAPI patch from shadow_size_fn modifications
V4: Addressed review comments from UAPI review (Marek/Pierre-Eric)
    - Change the query name to AMDGPU_INFO_UQ_FW_AREAS
    - remove unused inpur parameter for AMDGPU_HW_IP*

UAPI link: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/400/

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Arvind Yadav <arvind.yadav@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-04-08 16:48:17 -04:00
..
2025-04-07 15:18:34 -04:00
2025-04-08 16:48:14 -04:00
2024-07-24 17:30:23 -04:00
2025-04-08 16:48:14 -04:00
2025-03-26 17:44:34 -04:00
2024-11-03 01:28:06 -05:00
2025-02-25 11:45:12 -05:00
2025-02-12 21:05:50 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2024-01-15 18:35:37 -05:00
2025-04-08 16:48:13 -04:00
2025-04-08 16:48:13 -04:00
2024-07-24 17:30:23 -04:00
2024-07-24 17:30:23 -04:00
2025-04-07 15:18:34 -04:00
2025-04-07 15:18:34 -04:00
2025-04-07 15:18:34 -04:00
2022-05-04 09:53:12 -04:00
2023-08-07 16:35:38 -04:00
2022-05-04 10:43:54 -04:00
2022-05-10 17:53:11 -04:00
2023-03-15 18:45:26 -04:00
2023-03-15 18:45:26 -04:00
2023-08-30 15:00:27 -04:00
2025-03-13 23:08:51 -04:00
2021-10-20 11:43:57 -04:00
2022-03-22 10:53:39 -04:00
2025-04-08 16:48:14 -04:00
2025-04-08 16:48:14 -04:00
2025-03-26 17:44:34 -04:00
2025-03-05 10:37:13 -05:00
2025-03-05 10:37:13 -05:00
2023-08-31 16:34:05 -04:00