summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2023-06-15 11:43:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-06-23 22:35:26 +0300
commit184d83848242b2465b466a0a8e6eb58f1df10407 (patch)
tree083bd1a399fd3a742206d3ebaf8db891d7bf3b7d /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
parentc09b3bf7363db982b17950b8e4f27b0564817301 (diff)
downloadlinux-184d83848242b2465b466a0a8e6eb58f1df10407.tar.xz
drm/amdgpu: Add vbios attribute only if supported
Not all devices carry VBIOS version information. Add the device attribute only if supported. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Le Ma <le.ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
index 4153d520e2a3..b639a80ee3fc 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
@@ -217,5 +217,6 @@ int amdgpu_atombios_get_data_table(struct amdgpu_device *adev,
void amdgpu_atombios_fini(struct amdgpu_device *adev);
int amdgpu_atombios_init(struct amdgpu_device *adev);
+int amdgpu_atombios_sysfs_init(struct amdgpu_device *adev);
#endif