]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amdgpu: drop unused structures in amdgpu_drm.h
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Oct 2025 20:40:57 +0000 (16:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Oct 2025 14:24:34 +0000 (16:24 +0200)
[ Upstream commit ef38b4eab146715bc68d45029257f5e69ea3f2cd ]

These were never used and are duplicated with the
interface that is used.  Maybe leftovers from a previous
revision of the patch that added them.

Fixes: 90c448fef312 ("drm/amdgpu: add new AMDGPU_INFO subquery for userq objects")
Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/uapi/drm/amdgpu_drm.h

index bdedbaccf776db0c86cec939725a435c37f09f77..0b3827cd6f4a3856800496722d0afedac0f8c02a 100644 (file)
@@ -1497,27 +1497,6 @@ struct drm_amdgpu_info_hw_ip {
        __u32  userq_num_slots;
 };
 
-/* GFX metadata BO sizes and alignment info (in bytes) */
-struct drm_amdgpu_info_uq_fw_areas_gfx {
-       /* shadow area size */
-       __u32 shadow_size;
-       /* shadow area base virtual mem alignment */
-       __u32 shadow_alignment;
-       /* context save area size */
-       __u32 csa_size;
-       /* context save area base virtual mem alignment */
-       __u32 csa_alignment;
-};
-
-/* IP specific fw related information used in the
- * subquery AMDGPU_INFO_UQ_FW_AREAS
- */
-struct drm_amdgpu_info_uq_fw_areas {
-       union {
-               struct drm_amdgpu_info_uq_fw_areas_gfx gfx;
-       };
-};
-
 struct drm_amdgpu_info_num_handles {
        /** Max handles as supported by firmware for UVD */
        __u32  uvd_max_handles;