diff options
author | Jiawei Gu <Jiawei.Gu@amd.com> | 2021-04-14 11:44:36 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-02 05:55:39 +0300 |
commit | 29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5 (patch) | |
tree | 3c28ac353830cc8a564fea5d97265d01d1d48f1d /drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | |
parent | 915821a744d9320e1722e40ea02254360c7fcbd5 (diff) | |
download | linux-29b4c589b43d8dc0c0a5342cd2ac5da6ec1116b5.tar.xz |
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.
v5: squash together all the reverts, etc. (Alex)
Signed-off-by: Jiawei Gu <Jiawei.Gu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c')
0 files changed, 0 insertions, 0 deletions