Skip to content

Commit ef38b4e

Browse files
committed
drm/amdgpu: drop unused structures in amdgpu_drm.h
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: 90c448f ("drm/amdgpu: add new AMDGPU_INFO subquery for userq objects") Reviewed-by: Prike Liang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 6df8e84 commit ef38b4e

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

include/uapi/drm/amdgpu_drm.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,27 +1555,6 @@ struct drm_amdgpu_info_hw_ip {
15551555
__u32 userq_num_slots;
15561556
};
15571557

1558-
/* GFX metadata BO sizes and alignment info (in bytes) */
1559-
struct drm_amdgpu_info_uq_fw_areas_gfx {
1560-
/* shadow area size */
1561-
__u32 shadow_size;
1562-
/* shadow area base virtual mem alignment */
1563-
__u32 shadow_alignment;
1564-
/* context save area size */
1565-
__u32 csa_size;
1566-
/* context save area base virtual mem alignment */
1567-
__u32 csa_alignment;
1568-
};
1569-
1570-
/* IP specific fw related information used in the
1571-
* subquery AMDGPU_INFO_UQ_FW_AREAS
1572-
*/
1573-
struct drm_amdgpu_info_uq_fw_areas {
1574-
union {
1575-
struct drm_amdgpu_info_uq_fw_areas_gfx gfx;
1576-
};
1577-
};
1578-
15791558
struct drm_amdgpu_info_num_handles {
15801559
/** Max handles as supported by firmware for UVD */
15811560
__u32 uvd_max_handles;

0 commit comments

Comments
 (0)