Skip to content

amdgpu: sync up amdgpu_drm.h with latest from kernel

Jiawei Gu requested to merge jiaweigu/drm:vbios_ioctl into main

From drm-next:

commit 17f99c747e7c3861a0eed12ab3f7a9233292eac9 Author: Jiawei Gu Jiawei.Gu@amd.com Date: Thu May 20 10:37:28 2021 +0800

drm/amdgpu: Add vbios info ioctl interface

Add AMDGPU_INFO_VBIOS_INFO subquery id for detailed vbios info.

Provides a way for the user application to get the VBIOS
information without having to parse the binary.
It is useful for the user to be able to display in a simple way the VBIOS
version in their system if they happen to encounter an issue.

V2:
Use numeric serial.
Parse and expose vbios version string.

V3:
Remove redundant data in drm_amdgpu_info_vbios struct.

V4:
64 bit alignment in drm_amdgpu_info_vbios.

Signed-off-by: Jiawei Gu Jiawei.Gu@amd.com

Merge request reports

Loading