diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-07-18 13:02:58 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-21 16:52:24 -0400 |
commit | adf64e214280a0230af0638c1825b3812421c958 (patch) | |
tree | f1c919a426664a2c80c1d2e3638f703441659569 /drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | |
parent | 18cf073faaa9467d92164dbd4722cf775766860a (diff) |
drm/amd: Avoid reading the VBIOS part number twice
The VBIOS part number is read both in amdgpu_atom_parse() as well
as in atom_get_vbios_pn() and stored twice in the `struct atom_context`
structure. Remove the first unnecessary read and move the `pr_info`
line from that read into the second.
v2: squash in unused variable removal
Signed-off-by: Mario Limonciello <mario.limonciello@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_v4_0.c')
0 files changed, 0 insertions, 0 deletions