mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 00:55:48 -04:00
drm/amd/display: Add DMCU firmware version
Read the version number from the common firmware header and store it in the dm struct Signed-off-by: David Francis <David.Francis@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
56ea097600
commit
ee6e89c0f1
@@ -589,6 +589,8 @@ static int load_dmcu_fw(struct amdgpu_device *adev)
|
||||
adev->firmware.fw_size +=
|
||||
ALIGN(le32_to_cpu(hdr->intv_size_bytes), PAGE_SIZE);
|
||||
|
||||
adev->dm.dmcu_fw_version = le32_to_cpu(hdr->header.ucode_version);
|
||||
|
||||
DRM_DEBUG_KMS("PSP loading DMCU firmware\n");
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user