Skip to content

Commit 06cce38

Browse files
Lijo Lazaralexdeucher
authored andcommitted
Revert "drm/amdgpu: Report vbios version instead of PN"
This reverts commit 7748ce5. vbios_version sysfs node is used to identify Part Number also. Revert to the same so that it doesn't break scripts/software which parse this. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 6f6583e commit 06cce38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ static ssize_t amdgpu_atombios_get_vbios_version(struct device *dev,
17761776
struct amdgpu_device *adev = drm_to_adev(ddev);
17771777
struct atom_context *ctx = adev->mode_info.atom_context;
17781778

1779-
return sysfs_emit(buf, "%s\n", ctx->vbios_ver_str);
1779+
return sysfs_emit(buf, "%s\n", ctx->vbios_pn);
17801780
}
17811781

17821782
static DEVICE_ATTR(vbios_version, 0444, amdgpu_atombios_get_vbios_version,

0 commit comments

Comments
 (0)